diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-21 23:53:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-22 12:23:26 +0300 |
commit | 5dd673aa6abe2a070de45388a885d03fcc037d70 (patch) | |
tree | b5bf80507501e7b77c4dbdbfc39989ebd6209a20 /src/input | |
parent | 66bc17a4099842f9a54c13c183842f561d63963f (diff) | |
download | mv-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.gz mv-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.bz2 mv-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.xz mv-5dd673aa6abe2a070de45388a885d03fcc037d70.zip |
allow open updater window from inside game.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/keyboarddata.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 5c3611233..963e43750 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -339,6 +339,7 @@ namespace InputAction GUI_F11, GUI_F12, WINDOW_ABOUT, + WINDOW_UPDATER, TOTAL }; } // namespace InputAction diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h index 636aa9268..76e5a15ab 100644 --- a/src/input/keyboarddata.h +++ b/src/input/keyboarddata.h @@ -2202,6 +2202,13 @@ static const KeyData keyData[InputAction::TOTAL] = { &ActionManager::aboutWindowShow, InputAction::NO_VALUE, 50, InputCondition::SHORTCUT0}, + {"keyWindowUpdater", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &ActionManager::updaterWindowShow, + InputAction::NO_VALUE, 50, + InputCondition::GAME} }; #endif // INPUT_KEYBOARDDATA_H |