From 077048032b493c5ee81c0ccefaea9acac1a964ba Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 3 Jan 2016 12:23:17 +0100 Subject: WAGE: Refactored coordinate manipulation --- engines/wage/gui.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/wage/gui.h') diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 2fa9e7ab27..28e1934fd4 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -71,12 +71,13 @@ public: Designed *getClickTarget(int x, int y); private: - 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 paintBorder(Graphics::Surface *g, Common::Rect &r, WindowType windowType); + void renderConsole(Graphics::Surface *g, Common::Rect &r); 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); void loadFonts(); void renderMenu(); + void flowText(Common::String &str); private: WageEngine *_engine; -- cgit v1.2.3