mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-03 00:02:14 +00:00
ENH: update hms panel and upgrade panel when disconnected
Change-Id: I75d724c99ec2029190641cd2cfa22b6337d0060d Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <slic3r/GUI/Widgets/Button.hpp>
|
||||
#include <slic3r/GUI/DeviceManager.hpp>
|
||||
#include <slic3r/GUI/Widgets/ScrolledWindow.hpp>
|
||||
#include <slic3r/GUI/StatusPanel.hpp>
|
||||
#include <wx/html/htmlwin.h>
|
||||
|
||||
namespace Slic3r {
|
||||
@@ -44,6 +45,7 @@ protected:
|
||||
wxScrolledWindow *m_scrolledWindow;
|
||||
wxBoxSizer * m_top_sizer;
|
||||
HMSNotifyItem * m_notify_item;
|
||||
int last_status;
|
||||
|
||||
void append_hms_panel(HMSItem &item);
|
||||
void delete_hms_panels();
|
||||
@@ -58,6 +60,8 @@ public:
|
||||
|
||||
void update(MachineObject *obj_);
|
||||
|
||||
void show_status(int status);
|
||||
|
||||
MachineObject *obj { nullptr };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user