Skip to content

Commit

Permalink
Update CallTips.cpp
Browse files Browse the repository at this point in the history
New overlay icon.
  • Loading branch information
FreeCAD-Nut authored Jan 11, 2024
1 parent 15c419e commit 35ff4c3
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/Gui/CallTips.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,18 +473,17 @@ void CallTipsList::showTips(const QString& line)

// object is in error state
static const char * const forbidden_xpm[]={
"8 8 3 1",
". c None",
"# c #ff0000",
"a c #ffffff",
"..####..",
".######.",
"########",
"#aaaaaa#",
"#aaaaaa#",
"########",
".######.",
"..####.."};
"9 8 2 1",
"# c #f5f5f5",
"r c #ff1a53",
"rrrrrrrrr",
"rrrrrrrrr",
"rrrrrrrrr",
"rr#####rr",
"rr#####rr",
"rrrrrrrrr",
"rrrrrrrrr",
"rrrrrrrrr"};
static QPixmap forbidden_icon(forbidden_xpm);
static QPixmap forbidden_type_module_icon = BitmapFactory().merge(type_module_icon,forbidden_icon,BitmapFactoryInst::BottomLeft);
static QPixmap forbidden_type_class_icon = BitmapFactory().merge(type_class_icon,forbidden_icon,BitmapFactoryInst::BottomLeft);
Expand Down

0 comments on commit 35ff4c3

Please sign in to comment.