diff options
author | Eugene Sandulenko | 2015-12-28 12:38:26 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-28 12:38:26 +0100 |
commit | 3fe3ad7ee35c8bdb4aef298e2cfa52b43b94d88e (patch) | |
tree | 7604f73119eac208bb04977b2263e632c24f4fb5 /engines/wage/gui.h | |
parent | 13a62ce1a130631cd42fba0901bd5f4b908a5376 (diff) | |
download | scummvm-rg350-3fe3ad7ee35c8bdb4aef298e2cfa52b43b94d88e.tar.gz scummvm-rg350-3fe3ad7ee35c8bdb4aef298e2cfa52b43b94d88e.tar.bz2 scummvm-rg350-3fe3ad7ee35c8bdb4aef298e2cfa52b43b94d88e.zip |
WAGE: Moved scene drawing calls to Gui class
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r-- | engines/wage/gui.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 |