diff options
Diffstat (limited to 'src/client/chat.h')
-rw-r--r-- | src/client/chat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/chat.h b/src/client/chat.h index 1ea1765..ec8271e 100644 --- a/src/client/chat.h +++ b/src/client/chat.h @@ -26,6 +26,10 @@ public: void toggle(); void event_text(const std::string & text); + + inline bool small() const { return chat_small; } + + void set_small(bool small = true); protected: virtual void event_draw(); @@ -35,6 +39,8 @@ protected: private: + bool chat_small; + ui::Text chat_log; ui::ScrollPane *chat_scrollpane; ui::InputBox *chat_input; |