From 9eb4debd158f0348c9a13f548c788d9f9d721f70 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 27 Oct 2018 18:44:32 -0700 Subject: GLK: Logic for keypress event handling --- engines/gargoyle/windows.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'engines/gargoyle/windows.h') 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; } -- cgit v1.2.3