diff options
author | Max Horn | 2007-06-23 00:05:32 +0000 |
---|---|---|
committer | Max Horn | 2007-06-23 00:05:32 +0000 |
commit | f97cbb8294eb35fbd3af38fbe37ac35a82c64121 (patch) | |
tree | 24c3759ff046655ad439dd8fd51b165bc4a1a25b /gui/Key.h | |
parent | 05a70fc8e404bd2003e8faa3bc1d4564918eca03 (diff) | |
download | scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.tar.gz scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.tar.bz2 scummvm-rg350-f97cbb8294eb35fbd3af38fbe37ac35a82c64121.zip |
Update GUI::Key constructs
svn-id: r27643
Diffstat (limited to 'gui/Key.h')
-rw-r--r-- | gui/Key.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -32,13 +32,18 @@ namespace GUI { +// TODO/FIXME: Make use of Common::KeyState from common/keyboard.h + class Key { public: - Key(int ascii, int keycode = 0, int flags = 0); + Key(int ascii); + Key(int ascii, int keycode, int flags = 0); Key(); - void setAscii(int ascii); - void setKeycode(int keycode); - void setFlags(int flags); + + void setKey(int ascii); + void setKey(int ascii, int keycode); + void setKey(int ascii, int keycode, int flags); + int ascii(); int keycode(); int flags(); |