1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00: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
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
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;