Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as one that does not. Moving it to Base opens possibilities to integrate it better with the rest of FreeCAD.
This commit is contained in:
@@ -386,14 +386,14 @@ bool ViewProviderViewPart::canDelete(App::DocumentObject *obj) const
|
||||
return true;
|
||||
}
|
||||
|
||||
App::Color ViewProviderViewPart::prefSectionColor()
|
||||
Base::Color ViewProviderViewPart::prefSectionColor()
|
||||
{
|
||||
return PreferencesGui::sectionLineColor();
|
||||
}
|
||||
|
||||
App::Color ViewProviderViewPart::prefHighlightColor()
|
||||
Base::Color ViewProviderViewPart::prefHighlightColor()
|
||||
{
|
||||
App::Color fcColor;
|
||||
Base::Color fcColor;
|
||||
fcColor.setPackedValue(Preferences::getPreferenceGroup("Decorations")->GetUnsigned("HighlightColor", 0x00000000));
|
||||
return fcColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user