diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-09 21:09:58 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-09 22:52:14 +0200 |
commit | 6ada0095e10a592ca78206edf851cc9e235619ab (patch) | |
tree | 63c6bc53d01040d9e402e0085e29ff14adb2f626 /src/gui/chat.h | |
parent | defb43bcd7dd1b3a475214bb3c36cb44bf16358f (diff) | |
download | mana-6ada0095e10a592ca78206edf851cc9e235619ab.tar.gz mana-6ada0095e10a592ca78206edf851cc9e235619ab.tar.bz2 mana-6ada0095e10a592ca78206edf851cc9e235619ab.tar.xz mana-6ada0095e10a592ca78206edf851cc9e235619ab.zip |
No need for ChatInput to be in the header file, even
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 20586add..65281c37 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -22,11 +22,9 @@ #ifndef CHAT_H #define CHAT_H -#include "gui/widgets/textfield.h" #include "gui/widgets/window.h" #include <guichan/actionlistener.hpp> -#include <guichan/focuslistener.hpp> #include <guichan/keylistener.hpp> #include <guichan/widget.hpp> #include <guichan/widgetlistener.hpp> @@ -38,6 +36,7 @@ class BrowserBox; class Channel; class ChatTab; +class ChatInput; class Recorder; class ScrollArea; class TabbedArea; @@ -56,21 +55,6 @@ struct CHATLOG }; /** - * The chat input hides when it loses focus. It is also invisible by default. - */ -class ChatInput : public TextField, public gcn::FocusListener -{ - public: - ChatInput(); - - /** - * Called if the chat input loses focus. It will set itself to - * invisible as result. - */ - void focusLost(const gcn::Event &event); -}; - -/** * The chat window. * * \ingroup Interface @@ -151,7 +135,6 @@ class ChatWindow : public Window, * Passes the text to the current tab as input * * @param msg The message text which is to be sent. - * */ void chatInput(std::string &msg); |