diff options
author | Max Horn | 2007-06-30 12:26:59 +0000 |
---|---|---|
committer | Max Horn | 2007-06-30 12:26:59 +0000 |
commit | 2243197f502c06076f493151429e3188b9c2a760 (patch) | |
tree | e80f331d5cdd944cec632a74dd081a166858b093 /gui/widget.h | |
parent | 9720742722bc61bb3cb0c8240417816855ea4ef7 (diff) | |
download | scummvm-rg350-2243197f502c06076f493151429e3188b9c2a760.tar.gz scummvm-rg350-2243197f502c06076f493151429e3188b9c2a760.tar.bz2 scummvm-rg350-2243197f502c06076f493151429e3188b9c2a760.zip |
Changed GUI system to use Common::KeyState state
svn-id: r27786
Diffstat (limited to 'gui/widget.h')
-rw-r--r-- | gui/widget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/widget.h b/gui/widget.h index bf15081f79..c19059d32c 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -27,6 +27,7 @@ #include "common/scummsys.h" #include "common/str.h" +#include "common/keyboard.h" #include "graphics/font.h" #include "graphics/surface.h" #include "gui/object.h" @@ -127,8 +128,8 @@ public: virtual void handleMouseLeft(int button) {} virtual void handleMouseMoved(int x, int y, int button) {} virtual void handleMouseWheel(int x, int y, int direction) {} - virtual bool handleKeyDown(uint16 ascii, int keycode, int modifiers) { return false; } // Return true if the event was handled - virtual bool handleKeyUp(uint16 ascii, int keycode, int modifiers) { return false; } // Return true if the event was handled + virtual bool handleKeyDown(Common::KeyState state) { return false; } // Return true if the event was handled + virtual bool handleKeyUp(Common::KeyState state) { return false; } // Return true if the event was handled virtual void handleTickle() {} virtual void reflowLayout() { GuiObject::reflowLayout(); } |