Cut: Prevent the neither part kept option

This commit is contained in:
Vojtech Kral 2019-01-18 15:02:07 +01:00
parent 3e28905621
commit 4ffe76f012
4 changed files with 34 additions and 2 deletions

View file

@ -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;