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:
@@ -215,9 +215,9 @@ std::string DrawHatch::prefSvgHatch(void)
|
||||
return Preferences::svgFile();
|
||||
}
|
||||
|
||||
App::Color DrawHatch::prefSvgHatchColor(void)
|
||||
Base::Color DrawHatch::prefSvgHatchColor(void)
|
||||
{
|
||||
App::Color fcColor;
|
||||
Base::Color fcColor;
|
||||
fcColor.setPackedValue(Preferences::getPreferenceGroup("Colors")->GetUnsigned("Hatch", 0x00FF0000));
|
||||
return fcColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user