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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user