Improved extruder_selector for DoubleSlider

This commit is contained in:
YuSanka 2019-10-16 09:45:11 +02:00
parent 4b0fe7cba4
commit 76ec1bc7e3
9 changed files with 88 additions and 49 deletions

View file

@ -103,6 +103,7 @@ class Preview : public wxPanel
bool m_enabled;
DoubleSlider* m_slider {nullptr};
wxComboBox* m_extruder_selector {nullptr};
public:
Preview(wxWindow* parent, Bed3D& bed, Camera& camera, GLToolbar& view_toolbar, Model* model, DynamicPrintConfig* config,
@ -129,7 +130,8 @@ public:
void move_double_slider(wxKeyEvent& evt);
void edit_double_slider(wxKeyEvent& evt);
void update_view_type();
void update_view_type(bool slice_completed);
void update_extruder_selector();
bool is_loaded() const { return m_loaded; }