summaryrefslogtreecommitdiff
path: root/src/gui/setup_input.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-19 23:48:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-19 23:48:29 +0300
commit0b7e752bd177c90a05ca752fa31810f9e34c432c (patch)
treedb1809a48faf051af11c94058e8f126c9e9ef1ab /src/gui/setup_input.h
parent23f87c10db7e6b149e9e1f351e1a82516c545df7 (diff)
downloadmanaverse-0b7e752bd177c90a05ca752fa31810f9e34c432c.tar.gz
manaverse-0b7e752bd177c90a05ca752fa31810f9e34c432c.tar.bz2
manaverse-0b7e752bd177c90a05ca752fa31810f9e34c432c.tar.xz
manaverse-0b7e752bd177c90a05ca752fa31810f9e34c432c.zip
Dehardcode keys in gui widgets.
Add new tab with keys settings in input settings tab.
Diffstat (limited to 'src/gui/setup_input.h')
-rw-r--r--src/gui/setup_input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup_input.h b/src/gui/setup_input.h
index aacdba366..645f6f6a5 100644
--- a/src/gui/setup_input.h
+++ b/src/gui/setup_input.h
@@ -77,6 +77,8 @@ class Setup_Input : public SetupTab
int keyToSetupData(int index);
+ std::string keyToString(int index);
+
private:
class KeyListModel *mKeyListModel;
gcn::ListBox *mKeyList;