summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-12-09 11:11:03 +0000
committerIra Rice <irarice@gmail.com>2008-12-09 12:45:17 -0700
commit197b8ef1b728aca409a3a5bd2ac6d52142c6ce4c (patch)
tree9ea07dac6626adb9c0ef77ffebc0081e867391c3 /src/keyboardconfig.cpp
parentb06085f83ecf8e801aac26546498de73b02f90fa (diff)
downloadmana-client-197b8ef1b728aca409a3a5bd2ac6d52142c6ce4c.tar.gz
mana-client-197b8ef1b728aca409a3a5bd2ac6d52142c6ce4c.tar.bz2
mana-client-197b8ef1b728aca409a3a5bd2ac6d52142c6ce4c.tar.xz
mana-client-197b8ef1b728aca409a3a5bd2ac6d52142c6ce4c.zip
Make the window shortcuts configurable
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r--src/keyboardconfig.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index f67c9534..ea40ff38 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -59,7 +59,16 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
{"keyShortcut6", SDLK_6, "Item Shortcut 6"},
{"keyShortcut7", SDLK_7, "Item Shortcut 7"},
{"keyShortcut8", SDLK_8, "Item Shortcut 8"},
- {"keyShortcut9", SDLK_9, "Item Shortcut 9"}
+ {"keyShortcut9", SDLK_9, "Item Shortcut 9"},
+ {"keyWindowStatus", SDLK_F2, "Status Window"},
+ {"keyWindowInventory", SDLK_F3, "Inventory Window"},
+ {"keyWindowEquipment", SDLK_F4, "Equipment WIndow"},
+ {"keyWindowSkill", SDLK_F5, "Skill Window"},
+ {"keyWindowMinimap", SDLK_F6, "Minimap Window"},
+ {"keyWindowChat", SDLK_F7, "Chat Window"},
+ {"keyWindowShortcut", SDLK_F8, "Item Shortcut Window"},
+ {"keyWindowSetup", SDLK_F9, "Setup Window"},
+ {"keyWindowDebug", SDLK_F10, "Debug Window"}
};
void KeyboardConfig::init()