aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.h
diff options
context:
space:
mode:
authorMax Horn2002-11-22 14:02:54 +0000
committerMax Horn2002-11-22 14:02:54 +0000
commit17cf386e8820fe312eb216c9be93d6d309f512e1 (patch)
tree2288df14ecb66e7637da7034ed9578323ef89bc2 /gui/ListWidget.h
parent6b2f898bdd67bdd37d0d65674dbc831a0b33aa0d (diff)
downloadscummvm-rg350-17cf386e8820fe312eb216c9be93d6d309f512e1.tar.gz
scummvm-rg350-17cf386e8820fe312eb216c9be93d6d309f512e1.tar.bz2
scummvm-rg350-17cf386e8820fe312eb216c9be93d6d309f512e1.zip
changed the key input system in NewGUI: pass both the keycode and the ascii value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225)
svn-id: r5691
Diffstat (limited to 'gui/ListWidget.h')
-rw-r--r--gui/ListWidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index a378414958..1d1cb6c626 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -74,8 +74,8 @@ public:
virtual void handleMouseDown(int x, int y, int button, int clickCount);
virtual void handleMouseUp(int x, int y, int button, int clickCount);
virtual void handleMouseWheel(int x, int y, int direction);
- virtual bool handleKeyDown(char key, int modifiers);
- virtual bool handleKeyUp(char key, int modifiers);
+ virtual bool handleKeyDown(uint16 ascii, int keycode, int modifiers);
+ virtual bool handleKeyUp(uint16 ascii, int keycode, int modifiers);
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
virtual bool wantsFocus() { return true; };