From 3fe3ad7ee35c8bdb4aef298e2cfa52b43b94d88e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 28 Dec 2015 12:38:26 +0100 Subject: WAGE: Moved scene drawing calls to Gui class --- engines/wage/gui.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines/wage/gui.h') diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 0410686d3f..46899027d3 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -58,13 +58,20 @@ public: Gui(); ~Gui(); + void draw(); + void setScene(Scene *scene); + +private: void paintBorder(Graphics::Surface *g, int x, int y, int width, int height, bool active, bool scrollable, bool closeable, bool closeBoxPressed); -private: void drawBox(Graphics::Surface *g, int x, int y, int w, int h); void fillRect(Graphics::Surface *g, int x, int y, int w, int h); +private: + Graphics::Surface _screen; + Scene *_scene; + bool _sceneDirty; }; } // End of namespace Wage -- cgit v1.2.3