mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 18:27:00 +00:00
NEW:Display AMS mapping relationship in override mode
jira: none Change-Id: Iac0b3563df2f76710a5bc461adab6dd8335ee62d (cherry picked from commit 69f28a711f7680a938a46209da61289787f1d8fa)
This commit is contained in:
@@ -73,6 +73,8 @@ class MaterialItem: public wxPanel
|
||||
{
|
||||
protected:
|
||||
int m_text_pos_y = -1;
|
||||
bool m_dropdown_allow_painted = true;
|
||||
|
||||
public:
|
||||
MaterialItem(wxWindow *parent, wxColour mcolour, wxString mname);
|
||||
~MaterialItem();
|
||||
@@ -98,6 +100,7 @@ public:
|
||||
bool m_match {true};
|
||||
|
||||
void msw_rescale();
|
||||
void allow_paint_dropdown(bool flag);
|
||||
void set_ams_info(wxColour col, wxString txt, int ctype=0, std::vector<wxColour> cols= std::vector<wxColour>());
|
||||
|
||||
void disable();
|
||||
@@ -118,7 +121,7 @@ class MaterialSyncItem : public MaterialItem
|
||||
public:
|
||||
MaterialSyncItem(wxWindow *parent, wxColour mcolour, wxString mname);
|
||||
~MaterialSyncItem();
|
||||
|
||||
int get_real_offset();
|
||||
void render(wxDC &dc) override;
|
||||
void doRender(wxDC &dc) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user