diff options
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 { |