Implemented editing for extruder of existing ToolChangeCode tick

+ Code refactoring: DoubleSlider is extracted from wxExtensions
This commit is contained in:
YuSanka 2020-01-23 15:07:31 +01:00
parent 1ed313ab79
commit 5ff8ae955b
14 changed files with 2128 additions and 2041 deletions

View file

@ -15,7 +15,6 @@ class wxChoice;
class wxComboCtrl;
class wxBitmapComboBox;
class wxCheckBox;
class DoubleSlider;
namespace Slic3r {
@ -25,6 +24,10 @@ class BackgroundSlicingProcess;
class GCodePreviewData;
class Model;
namespace DoubleSlider {
class Control;
};
namespace GUI {
class GLCanvas3D;
@ -103,7 +106,7 @@ class Preview : public wxPanel
bool m_loaded;
bool m_enabled;
DoubleSlider* m_slider {nullptr};
DoubleSlider::Control* m_slider {nullptr};
public:
Preview(wxWindow* parent, Bed3D& bed, Camera& camera, GLToolbar& view_toolbar, Model* model, DynamicPrintConfig* config,