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:
@@ -243,7 +243,7 @@ std::string DrawViewSpreadsheet::getSheetImage()
|
||||
result << getSVGHead();
|
||||
|
||||
std::string ViewName = Label.getValue();
|
||||
App::Color c = TextColor.getValue();
|
||||
Base::Color c = TextColor.getValue();
|
||||
result << "<g id=\"" << ViewName << "\">" << std::endl;
|
||||
|
||||
// fill the cells
|
||||
@@ -296,7 +296,7 @@ std::string DrawViewSpreadsheet::getSheetImage()
|
||||
std::string fcolor = c.asHexString();
|
||||
std::string textstyle;
|
||||
if (cell) {
|
||||
App::Color f, b;
|
||||
Base::Color f, b;
|
||||
std::set<std::string> st;
|
||||
int colspan, rowspan;
|
||||
if (cell->getBackground(b)) {
|
||||
|
||||
Reference in New Issue
Block a user