1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00
This commit is contained in:
Esteban I. RM 2017-10-15 20:28:42 -03:00 committed by Loic Blot
parent 46f7fe91a2
commit 0e8ee84d74
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
5 changed files with 24 additions and 0 deletions

View file

@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes.h"
#include "util/enriched_string.h"
#include "settings.h"
// Chat console related classes
@ -118,6 +119,7 @@ public:
u32 formatChatLine(const ChatLine& line, u32 cols,
std::vector<ChatFormattedLine>& destination) const;
void resize(u32 scrollback);
protected:
s32 getTopScrollPos() const;
s32 getBottomScrollPos() const;
@ -281,6 +283,9 @@ public:
void scrollPageDown();
void scrollPageUp();
// Resize recent buffer based on settings
void applySettings(Settings* settings);
private:
ChatBuffer m_console_buffer;
ChatBuffer m_recent_buffer;