imgui: Input fixes

This commit is contained in:
Vojtech Kral 2019-02-19 12:39:24 +01:00
parent 5de52b7da4
commit 1045b43d4f
3 changed files with 24 additions and 13 deletions

View file

@ -26,6 +26,8 @@ class ImGuiWrapper
float m_style_scaling;
unsigned m_mouse_buttons;
bool m_disabled;
bool m_new_frame_open;
std::string m_clipboard_text;
public:
ImGuiWrapper();
@ -67,8 +69,6 @@ public:
bool want_any_input() const;
private:
std::string clipboard_text;
void init_default_font(float scaling);
void create_device_objects();
void create_fonts_texture();