mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Allow to disable editing of lower thumb in DoubleSlider::Control
This commit is contained in:
parent
691cdeb88c
commit
25932e8072
3 changed files with 48 additions and 68 deletions
|
@ -228,6 +228,7 @@ public:
|
|||
void SetModeAndOnlyExtruder(const bool is_one_extruder_printed_model, const int only_extruder);
|
||||
void SetExtruderColors(const std::vector<std::string>& extruder_colors);
|
||||
|
||||
void set_lower_editable(bool editable) { m_lower_editable = editable; }
|
||||
void set_render_as_disabled(bool value) { m_render_as_disabled = value; }
|
||||
bool is_rendering_as_disabled() const { return m_render_as_disabled; }
|
||||
|
||||
|
@ -338,6 +339,7 @@ private:
|
|||
int m_lower_value;
|
||||
int m_higher_value;
|
||||
|
||||
bool m_lower_editable{ true };
|
||||
bool m_render_as_disabled{ false };
|
||||
|
||||
ScalableBitmap m_bmp_thumb_higher;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue