diff options
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.hpp')
-rw-r--r-- | src/slic3r/GUI/ImGuiWrapper.hpp | 5 |
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; |