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:
@@ -523,13 +523,13 @@ void ViewProviderGridExtension::setGridDivLineWidth(int width)
|
||||
drawGrid(false);
|
||||
}
|
||||
|
||||
void ViewProviderGridExtension::setGridLineColor(const App::Color & color)
|
||||
void ViewProviderGridExtension::setGridLineColor(const Base::Color & color)
|
||||
{
|
||||
pImpl->GridLineColor = color.getPackedValue();
|
||||
drawGrid(false);
|
||||
}
|
||||
|
||||
void ViewProviderGridExtension::setGridDivLineColor(const App::Color & color)
|
||||
void ViewProviderGridExtension::setGridDivLineColor(const Base::Color & color)
|
||||
{
|
||||
pImpl->GridDivLineColor = color.getPackedValue();
|
||||
drawGrid(false);
|
||||
|
||||
Reference in New Issue
Block a user