Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-01-18 17:02:07 +0300
committerVojtech Kral <vojtech@kral.hk>2019-01-18 17:43:40 +0300
commit4ffe76f012529185aa7834adea53087063b3959f (patch)
tree5aa79c2ef9fa0332399bf5115d818a14ad400ccc /src/slic3r/GUI/ImGuiWrapper.hpp
parent3e289056216777986a89f4c044b4090c2b9a3a73 (diff)
Cut: Prevent the neither part kept option
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.hpp')
-rw-r--r--src/slic3r/GUI/ImGuiWrapper.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slic3r/GUI/ImGuiWrapper.hpp b/src/slic3r/GUI/ImGuiWrapper.hpp
index cd8508aef..5293bee26 100644
--- a/src/slic3r/GUI/ImGuiWrapper.hpp
+++ b/src/slic3r/GUI/ImGuiWrapper.hpp
@@ -21,8 +21,8 @@ class ImGuiWrapper
FontsMap m_fonts;
unsigned m_font_texture;
-
unsigned m_mouse_buttons;
+ bool m_disabled;
public:
ImGuiWrapper();
@@ -50,6 +50,9 @@ public:
bool checkbox(const wxString &label, bool &value);
void text(const wxString &label);
+ void disabled_begin(bool disabled);
+ void disabled_end();
+
bool want_mouse() const;
bool want_keyboard() const;
bool want_text_input() const;