summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/chattab.h
diff options
context:
space:
mode:
authorewewukek <ewewukek@gmail.com>2024-03-29 00:09:36 +0300
committerFedja Beader <fedja@protonmail.ch>2024-05-15 21:33:46 +0000
commitbaaf4e4f299573b951f377b421b2747a4f53e202 (patch)
treedde60c2efe1dd901242ae042dbf3a20856aa5373 /src/gui/widgets/tabs/chat/chattab.h
parent99f361699e1c8bbc1e69f4d199863b836b3528a3 (diff)
downloadManaVerse-chat_scroll.tar.gz
ManaVerse-chat_scroll.tar.bz2
ManaVerse-chat_scroll.tar.xz
ManaVerse-chat_scroll.zip
Scroll #General chat tab to bottom on joinchat_scroll
Add ChatTab::scrollToBottom utility method Implement scrolling logic in loadFromLogFile
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.h')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index 7a3774fc2..adb14861d 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -114,6 +114,11 @@ class ChatTab notfinal : public Tab
void scroll(const int amount);
/**
+ * Scrolls the chat window to the bottom
+ */
+ void scrollToBottom();
+
+ /**
* Clears the text from the tab
*/
void clearText();