update hardcoded XPMs to .svg files. Updated .svg icons for clarity.
This commit is contained in:
@@ -3618,23 +3618,7 @@ QIcon ViewProviderSketch::mergeColorfulOverlayIcons(const QIcon& orig) const
|
||||
QIcon mergedicon = orig;
|
||||
|
||||
if (!getSketchObject()->FullyConstrained.getValue()) {
|
||||
QPixmap px;
|
||||
|
||||
static const char* const sketcher_notfullyconstrained_xpm[] = {"9 9 3 1",
|
||||
". c None",
|
||||
"# c #dbaf00",
|
||||
"a c #ffcc00",
|
||||
"##.....##",
|
||||
"#a#...#a#",
|
||||
"#aa#.#aa#",
|
||||
".#a#.#a#.",
|
||||
".#a#.#a#.",
|
||||
".#a#.#a#.",
|
||||
"#aa#.#aa#",
|
||||
"#a#...#a#",
|
||||
"##.....##"};
|
||||
px = QPixmap(sketcher_notfullyconstrained_xpm);
|
||||
|
||||
static QPixmap px(Gui::BitmapFactory().pixmapFromSvg("Sketcher_NotFullyConstrained", QSize(10, 10)));
|
||||
mergedicon = Gui::BitmapFactoryInst::mergePixmap(
|
||||
mergedicon, px, Gui::BitmapFactoryInst::BottomRight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user