From 849220b6b6c8544f145ba9c480c499b4638b3c2b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 31 Dec 2015 17:55:33 +0100 Subject: WAGE: Simplified border drawing API --- engines/wage/gui.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/wage/gui.h') 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); -- cgit v1.2.3