Linux specific: Using a pop-up menu on the "cog" wheel for changing of an extruder color.(related to #6759)

+ some code refactoring
+ change a little bit gray color in colorchange_del icons to avoid collision in Dark mode
This commit is contained in:
YuSanka 2021-11-12 14:00:46 +01:00
parent 9c35e0cb75
commit 8ef03718d0
4 changed files with 72 additions and 59 deletions

View file

@ -147,7 +147,8 @@ public:
void set_extruder_idx(const int extr_idx) { m_extruder_idx = extr_idx; }
int get_extruder_idx() const { return m_extruder_idx; }
bool switch_to_tab();
void switch_to_tab();
void change_extruder_color();
void show_add_menu();
void show_edit_menu();