diff options
author | Eugene Sandulenko | 2016-01-03 12:23:17 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-03 12:23:17 +0100 |
commit | 077048032b493c5ee81c0ccefaea9acac1a964ba (patch) | |
tree | f8e55b8b3dfce382377356d1e7561735b8ed75d2 /engines/wage/gui.h | |
parent | 330f4417e56fea4f004b756d20e43f08221566a5 (diff) | |
download | scummvm-rg350-077048032b493c5ee81c0ccefaea9acac1a964ba.tar.gz scummvm-rg350-077048032b493c5ee81c0ccefaea9acac1a964ba.tar.bz2 scummvm-rg350-077048032b493c5ee81c0ccefaea9acac1a964ba.zip |
WAGE: Refactored coordinate manipulation
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r-- | engines/wage/gui.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; |