mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Ported Plater->on_config_change
This commit is contained in:
parent
b7980f6b9b
commit
d654e35975
3 changed files with 81 additions and 3 deletions
|
@ -49,6 +49,14 @@ private:
|
|||
int extruder_idx = -1;
|
||||
};
|
||||
|
||||
enum ButtonAction
|
||||
{
|
||||
baUndef,
|
||||
baReslice,
|
||||
baExportGcode,
|
||||
baSendGcode
|
||||
};
|
||||
|
||||
class Sidebar : public wxPanel
|
||||
{
|
||||
public:
|
||||
|
@ -71,6 +79,7 @@ public:
|
|||
void update_objects_list_extruder_column(int extruders_count);
|
||||
void show_info_sizers(const bool show);
|
||||
void show_buttons(const bool show);
|
||||
void show_button(ButtonAction but_action, bool show);
|
||||
void enable_buttons(bool enable);
|
||||
bool is_multifilament();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue