aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/gui.h
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-31 17:55:33 +0100
committerEugene Sandulenko2015-12-31 17:55:33 +0100
commit849220b6b6c8544f145ba9c480c499b4638b3c2b (patch)
tree30075b5865e7f92483f22ceda5e2ca829f1b638f /engines/wage/gui.h
parentf25663605bcb63c615bb4be9d6161b847ea5ce22 (diff)
downloadscummvm-rg350-849220b6b6c8544f145ba9c480c499b4638b3c2b.tar.gz
scummvm-rg350-849220b6b6c8544f145ba9c480c499b4638b3c2b.tar.bz2
scummvm-rg350-849220b6b6c8544f145ba9c480c499b4638b3c2b.zip
WAGE: Simplified border drawing API
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r--engines/wage/gui.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/wage/gui.h b/engines/wage/gui.h
index ea6af1ecf3..7be81baa54 100644
--- a/engines/wage/gui.h
+++ b/engines/wage/gui.h
@@ -54,6 +54,11 @@
namespace Wage {
+enum WindowType {
+ kWindowScene,
+ kWindowConsole
+};
+
class Gui {
public:
Gui();
@@ -64,9 +69,7 @@ public:
void appendText(Common::String &str);
private:
- void paintBorder(Graphics::Surface *g, int x, int y, int width, int height,
- bool active, bool scrollable, bool closeable, bool closeBoxPressed);
-
+ void paintBorder(Graphics::Surface *g, int x, int y, int width, int height, WindowType windowType);
void renderConsole(Graphics::Surface *g, int x, int y, int width, int height);
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);