diff options
author | Paul Gilbert | 2018-10-25 19:03:40 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | e14424c2b944ae9a9c5ce34158bd5e7e361ee994 (patch) | |
tree | 6ffcb338f879b2f4a0f3db6e0d07d3d3af764d56 /engines/gargoyle/window_text_grid.h | |
parent | 4266f3af130ddeddbed5da9d6c7aa4826ad94d96 (diff) | |
download | scummvm-rg350-e14424c2b944ae9a9c5ce34158bd5e7e361ee994.tar.gz scummvm-rg350-e14424c2b944ae9a9c5ce34158bd5e7e361ee994.tar.bz2 scummvm-rg350-e14424c2b944ae9a9c5ce34158bd5e7e361ee994.zip |
GLK: Adding more window glk methods
Diffstat (limited to 'engines/gargoyle/window_text_grid.h')
-rw-r--r-- | engines/gargoyle/window_text_grid.h | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/engines/gargoyle/window_text_grid.h b/engines/gargoyle/window_text_grid.h index 17fa96f5cc..9ff588b82e 100644 --- a/engines/gargoyle/window_text_grid.h +++ b/engines/gargoyle/window_text_grid.h @@ -123,6 +123,24 @@ public: virtual void click(const Common::Point &newPos) override; /** + * Cancel a hyperlink event + */ + virtual void cancelHyperlinkEvent() override { _hyperRequest = false; } + + /** + * Redraw the window + */ + virtual void redraw() override; + + virtual void acceptReadLine(glui32 arg) override; + + virtual void acceptReadChar(glui32 arg) override; + + virtual void getSize(glui32 *width, glui32 *height) const override; + + virtual void requestCharEvent() override { _charRequest = true; } + + /** * Prepare for inputing a line */ virtual void requestLineEvent(char *buf, glui32 maxlen, glui32 initlen) override; @@ -142,25 +160,13 @@ public: */ virtual void cancelMouseEvent() override { _mouseRequest = false; } - /** - * Cancel a hyperlink event - */ - virtual void cancelHyperlinkEvent() override { _hyperRequest = false; } - - /** - * Redraw the window - */ - virtual void redraw() override; - - virtual void acceptReadLine(glui32 arg) override; - - virtual void acceptReadChar(glui32 arg) override; + virtual void requestCharEventUni() override { _charRequestUni = true; } - virtual void getSize(glui32 *width, glui32 *height) override; + virtual void requestMouseEvent() override { _mouseRequest = true; } - virtual void requestCharEvent() override { _charRequest = true; } + virtual void requestHyperlinkEvent() override { _hyperRequest = true; } - virtual void requestCharEventUni() override { _charRequestUni = true; } + virtual void cancelCharEvent() override { _charRequest = _charRequestUni = false; } }; } // End of namespace Gargoyle |