diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-07-08 13:39:11 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-07-08 13:39:11 +0000 |
commit | 016faf8449aeb7dba2738da4fefa3609b3af589c (patch) | |
tree | bc25d08ff2df0ad2ba8f50886c83c06d78b6d11a /src/gui/chatinput.h | |
parent | 1dab7893195814ba916bb9ec212a7084fd67fb97 (diff) | |
download | mana-client-016faf8449aeb7dba2738da4fefa3609b3af589c.tar.gz mana-client-016faf8449aeb7dba2738da4fefa3609b3af589c.tar.bz2 mana-client-016faf8449aeb7dba2738da4fefa3609b3af589c.tar.xz mana-client-016faf8449aeb7dba2738da4fefa3609b3af589c.zip |
Merged 0.0 changes from revision 3317 to 3362 to trunk.
Diffstat (limited to 'src/gui/chatinput.h')
-rw-r--r-- | src/gui/chatinput.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/chatinput.h b/src/gui/chatinput.h index 59d0daf3..da2342ae 100644 --- a/src/gui/chatinput.h +++ b/src/gui/chatinput.h @@ -26,10 +26,12 @@ #include "textfield.h" +#include <guichan/focuslistener.hpp> + /** * The chat input hides when it loses focus. It is also invisible by default. */ -class ChatInput : public TextField +class ChatInput : public TextField, public gcn::FocusListener { public: /** @@ -41,7 +43,7 @@ class ChatInput : public TextField * Called if the chat input loses focus. It will set itself to * invisible as result. */ - void focusLost(); + void focusLost(const gcn::Event &event); }; #endif |