FIX: update the extruder image in status panel

jira: [STUDIO-10732]
Change-Id: I5437c4ef1538f0022f97c7ef7fb40ec2242328ed
(cherry picked from commit f5c49c89a80e508a442440218b068446d1e9e797)
This commit is contained in:
xin.zhang
2025-09-17 23:06:54 +08:00
committed by Noisyfox
parent b791a31aff
commit 03ea48c6b4
9 changed files with 97 additions and 12 deletions
+4 -2
View File
@@ -398,7 +398,9 @@ private:
class AMSextruder : public wxWindow
{
private:
int m_nozzle_num = -1;
int m_nozzle_num = -1;
string m_series_name;
public:
void TurnOn(wxColour col);
void TurnOff();
@@ -407,7 +409,7 @@ public:
void msw_rescale();
void has_ams(bool hams) {m_has_vams = hams; Refresh();};
void no_ams_mode(bool mode) {m_none_ams_mode = mode; Refresh();};
void updateNozzleNum(int nozzle_num);
void updateNozzleNum(int nozzle_num, const std::string& series_name = string());
bool m_none_ams_mode{true};
bool m_has_vams{false};