summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-01-11 18:52:23 +0200
committerJared Adams <jaxad0127@gmail.com>2010-01-12 16:22:52 +0000
commit087babc2525ddb89e5b31f240a08739d9a3029a9 (patch)
treebc7f22a62869b323328b6d03a3efa7b082f331d3 /src/gui/widgets/chattab.h
parentb09ede7286093519af8f2b044ad7be17600d2cda (diff)
downloadmana-087babc2525ddb89e5b31f240a08739d9a3029a9.tar.gz
mana-087babc2525ddb89e5b31f240a08739d9a3029a9.tar.bz2
mana-087babc2525ddb89e5b31f240a08739d9a3029a9.tar.xz
mana-087babc2525ddb89e5b31f240a08739d9a3029a9.zip
Improve chat speed.
For improve chat speed this patch add some hacks to BrowserBox class, split big words in ChatTab. Also fix DoS in chat.
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r--src/gui/widgets/chattab.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index 40a1c1f5..5d8b594a 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -133,6 +133,8 @@ class ChatTab : public Tab
virtual void handleCommand(const std::string &msg);
+ void addRow(std::string &line);
+
ScrollArea *mScrollArea;
BrowserBox *mTextOutput;
//Recorder *mRecorder;