summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-14 14:54:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-14 14:54:39 +0000
commitf842e0b40d8382011f0bc46b1446945d99ac0425 (patch)
tree5ddbb7c146a8ece28a4260d788350b1c2cf0dbed /src/gui/chat.h
parentcbbcc5489e2f72a76b66ae849cbe8f1dc44246ca (diff)
downloadmana-client-f842e0b40d8382011f0bc46b1446945d99ac0425.tar.gz
mana-client-f842e0b40d8382011f0bc46b1446945d99ac0425.tar.bz2
mana-client-f842e0b40d8382011f0bc46b1446945d99ac0425.tar.xz
mana-client-f842e0b40d8382011f0bc46b1446945d99ac0425.zip
Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 20841873..1269b98e 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -139,7 +139,7 @@ class ChatWindow : public Window, public gcn::ActionListener,
/**
* Performs action.
*/
- void action(const std::string& actionId, gcn::Widget* widget);
+ void action(const gcn::ActionEvent &event);
/**
* Request focus for typing chat message.
@@ -179,13 +179,16 @@ class ChatWindow : public Window, public gcn::ActionListener,
chatSend(const std::string &nick, std::string msg);
/** Called when key is pressed */
- void keyPress(const gcn::Key& key);
+ void
+ keyPressed(gcn::KeyEvent &event);
/** Called to set current text */
- void setInputText(std::string input_str);
+ void
+ setInputText(std::string input_str);
/** Override to reset mTmpVisible */
- void setVisible(bool visible);
+ void
+ setVisible(bool visible);
private:
Network *mNetwork;