summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 16:57:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 16:57:51 +0300
commitef1a1be4a87913ed5c50eb10401622275da1c842 (patch)
treeed5d8c834fc7772df069f5b44d2ffba1f991579f /src/input
parent54af8ce9c6d972580d2935498e563988450b94f6 (diff)
downloadmv-ef1a1be4a87913ed5c50eb10401622275da1c842.tar.gz
mv-ef1a1be4a87913ed5c50eb10401622275da1c842.tar.bz2
mv-ef1a1be4a87913ed5c50eb10401622275da1c842.tar.xz
mv-ef1a1be4a87913ed5c50eb10401622275da1c842.zip
add actions for select next/previous tab in spells/commands window.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyboarddata.h14
-rw-r--r--src/input/keydata.h2
2 files changed, 16 insertions, 0 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index a8817bc6e..87202e8f2 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -2066,6 +2066,20 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
&ActionManager::nextShortcutsTab,
Input::KEY_NO_VALUE, 50,
COND_NOINPUT | COND_INGAME},
+ {"keyCommandsPrevTab",
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &ActionManager::prevCommandsTab,
+ Input::KEY_NO_VALUE, 50,
+ COND_NOINPUT | COND_INGAME},
+ {"keyCommandsNextTab",
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_DEFAULT | Input::GRP_GUI,
+ &ActionManager::nextCommandsTab,
+ Input::KEY_NO_VALUE, 50,
+ COND_NOINPUT | COND_INGAME}
};
#endif // INPUT_KEYBOARDDATA_H
diff --git a/src/input/keydata.h b/src/input/keydata.h
index d0cbb8d3a..c36a11e7c 100644
--- a/src/input/keydata.h
+++ b/src/input/keydata.h
@@ -355,6 +355,8 @@ namespace Input
KEY_GUI_W,
KEY_PREV_SHORTCUTS_TAB,
KEY_NEXT_SHORTCUTS_TAB,
+ KEY_PREV_COMMANDS_TAB,
+ KEY_NEXT_COMMANDS_TAB,
KEY_TOTAL
};
} // namespace Input