[Bugfix]Sketcher: some user colors aren't taken into account

This commit is contained in:
0penBrain
2022-09-02 10:33:03 +02:00
committed by Uwe
parent fdeac88239
commit c2c45f6ca7
3 changed files with 11 additions and 34 deletions

View File

@@ -56,24 +56,4 @@ SbColor DrawingParameters::NonDrivingConstrDimColor (0.0f,0.149f
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)
QColor DrawingParameters::constrIcoColor( (int)(DrawingParameters::ConstrIcoColor [0] * 255.0f),
(int)(DrawingParameters::ConstrIcoColor[1] * 255.0f),
(int)(DrawingParameters::ConstrIcoColor[2] * 255.0f));
QColor DrawingParameters::nonDrivingConstrIcoColor( (int)(DrawingParameters::NonDrivingConstrDimColor[0] * 255.0f),
(int)(DrawingParameters::NonDrivingConstrDimColor[1] * 255.0f),
(int)(DrawingParameters::NonDrivingConstrDimColor[2] * 255.0f));
QColor DrawingParameters::constrIconSelColor ( (int)(DrawingParameters::SelectColor[0] * 255.0f),
(int)(DrawingParameters::SelectColor[1] * 255.0f),
(int)(DrawingParameters::SelectColor[2] * 255.0f));
QColor DrawingParameters::constrIconPreselColor ( (int)(DrawingParameters::PreselectColor[0] * 255.0f),
(int)(DrawingParameters::PreselectColor[1] * 255.0f),
(int)(DrawingParameters::PreselectColor[2] * 255.0f));
QColor DrawingParameters::constrIconDisabledColor ( (int)(DrawingParameters::DeactivatedConstrDimColor[0] * 255.0f),
(int)(DrawingParameters::DeactivatedConstrDimColor[1] * 255.0f),
(int)(DrawingParameters::DeactivatedConstrDimColor[2] * 255.0f));
const MultiFieldId MultiFieldId::Invalid = MultiFieldId();