diff options
author | Paul Gilbert | 2018-10-27 18:44:32 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | 9eb4debd158f0348c9a13f548c788d9f9d721f70 (patch) | |
tree | cd8d033e1e73671516b031738297cbfe8328b517 /engines/gargoyle/windows.h | |
parent | 7bbedcd099dfe552547b97482c1d974318d3ce16 (diff) | |
download | scummvm-rg350-9eb4debd158f0348c9a13f548c788d9f9d721f70.tar.gz scummvm-rg350-9eb4debd158f0348c9a13f548c788d9f9d721f70.tar.bz2 scummvm-rg350-9eb4debd158f0348c9a13f548c788d9f9d721f70.zip |
GLK: Logic for keypress event handling
Diffstat (limited to 'engines/gargoyle/windows.h')
-rw-r--r-- | engines/gargoyle/windows.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/gargoyle/windows.h b/engines/gargoyle/windows.h index b0ee311685..08408223d4 100644 --- a/engines/gargoyle/windows.h +++ b/engines/gargoyle/windows.h @@ -101,6 +101,23 @@ private: void refocus(Window *win); Window *iterateTreeOrder(Window *win); + + + /** + * Pick first window which has a more request + */ + void inputMoreFocus(); + + /** + * + */ + void inputNextFocus(); + + /** + * Pick first window which might want scrolling. + * This is called after pressing page keys. + */ + void inputScrollFocus(); public: static bool _overrideReverse; static bool _overrideFgSet; @@ -154,6 +171,11 @@ public: */ void inputGuessFocus(); + /** + * Handle input keypress + */ + void inputHandleKey(glui32 key); + void selectionChanged(); void clearClaimSelect() { _claimSelect = false; } |