mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 05:12:27 +00:00
FIX: update HMS to support multi-type machines
jira: [STUDIO-9582] Change-Id: I5ad4083d666db4237d355ac8bd8160afb8e8a35f (cherry picked from commit 954a27016953bcf4f07b2a3e14ac1f5faf68c644)
This commit is contained in:
@@ -16,6 +16,7 @@ class HMSNotifyItem : public wxPanel
|
||||
{
|
||||
HMSItem & m_hms_item;
|
||||
std::string m_url;
|
||||
std::string dev_id;
|
||||
std::string long_error_code;
|
||||
|
||||
wxPanel * m_panel_hms;
|
||||
@@ -34,7 +35,7 @@ class HMSNotifyItem : public wxPanel
|
||||
wxBitmap & get_notify_bitmap();
|
||||
|
||||
public:
|
||||
HMSNotifyItem(wxWindow *parent, HMSItem& item);
|
||||
HMSNotifyItem(const std::string& dev_id, wxWindow *parent, HMSItem& item);
|
||||
~HMSNotifyItem();
|
||||
|
||||
void msw_rescale() {}
|
||||
@@ -49,7 +50,7 @@ protected:
|
||||
HMSNotifyItem * m_notify_item;
|
||||
int last_status;
|
||||
|
||||
void append_hms_panel(HMSItem &item);
|
||||
void append_hms_panel(const std::string& dev_id, HMSItem &item);
|
||||
void delete_hms_panels();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user