diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:21:36 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:21:36 +0100 |
commit | be25d46954a98b2590b522de5f8aa470ba4f9e81 (patch) | |
tree | dec0793a9018a011b1eea35446ab98d2aa9f69ef /src/gui/chat.h | |
parent | e85660c9f01a9732dc2af422fedfb11c3543894b (diff) | |
download | mana-client-be25d46954a98b2590b522de5f8aa470ba4f9e81.tar.gz mana-client-be25d46954a98b2590b522de5f8aa470ba4f9e81.tar.bz2 mana-client-be25d46954a98b2590b522de5f8aa470ba4f9e81.tar.xz mana-client-be25d46954a98b2590b522de5f8aa470ba4f9e81.zip |
Use widgetResized to adjust chat window contents
Previously was using the logic() method, adjusting window contents 100
times per second.
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 76a8146c..09c3712b 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -127,9 +127,9 @@ class ChatWindow : public Window, public gcn::ActionListener, ChatWindow(Network *network); /** - * Logic (updates components' size) + * Called whenever the widget changes size. */ - void logic(); + void widgetResized(const gcn::Event &event); /* * Adds a line of text to our message list. Parameters: |