mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06: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:
parent
42633fda28
commit
e344f8b8b9
5 changed files with 46 additions and 5 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue