diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-08 06:23:54 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-08 06:23:54 -0600 |
commit | 89f59c09fec10ff163f410960f77a9391f9e1e61 (patch) | |
tree | 92041c233db743748ab7005c638c3c4374b339f9 /src/gui/chatinput.h | |
parent | 098b9f71c878af8862e8ef80289e806c93464513 (diff) | |
download | mana-89f59c09fec10ff163f410960f77a9391f9e1e61.tar.gz mana-89f59c09fec10ff163f410960f77a9391f9e1e61.tar.bz2 mana-89f59c09fec10ff163f410960f77a9391f9e1e61.tar.xz mana-89f59c09fec10ff163f410960f77a9391f9e1e61.zip |
Move ChatInput into the files for ChatWindow
Diffstat (limited to 'src/gui/chatinput.h')
-rw-r--r-- | src/gui/chatinput.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/gui/chatinput.h b/src/gui/chatinput.h deleted file mode 100644 index c76802bc..00000000 --- a/src/gui/chatinput.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * The Mana World - * Copyright (C) 2004 The Mana World Development Team - * - * This file is part of The Mana World. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef CHATINPUT_H -#define CHATINPUT_H - -#include "gui/widgets/textfield.h" - -#include <guichan/focuslistener.hpp> - -/** - * 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); -}; - -#endif |