1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

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
This commit is contained in:
Loic Blot 2018-01-04 23:04:40 +01:00 committed by Loïc Blot
parent fe510d90c1
commit 326b0faa5e
5 changed files with 118 additions and 126 deletions

View file

@ -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;