diff options
Diffstat (limited to '')
-rw-r--r-- | src/client/gameui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/gameui.h b/src/client/gameui.h index cb460b1c3..2eb2488e6 100644 --- a/src/client/gameui.h +++ b/src/client/gameui.h @@ -89,6 +89,7 @@ public: return m_flags.show_chat && m_recent_chat_count != 0 && m_profiler_current_page == 0; } void setChatText(const EnrichedString &chat_text, u32 recent_chat_count); + void updateChatSize(); void updateProfiler(); @@ -122,6 +123,7 @@ private: gui::IGUIStaticText *m_guitext_chat = nullptr; // Chat text u32 m_recent_chat_count = 0; + core::rect<s32> m_current_chat_size{0, 0, 0, 0}; gui::IGUIStaticText *m_guitext_profiler = nullptr; // Profiler text u8 m_profiler_current_page = 0; |