mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 13:22:06 +00:00
ENH: add new part: extinguish
JIRA: [STUDIO-11578] Change-Id: I39dc15fe022f38d8c775c2675120bbbce05f95f3 (cherry picked from commit 25dc4e37e3681a840df9af7d98bbb134082492ab)
This commit is contained in:
@@ -126,6 +126,12 @@ protected:
|
||||
wxStaticLine* m_laser_line_above = nullptr;;
|
||||
uiDeviceUpdateVersion* m_laser_version = nullptr;
|
||||
|
||||
/* fire extinguish*/
|
||||
wxBoxSizer* m_extinguish_sizer = nullptr;
|
||||
wxStaticBitmap* m_extinguish_img = nullptr;
|
||||
wxStaticLine* m_extinguish_line_above = nullptr;;
|
||||
uiDeviceUpdateVersion* m_extinguish_version = nullptr;
|
||||
|
||||
/* upgrade widgets */
|
||||
wxBoxSizer* m_upgrading_sizer;
|
||||
wxStaticText * m_staticText_upgrading_info;
|
||||
@@ -146,6 +152,7 @@ protected:
|
||||
ScalableBitmap m_img_air_pump;
|
||||
ScalableBitmap m_img_cutting;
|
||||
ScalableBitmap m_img_laser;
|
||||
ScalableBitmap m_img_extinguish;
|
||||
ScalableBitmap upgrade_gray_icon;
|
||||
ScalableBitmap upgrade_green_icon;
|
||||
ScalableBitmap upgrade_yellow_icon;
|
||||
@@ -175,16 +182,10 @@ public:
|
||||
void update(MachineObject *obj);
|
||||
void update_version_text(MachineObject *obj);
|
||||
void update_ams_ext(MachineObject *obj);
|
||||
void update_air_pump(MachineObject* obj);
|
||||
void update_cut(MachineObject* obj);
|
||||
void update_laszer(MachineObject* obj);
|
||||
void show_status(int status, std::string upgrade_status_str = "");
|
||||
void show_ams(bool show = false, bool force_update = false);
|
||||
void show_ext(bool show = false, bool force_update = false);
|
||||
void show_extra_ams(bool show = false, bool force_update = false);
|
||||
void show_air_pump(bool show = true);
|
||||
void show_cut(bool show = true);
|
||||
void show_laszer(bool show = true);
|
||||
|
||||
void on_upgrade_firmware(wxCommandEvent &event);
|
||||
void on_consisitency_upgrade_firmware(wxCommandEvent &event);
|
||||
@@ -206,6 +207,17 @@ private:
|
||||
void createAirPumpWidgets(wxBoxSizer* main_left_sizer);
|
||||
void createCuttingWidgets(wxBoxSizer* main_left_sizer);
|
||||
void createLaserWidgets(wxBoxSizer* main_left_sizer);
|
||||
void createExtinguishWidgets(wxBoxSizer* main_left_sizer);
|
||||
|
||||
void update_air_pump(MachineObject* obj);
|
||||
void update_cut(MachineObject* obj);
|
||||
void update_laszer(MachineObject* obj);
|
||||
void update_extinguish(MachineObject* obj);
|
||||
|
||||
void show_air_pump(bool show = true);
|
||||
void show_cut(bool show = true);
|
||||
void show_laszer(bool show = true);
|
||||
void show_extinguish(bool show = true);
|
||||
};
|
||||
|
||||
//enum UpgradeMode {
|
||||
|
||||
Reference in New Issue
Block a user