[Sketcher] Correct default OVP and Geometry Creation colors... (#14763)

* [Sketcher] Correct default OVP and Geometry Creation colors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Syres916
2024-06-24 17:08:28 +01:00
committed by GitHub
parent 6c747178cf
commit 136da90645
3 changed files with 11 additions and 10 deletions

View File

@@ -168,7 +168,7 @@ private:
"User parameter:BaseApp/Preferences/View");
dimConstrColor = SbColor(1.0f, 0.149f, 0.0f); // NOLINT
dimConstrDeactivatedColor = SbColor(0.8f, 0.8f, 0.8f); // NOLINT
dimConstrDeactivatedColor = SbColor(0.5f, 0.5f, 0.5f); // NOLINT
float transparency = 0.f;
unsigned long color = (unsigned long)(dimConstrColor.getPackedValue());

View File

@@ -28,7 +28,7 @@
using namespace SketcherGui;
SbColor DrawingParameters::InformationColor(0.0f, 1.0f, 0.0f); // #00FF00 -> ( 0,255, 0)
SbColor DrawingParameters::CreateCurveColor(0.8f, 0.8f, 0.8f); // #CCCCCC -> (204,204,204)
SbColor DrawingParameters::CreateCurveColor(0.5f, 0.5f, 0.5f); // ##7f7f7f -> (127,127,127)
SbColor DrawingParameters::CrossColorH(0.8f, 0.4f, 0.4f); // #CC6666 -> (204,102,102)
SbColor DrawingParameters::CrossColorV(0.47f, 1.0f, 0.51f); // #83FF83 -> (120,255,131)
SbColor DrawingParameters::InvalidSketchColor(1.0f, 0.42f, 0.0f); // #FF6D00 -> (255,109, 0)
@@ -57,7 +57,8 @@ SbColor DrawingParameters::ConstrIcoColor(1.0f, 0.149f, 0.0f); // #FF2600 -> (2
SbColor
DrawingParameters::NonDrivingConstrDimColor(0.0f, 0.149f, 1.0f); // #0026FF -> ( 0, 38,255)
SbColor DrawingParameters::ExprBasedConstrDimColor(1.0f, 0.5f, 0.149f); // #FF7F26 -> (255, 127,38)
SbColor DrawingParameters::DeactivatedConstrDimColor(0.8f, 0.8f, 0.8f); // #CCCCCC -> (204,204,204)
SbColor DrawingParameters::CursorTextColor(0.0f, 0.0f, 1.0f); // #0000FF -> (0,0,255)
SbColor
DrawingParameters::DeactivatedConstrDimColor(0.5f, 0.5f, 0.5f); // ##7f7f7f -> (127,127,127)
SbColor DrawingParameters::CursorTextColor(0.0f, 0.0f, 1.0f); // #0000FF -> (0,0,255)
const MultiFieldId MultiFieldId::Invalid = MultiFieldId();

View File

@@ -42,9 +42,9 @@
</property>
<property name="color" stdset="0">
<color>
<red>204</red>
<green>204</green>
<blue>204</blue>
<red>127</red>
<green>127</green>
<blue>127</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
@@ -754,9 +754,9 @@
</property>
<property name="color" stdset="0">
<color>
<red>204</red>
<green>204</green>
<blue>204</blue>
<red>127</red>
<green>127</green>
<blue>127</blue>
</color>
</property>
<property name="prefEntry" stdset="0">