diff options
author | ShadowNinja <shadowninja@minetest.net> | 2016-02-27 15:51:09 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2016-03-02 23:23:31 -0500 |
commit | 3edb7575a1ccca631994c0f5515b770b7a3e20d2 (patch) | |
tree | 7298aa5ac133e57594febab7ac26227f5ec1646b /src/guiChatConsole.h | |
parent | effa24737d6997dc40508533635accca3ed099e9 (diff) | |
download | minetest-3edb7575a1ccca631994c0f5515b770b7a3e20d2.tar.gz minetest-3edb7575a1ccca631994c0f5515b770b7a3e20d2.tar.bz2 minetest-3edb7575a1ccca631994c0f5515b770b7a3e20d2.zip |
Unlock cursor when opening console
Diffstat (limited to 'src/guiChatConsole.h')
-rw-r--r-- | src/guiChatConsole.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/guiChatConsole.h b/src/guiChatConsole.h index 7b9fc6732..fe595f284 100644 --- a/src/guiChatConsole.h +++ b/src/guiChatConsole.h @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define GUICHATCONSOLE_HEADER #include "irrlichttypes_extrabloated.h" +#include "modalMenu.h" #include "chat.h" #include "config.h" @@ -33,7 +34,8 @@ public: gui::IGUIElement* parent, s32 id, ChatBackend* backend, - Client* client); + Client* client, + IMenuManager* menumgr); virtual ~GUIChatConsole(); // Open the console (height = desired fraction of screen size) @@ -86,11 +88,9 @@ private: void drawPrompt(); private: - // pointer to the chat backend ChatBackend* m_chat_backend; - - // pointer to the client Client* m_client; + IMenuManager* m_menumgr; // current screen size v2u32 m_screensize; |