diff options
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; |