]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/guiChatConsole.h
Merge pull request #10 from corarona/master
[dragonfireclient.git] / src / gui / guiChatConsole.h
index adf89e88c9031cd11746e274d0b53e4cf3df9ddf..7be40e27c1472d0a9a488b1c974c80db6811a6f6 100644 (file)
@@ -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 @@ class GUIChatConsole : public gui::IGUIElement
        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::IGUIElementelement) { return false; }
 
-       virtual bool OnEvent(const SEvent &event);
+       virtual bool OnEvent(const SEventevent);
 
        virtual void setVisible(bool visible);
 
@@ -82,9 +89,9 @@ class GUIChatConsole : public gui::IGUIElement
        void drawPrompt();
 
 private:
-       ChatBackend *m_chat_backend;
-       Client *m_client;
-       IMenuManager *m_menumgr;
+       ChatBackendm_chat_backend;
+       Clientm_client;
+       IMenuManagerm_menumgr;
 
        // current screen size
        v2u32 m_screensize;