diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-17 20:15:15 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-17 20:15:15 -0700 |
commit | 577c13f6fd14160984614ba5cdfc37661c9fada4 (patch) | |
tree | 31860c7b15f4f58b659716ffe30dd730a799ea36 /src/gui/chat.h | |
parent | 7398e19f1bbf44ee732b6739f6620cdcb6c3b554 (diff) | |
download | mana-577c13f6fd14160984614ba5cdfc37661c9fada4.tar.gz mana-577c13f6fd14160984614ba5cdfc37661c9fada4.tar.bz2 mana-577c13f6fd14160984614ba5cdfc37661c9fada4.tar.xz mana-577c13f6fd14160984614ba5cdfc37661c9fada4.zip |
Cleaned up chat code a bit.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 9e137499..f7d05df1 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -121,9 +121,9 @@ class ChatWindow : public Window, public gcn::ActionListener, ~ChatWindow(); /** - * 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: @@ -218,6 +218,8 @@ class ChatWindow : public Window, public gcn::ActionListener, Network *mNetwork; bool mTmpVisible; + void whisper(const std::string &nick, std::string msg); + /** One item in the chat log */ struct CHATLOG { |