OrcaSlicer/src/slic3r/GUI/HMSPanel.hpp
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00

37 lines
771 B
C++

#ifndef slic3r_HMSPanel_hpp_
#define slic3r_HMSPanel_hpp_
#include <wx/panel.h>
#include <wx/textctrl.h>
#include <slic3r/GUI/Widgets/Button.hpp>
#include <slic3r/GUI/DeviceManager.hpp>
#include <slic3r/GUI/Widgets/ScrolledWindow.hpp>
namespace Slic3r {
namespace GUI {
class HMSPanel : public wxPanel
{
protected:
wxScrolledWindow* m_scrolledWindow;
wxBoxSizer* m_top_sizer;
wxTextCtrl* m_hms_content;
public:
HMSPanel(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxTAB_TRAVERSAL);
~HMSPanel();
void msw_rescale() {}
bool Show(bool show = true) override;
void update(MachineObject *obj_);
MachineObject *obj { nullptr };
};
}
}
#endif