diff options
author | David Eriksson | 2003-11-02 20:42:36 +0000 |
---|---|---|
committer | David Eriksson | 2003-11-02 20:42:36 +0000 |
commit | 3ca74e5d4a1a30b2fb38e8c7d12794ea3cb9c247 (patch) | |
tree | 70457c0f8908f0c235944b247981c28c60bba305 /queen/input.h | |
parent | af19319a246100cf1164538589389258f8409d43 (diff) | |
download | scummvm-rg350-3ca74e5d4a1a30b2fb38e8c7d12794ea3cb9c247.tar.gz scummvm-rg350-3ca74e5d4a1a30b2fb38e8c7d12794ea3cb9c247.tar.bz2 scummvm-rg350-3ca74e5d4a1a30b2fb38e8c7d12794ea3cb9c247.zip |
Enable keys for panel commands.
svn-id: r11063
Diffstat (limited to 'queen/input.h')
-rw-r--r-- | queen/input.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/queen/input.h b/queen/input.h index 6c9d15b1bc..d82bbd05b4 100644 --- a/queen/input.h +++ b/queen/input.h @@ -45,7 +45,7 @@ class Input { MOUSE_RBUTTON = 2 }; - Input(OSystem *system); + Input(Language language, OSystem *system); //! calls the other delay() with a value adjusted depending on _fastMode void delay(); @@ -96,6 +96,11 @@ class Input { KEY_F1 = 282 }; + + enum + { + LANGUAGE_COUNT = 6 + }; //! Used to get keyboard and mouse events OSystem *_system; @@ -127,6 +132,11 @@ class Input { //! Set by delay(); int _mouseButton; + //! Command keys for current language + const char* _currentCommandKeys; + + //! Command keys for all languages + static const char* _commandKeys[LANGUAGE_COUNT]; }; } // End of namespace Queen |