diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-01-04 23:04:40 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-05 20:59:30 +0100 |
commit | 326b0faa5e0bee62ee3100f345c021cee020f2dd (patch) | |
tree | d3a4875e98e0698184297b3d1231857a68363c72 /src/chat.h | |
parent | fe510d90c15d9bec3a8c1dafc7b1730b11a9f6bd (diff) | |
download | minetest-326b0faa5e0bee62ee3100f345c021cee020f2dd.tar.gz minetest-326b0faa5e0bee62ee3100f345c021cee020f2dd.tar.bz2 minetest-326b0faa5e0bee62ee3100f345c021cee020f2dd.zip |
GameUI refactor (part 5/X): Move Game::guitext_chat to GameUI class
Other enhancements:
* Move update_profiler_gui to Game class
* Move updateChat to Game class
Diffstat (limited to 'src/chat.h')
-rw-r--r-- | src/chat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chat.h b/src/chat.h index 40d9b771d..ef5a9d47a 100644 --- a/src/chat.h +++ b/src/chat.h @@ -265,7 +265,7 @@ public: // Get the recent messages buffer ChatBuffer& getRecentBuffer(); // Concatenate all recent messages - EnrichedString getRecentChat(); + EnrichedString getRecentChat() const; // Get the console prompt ChatPrompt& getPrompt(); @@ -285,7 +285,7 @@ public: // Resize recent buffer based on settings void applySettings(); - + private: ChatBuffer m_console_buffer; ChatBuffer m_recent_buffer; |