diff options
author | Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> | 2020-11-04 16:57:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 16:57:47 +0100 |
commit | 3e16c3a78fff61c20e63ba730d15e94e3bb877b4 (patch) | |
tree | c070350db219f2c4241d22bc31949685c7b42fe9 /src/gui/guiChatConsole.h | |
parent | 5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc (diff) | |
parent | 6ccb5835ff55d85156be91473c598eca9d6cb9a6 (diff) | |
download | dragonfireclient-3e16c3a78fff61c20e63ba730d15e94e3bb877b4.tar.xz |
Merge branch 'master' into master
Diffstat (limited to 'src/gui/guiChatConsole.h')
-rw-r--r-- | src/gui/guiChatConsole.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/gui/guiChatConsole.h b/src/gui/guiChatConsole.h index adf89e88c..7be40e27c 100644 --- a/src/gui/guiChatConsole.h +++ b/src/gui/guiChatConsole.h @@ -29,8 +29,12 @@ class Client; class GUIChatConsole : public gui::IGUIElement { public: - GUIChatConsole(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, - ChatBackend *backend, Client *client, IMenuManager *menumgr); + GUIChatConsole(gui::IGUIEnvironment* env, + gui::IGUIElement* parent, + s32 id, + ChatBackend* backend, + Client* client, + IMenuManager* menumgr); virtual ~GUIChatConsole(); // Open the console (height = desired fraction of screen size) @@ -59,15 +63,18 @@ public: void replaceAndAddToHistory(const std::wstring &line); // Change how the cursor looks - void setCursor(bool visible, bool blinking = false, f32 blink_speed = 1.0, - f32 relative_height = 1.0); + void setCursor( + bool visible, + bool blinking = false, + f32 blink_speed = 1.0, + f32 relative_height = 1.0); // Irrlicht draw method virtual void draw(); - bool canTakeFocus(gui::IGUIElement *element) { return false; } + bool canTakeFocus(gui::IGUIElement* element) { return false; } - virtual bool OnEvent(const SEvent &event); + virtual bool OnEvent(const SEvent& event); virtual void setVisible(bool visible); @@ -82,9 +89,9 @@ private: void drawPrompt(); private: - ChatBackend *m_chat_backend; - Client *m_client; - IMenuManager *m_menumgr; + ChatBackend* m_chat_backend; + Client* m_client; + IMenuManager* m_menumgr; // current screen size v2u32 m_screensize; |