summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-14 16:45:13 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-14 16:45:13 +0000
commitd1395845cdc678db2a71326f2e6f20253ed14cac (patch)
tree9a75fe0591fc7bd74f828aa048aa027f59a4ae66 /src/gui/chat.h
parent6c3a2550813c14290307f2ad91e1d76eea3e6a02 (diff)
downloadMana-d1395845cdc678db2a71326f2e6f20253ed14cac.tar.gz
Mana-d1395845cdc678db2a71326f2e6f20253ed14cac.tar.bz2
Mana-d1395845cdc678db2a71326f2e6f20253ed14cac.tar.xz
Mana-d1395845cdc678db2a71326f2e6f20253ed14cac.zip
Merged 0.0 changes from revision 2988 to 3035 to trunk.
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 a0a3d1ec..963e5e98 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -138,7 +138,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.
@@ -178,13 +178,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:
bool mTmpVisible;