mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 19:32:18 +00:00
ENH: Restrictions on setting the air duct mode during printing
JIRA: STUDIO-9350 Change-Id: Ie6442eccfef78d5431316f91b68fd0e55d4644aa (cherry picked from commit eaafe82f6f14462a1043db944f8e6763a822de12)
This commit is contained in:
@@ -90,7 +90,7 @@ Description:FanOperate
|
||||
class FanOperate : public wxWindow
|
||||
{
|
||||
public:
|
||||
FanOperate(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize);
|
||||
FanOperate(wxWindow *parent, wxWindowID id, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize);
|
||||
~FanOperate() {};
|
||||
void post_event(wxCommandEvent&& event);
|
||||
void paintEvent(wxPaintEvent& evt);
|
||||
@@ -100,6 +100,8 @@ public:
|
||||
void create(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size);
|
||||
void on_left_down(wxMouseEvent& event);
|
||||
|
||||
void set_machine_obj(MachineObject *obj);
|
||||
|
||||
public:
|
||||
void set_fan_speeds(int g);
|
||||
void add_fan_speeds();
|
||||
@@ -111,6 +113,8 @@ private:
|
||||
int m_max_speeds;
|
||||
ScalableBitmap m_bitmap_add;
|
||||
ScalableBitmap m_bitmap_decrease;
|
||||
|
||||
MachineObject* m_obj;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user