aboutsummaryrefslogtreecommitdiff
path: root/gui/Key.h
diff options
context:
space:
mode:
authorMax Horn2007-06-23 10:06:39 +0000
committerMax Horn2007-06-23 10:06:39 +0000
commit2bbe67afdf4d4df36fc100690cf87c8a75d5a354 (patch)
tree8c1f52f95f3799a25638a9b598865d8f8a5ccb5d /gui/Key.h
parent40e7a533ee30bc578a02b7ea76c4144a9ffeb549 (diff)
downloadscummvm-rg350-2bbe67afdf4d4df36fc100690cf87c8a75d5a354.tar.gz
scummvm-rg350-2bbe67afdf4d4df36fc100690cf87c8a75d5a354.tar.bz2
scummvm-rg350-2bbe67afdf4d4df36fc100690cf87c8a75d5a354.zip
Added more flexible KeyState constructor; updated comment in gui/Key.h
svn-id: r27654
Diffstat (limited to 'gui/Key.h')
-rw-r--r--gui/Key.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/Key.h b/gui/Key.h
index 9283a789ae..663293886b 100644
--- a/gui/Key.h
+++ b/gui/Key.h
@@ -32,7 +32,11 @@
namespace GUI {
-// TODO/FIXME: Make use of Common::KeyState from common/keyboard.h
+// TODO/FIXME: Make use of Common::KeyState from common/keyboard.h,
+// or even better, just completely replace this by it.
+// To be able to do that, though, the code using GUI::Key would need to
+// be adopted -- right now it uses SDL keycodes, and uses SDL_PushEvent
+// to generated fake events.
class Key {
public: