update hardcoded XPMs to .svg files. Updated .svg icons for clarity.
This commit is contained in:
@@ -205,26 +205,8 @@ QIcon ViewProvider::mergeColorfulOverlayIcons (const QIcon & orig) const
|
||||
QIcon mergedicon = orig;
|
||||
|
||||
if(isSetTipIcon) {
|
||||
QPixmap px;
|
||||
|
||||
static const char * const feature_tip_xpm[]={
|
||||
"9 9 3 1",
|
||||
". c None",
|
||||
"# c #00cc00",
|
||||
"a c #ffffff",
|
||||
"...###...",
|
||||
".##aaa##.",
|
||||
".##aaa##.",
|
||||
"###aaa###",
|
||||
"##aaaaa##",
|
||||
"##aaaaa##",
|
||||
".##aaa##.",
|
||||
".##aaa##.",
|
||||
"...###..."};
|
||||
px = QPixmap(feature_tip_xpm);
|
||||
|
||||
static QPixmap px(Gui::BitmapFactory().pixmapFromSvg("PartDesign_Overlay_Tip", QSize(10, 10)));
|
||||
mergedicon = Gui::BitmapFactoryInst::mergePixmap(mergedicon, px, Gui::BitmapFactoryInst::BottomRight);
|
||||
|
||||
}
|
||||
|
||||
return Gui::ViewProvider::mergeColorfulOverlayIcons (mergedicon);
|
||||
|
||||
Reference in New Issue
Block a user