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:
parent
93d185ee5d
commit
792e013eaf
7 changed files with 19 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue