change default shape color

This commit is contained in:
Max Wilfinger
2024-02-18 11:02:01 +01:00
committed by Chris Hennes
parent 62c8469bde
commit 2a264241dc
11 changed files with 12 additions and 12 deletions

View File

@@ -68,13 +68,13 @@ ViewProviderGeometryObject::ViewProviderGeometryObject()
b = (float)rand() / fMax;
}
else {
unsigned long shcol = hGrp->GetUnsigned("DefaultShapeColor", 3435973887UL); // light gray (204,204,204)
unsigned long shcol = hGrp->GetUnsigned("DefaultShapeColor", 3435980543UL);
r = ((shcol >> 24) & 0xff) / 255.0;
g = ((shcol >> 16) & 0xff) / 255.0;
b = ((shcol >> 8) & 0xff) / 255.0;
}
int initialTransparency = hGrp->GetInt("DefaultShapeTransparency", 0);
int initialTransparency = hGrp->GetInt("DefaultShapeTransparency", 0);
static const char *dogroup = "Display Options";
static const char *sgroup = "Selection";