aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiChatConsole.h
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2020-11-04 16:44:42 +0100
committerGitHub <noreply@github.com>2020-11-04 16:44:42 +0100
commit5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc (patch)
treec980d614fec4a5495798be3e79e033229062c3cd /src/gui/guiChatConsole.h
parent28f6a79706b088c37268a59d90878220dc4ef9c7 (diff)
parent3af10766fd2b58b068e970266724d7eb10e9316b (diff)
downloaddragonfireclient-5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc.tar.xz
Merge branch 'master' into master
Diffstat (limited to 'src/gui/guiChatConsole.h')
-rw-r--r--src/gui/guiChatConsole.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/gui/guiChatConsole.h b/src/gui/guiChatConsole.h
index 7be40e27c..adf89e88c 100644
--- a/src/gui/guiChatConsole.h
+++ b/src/gui/guiChatConsole.h
@@ -29,12 +29,8 @@ 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)
@@ -63,18 +59,15 @@ 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);
@@ -89,9 +82,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;