From 197b8ef1b728aca409a3a5bd2ac6d52142c6ce4c Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 9 Dec 2008 11:11:03 +0000 Subject: Make the window shortcuts configurable --- src/keyboardconfig.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/keyboardconfig.cpp') 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() -- cgit v1.2.3-70-g09d2