diff options
author | enricoturri1966 <enricoturri@seznam.cz> | 2020-10-17 15:01:45 +0300 |
---|---|---|
committer | enricoturri1966 <enricoturri@seznam.cz> | 2020-10-17 15:01:45 +0300 |
commit | 06c35297b6124c6fc685581c19e4343c6e656652 (patch) | |
tree | fa0347d27c37a87492ea0d2f837eaf12d06919bb /src/slic3r/GUI/DoubleSlider.hpp | |
parent | ce3fc31b488c0177fd5246ce4f2b4200955a51e2 (diff) |
Disabled icon to add color changes, print pauses and custom gcode in vertical slider of standalone gcode viewer
Diffstat (limited to 'src/slic3r/GUI/DoubleSlider.hpp')
-rw-r--r-- | src/slic3r/GUI/DoubleSlider.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/DoubleSlider.hpp b/src/slic3r/GUI/DoubleSlider.hpp index 7ffacb309..4711f0832 100644 --- a/src/slic3r/GUI/DoubleSlider.hpp +++ b/src/slic3r/GUI/DoubleSlider.hpp @@ -264,6 +264,7 @@ public: void edit_extruder_sequence(); #if ENABLE_GCODE_VIEWER void jump_to_value(); + void enable_action_icon(bool enable) { m_enable_action_icon = enable; } #else void jump_to_print_z(); #endif // ENABLE_GCODE_VIEWER @@ -360,6 +361,9 @@ private: bool m_is_one_layer = false; bool m_is_focused = false; bool m_force_mode_apply = true; +#if ENABLE_GCODE_VIEWER + bool m_enable_action_icon = true; +#endif // ENABLE_GCODE_VIEWER DrawMode m_draw_mode = dmRegular; |