1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

don't pass g_settings around, and use it directly

This commit is contained in:
Esteban I. RM
2017-10-15 21:22:22 -03:00
committed by Loic Blot
parent 93d185ee5d
commit 792e013eaf
7 changed files with 19 additions and 17 deletions

View File

@@ -119,7 +119,7 @@ public:
u32 formatChatLine(const ChatLine& line, u32 cols,
std::vector<ChatFormattedLine>& destination) const;
void resize(u32 scrollback);
void resize(u32 scrollback);
protected:
s32 getTopScrollPos() const;
s32 getBottomScrollPos() const;
@@ -283,8 +283,8 @@ public:
void scrollPageDown();
void scrollPageUp();
// Resize recent buffer based on settings
void applySettings(Settings* settings);
// Resize recent buffer based on settings
void applySettings();
private:
ChatBuffer m_console_buffer;