mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 19:42:47 +00:00
WIP OctoPrint integration
This commit is contained in:
@@ -55,14 +55,6 @@ private:
|
||||
int extruder_idx = -1;
|
||||
};
|
||||
|
||||
enum ButtonAction
|
||||
{
|
||||
baUndef,
|
||||
baReslice,
|
||||
baExportGcode,
|
||||
baSendGcode
|
||||
};
|
||||
|
||||
class Sidebar : public wxPanel
|
||||
{
|
||||
/*ConfigMenuIDs*/int m_mode;
|
||||
@@ -88,9 +80,9 @@ public:
|
||||
void update_objects_list_extruder_column(int extruders_count);
|
||||
void show_info_sizer();
|
||||
void show_sliced_info_sizer(const bool show);
|
||||
void show_buttons(const bool show);
|
||||
void show_button(ButtonAction but_action, bool show);
|
||||
void enable_buttons(bool enable);
|
||||
void show_reslice(bool show);
|
||||
void show_send(bool show);
|
||||
bool is_multifilament();
|
||||
void set_mode_value(const /*ConfigMenuIDs*/int mode) { m_mode = mode; }
|
||||
|
||||
@@ -103,6 +95,8 @@ private:
|
||||
class Plater: public wxPanel
|
||||
{
|
||||
public:
|
||||
using fs_path = boost::filesystem::path;
|
||||
|
||||
Plater(wxWindow *parent, MainFrame *main_frame);
|
||||
Plater(Plater &&) = delete;
|
||||
Plater(const Plater &) = delete;
|
||||
|
||||
Reference in New Issue
Block a user