Skip to content

Commit 2a26424

Browse files
maxwxyzchennes
authored andcommitted
change default shape color
1 parent 62c8469 commit 2a26424

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

src/Gui/PreferencePackTemplates/Window_Colors.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<FCUInt Name="BacklightColor" Value="4294967295"/>
1313
<FCInt Name="BacklightIntensity" Value="100"/>
1414
<FCUInt Name="BoundingBoxColor" Value="4294967295"/>
15-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
15+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
1616
<FCInt Name="DefaultShapeTransparency" Value="0"/>
1717
<FCBool Name="EnableBacklight" Value="0"/>
1818
<FCBool Name="Gradient" Value="1"/>

src/Gui/PreferencePacks/Classic/Classic.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<FCUInt Name="BackgroundColor4" Value="1869583359"/>
129129
<FCUInt Name="HighlightColor" Value="3789624575"/>
130130
<FCUInt Name="SelectionColor" Value="481107199"/>
131-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
131+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
132132
</FCParamGroup>
133133
<FCParamGroup Name="TreeView">
134134
<FCUInt Name="TreeEditColor" Value="4294902015"/>

src/Gui/PreferencePacks/Dark behave/Dark behave.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<FCUInt Name="BackgroundColor4" Value="2088533247"/>
9090
<FCUInt Name="HighlightColor" Value="327679"/>
9191
<FCUInt Name="SelectionColor" Value="16711935"/>
92-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
92+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
9393
</FCParamGroup>
9494
<FCParamGroup Name="TreeView">
9595
<FCUInt Name="TreeEditColor" Value="1434171135"/>

src/Gui/PreferencePacks/Dark contrast/Dark contrast.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<FCUInt Name="BackgroundColor4" Value="2088533247"/>
9090
<FCUInt Name="HighlightColor" Value="327679"/>
9191
<FCUInt Name="SelectionColor" Value="16711935"/>
92-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
92+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
9393
</FCParamGroup>
9494
<FCParamGroup Name="TreeView">
9595
<FCUInt Name="TreeEditColor" Value="1434171135"/>

src/Gui/PreferencePacks/Dark modern/Dark modern.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<FCUInt Name="BackgroundColor4" Value="2088533247"/>
9090
<FCUInt Name="HighlightColor" Value="327679"/>
9191
<FCUInt Name="SelectionColor" Value="16711935"/>
92-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
92+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
9393
</FCParamGroup>
9494
<FCParamGroup Name="TreeView">
9595
<FCUInt Name="TreeEditColor" Value="1434171135"/>

src/Gui/PreferencePacks/Dark/Dark.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<FCUInt Name="BackgroundColor4" Value="2088533247"/>
9090
<FCUInt Name="HighlightColor" Value="327679"/>
9191
<FCUInt Name="SelectionColor" Value="16711935"/>
92-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
92+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
9393
</FCParamGroup>
9494
<FCParamGroup Name="TreeView">
9595
<FCUInt Name="TreeEditColor" Value="1434171135"/>

src/Gui/PreferencePacks/Darker/Darker.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<FCUInt Name="BackgroundColor4" Value="2088533247"/>
9090
<FCUInt Name="HighlightColor" Value="327679"/>
9191
<FCUInt Name="SelectionColor" Value="16711935"/>
92-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
92+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
9393
</FCParamGroup>
9494
<FCParamGroup Name="TreeView">
9595
<FCUInt Name="TreeEditColor" Value="1434171135"/>

src/Gui/PreferencePacks/Light modern/Light modern.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<FCUInt Name="BackgroundColor4" Value="3284386815"/>
5353
<FCUInt Name="BacklightColor" Value="4294967295"/>
5454
<FCUInt Name="BoundingBoxColor" Value="4294967295"/>
55-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
55+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
5656
<FCUInt Name="HighlightColor" Value="327679"/>
5757
<FCUInt Name="SelectionColor" Value="16711935"/>
5858
</FCParamGroup>

src/Gui/PreferencePacks/Light/Light.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<FCUInt Name="BackgroundColor4" Value="3284386815"/>
5353
<FCUInt Name="BacklightColor" Value="4294967295"/>
5454
<FCUInt Name="BoundingBoxColor" Value="4294967295"/>
55-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
55+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
5656
<FCUInt Name="HighlightColor" Value="327679"/>
5757
<FCUInt Name="SelectionColor" Value="16711935"/>
5858
</FCParamGroup>

src/Gui/PreferencePacks/ProDark/ProDark.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<FCUInt Name="BackgroundColor4" Value="2088533247"/>
9090
<FCUInt Name="HighlightColor" Value="327679"/>
9191
<FCUInt Name="SelectionColor" Value="16711935"/>
92-
<FCUInt Name="DefaultShapeColor" Value="3435973887"/>
92+
<FCUInt Name="DefaultShapeColor" Value="3435980543"/>
9393
</FCParamGroup>
9494
<FCParamGroup Name="TreeView">
9595
<FCUInt Name="TreeEditColor" Value="1434171135"/>

src/Gui/ViewProviderGeometryObject.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ ViewProviderGeometryObject::ViewProviderGeometryObject()
6868
b = (float)rand() / fMax;
6969
}
7070
else {
71-
unsigned long shcol = hGrp->GetUnsigned("DefaultShapeColor", 3435973887UL); // light gray (204,204,204)
71+
unsigned long shcol = hGrp->GetUnsigned("DefaultShapeColor", 3435980543UL);
7272
r = ((shcol >> 24) & 0xff) / 255.0;
7373
g = ((shcol >> 16) & 0xff) / 255.0;
7474
b = ((shcol >> 8) & 0xff) / 255.0;
7575
}
7676

77-
int initialTransparency = hGrp->GetInt("DefaultShapeTransparency", 0);
77+
int initialTransparency = hGrp->GetInt("DefaultShapeTransparency", 0);
7878

7979
static const char *dogroup = "Display Options";
8080
static const char *sgroup = "Selection";

0 commit comments

Comments
 (0)