From 1ef7beb8e80797d79ef7aa33275f391b8642d51c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 1 Jan 2016 18:48:16 +0100 Subject: WAGE: Stub for object clicking --- engines/wage/gui.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/wage/gui.h') diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 9573f57e25..f5e1ef5c9b 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -68,6 +68,7 @@ public: void setScene(Scene *scene); void appendText(Common::String &str); void mouseMove(int x, int y); + Designed *getClickTarget(int x, int y); private: void paintBorder(Graphics::Surface *g, int x, int y, int width, int height, WindowType windowType); @@ -82,6 +83,7 @@ private: Graphics::Surface _console; Scene *_scene; bool _sceneDirty; + bool _bordersDirty; Common::StringArray _out; Common::StringArray _lines; @@ -90,6 +92,8 @@ private: bool _builtInFonts; Common::Rect _consoleTextArea; + Common::Rect _sceneArea; + bool _sceneIsActive; bool _cursorIsArrow; }; -- cgit v1.2.3