summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-28 07:55:54 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-28 07:55:54 -0600
commitef2e1bafa7c5f19b0353e0bf01a7ad9d7f8cddf5 (patch)
treebe4372c79a990a4864fcc2567463199794221410 /src/gui/chat.h
parent91da5b104a0895578a0a2a7debbfb495e50ef4f4 (diff)
downloadmana-ef2e1bafa7c5f19b0353e0bf01a7ad9d7f8cddf5.tar.gz
mana-ef2e1bafa7c5f19b0353e0bf01a7ad9d7f8cddf5.tar.bz2
mana-ef2e1bafa7c5f19b0353e0bf01a7ad9d7f8cddf5.tar.xz
mana-ef2e1bafa7c5f19b0353e0bf01a7ad9d7f8cddf5.zip
Allow changing chat tabs with the keyboard
Defaults to: [ for previous tab ] for next tab
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 54270055..3a2f7fdb 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -103,6 +103,16 @@ class ChatWindow : public Window,
void clearTab();
/**
+ * Switch to the previous tab in order
+ */
+ void prevTab();
+
+ /**
+ * Switch to the next tab in order
+ */
+ void nextTab();
+
+ /**
* Performs action.
*/
void action(const gcn::ActionEvent &event);