diff options
author | Eugene Sandulenko | 2016-04-15 08:29:10 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-04-15 17:24:14 +0200 |
commit | 00399d27dbe3466b4734345bfb4879c056465f80 (patch) | |
tree | 7253b15092733d92f90554e73b458a619961f9ee /engines/wage/gui.h | |
parent | 1f06e3f5578e7b38045c58e0e6bd279038c891f7 (diff) | |
download | scummvm-rg350-00399d27dbe3466b4734345bfb4879c056465f80.tar.gz scummvm-rg350-00399d27dbe3466b4734345bfb4879c056465f80.tar.bz2 scummvm-rg350-00399d27dbe3466b4734345bfb4879c056465f80.zip |
WAGE: Switch to ManagedSurface
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r-- | engines/wage/gui.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 11e001b274..9d59e33bc2 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -51,7 +51,7 @@ #include "common/str-array.h" #include "graphics/font.h" #include "graphics/fontman.h" -#include "graphics/surface.h" +#include "graphics/managed_surface.h" #include "common/rect.h" #include "wage/macwindow.h" @@ -117,11 +117,11 @@ private: void drawConsole(); void undrawCursor(); void drawDesktop(); - void paintBorder(Graphics::Surface *g, Common::Rect &r, WindowType windowType, int highlightedPart = kBorderNone, + void paintBorder(Graphics::ManagedSurface *g, Common::Rect &r, WindowType windowType, int highlightedPart = kBorderNone, float scrollPos = 0.0, float scrollSize = 0.0); - 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, int color = kColorBlack); + void renderConsole(Graphics::ManagedSurface *g, Common::Rect &r); + void drawBox(Graphics::ManagedSurface *g, int x, int y, int w, int h); + void fillRect(Graphics::ManagedSurface *g, int x, int y, int w, int h, int color = kColorBlack); void loadFonts(); void flowText(Common::String &str); const Graphics::Font *getConsoleFont(); @@ -132,7 +132,7 @@ private: void updateTextSelection(int x, int y); public: - Graphics::Surface _screen; + Graphics::ManagedSurface _screen; int _cursorX, _cursorY; bool _cursorState; Common::Rect _consoleTextArea; @@ -149,7 +149,7 @@ public: bool _menuDirty; private: - Graphics::Surface _console; + Graphics::ManagedSurface _console; Menu *_menu; Scene *_scene; bool _sceneDirty; |