diff options
author | Eugene Sandulenko | 2014-05-29 21:48:14 +0300 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | c6e04845cc753fa219ed5c66a330eabccf2839c7 (patch) | |
tree | bb8b8140e821e8fde40a0e07819142fba094fa41 | |
parent | 1359255ea83f596fbce3332d7d54f9acbc4daf4d (diff) | |
download | scummvm-rg350-c6e04845cc753fa219ed5c66a330eabccf2839c7.tar.gz scummvm-rg350-c6e04845cc753fa219ed5c66a330eabccf2839c7.tar.bz2 scummvm-rg350-c6e04845cc753fa219ed5c66a330eabccf2839c7.zip |
GUI: Switched GUI to draw on TransparentSurface
-rw-r--r-- | graphics/VectorRenderer.h | 4 | ||||
-rw-r--r-- | gui/ThemeEngine.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index c21f780112..2c32761ed4 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -285,7 +285,7 @@ public: * * @param surface Pointer to a Surface object. */ - virtual void setSurface(Surface *surface) { + virtual void setSurface(TransparentSurface *surface) { _activeSurface = surface; } @@ -522,7 +522,7 @@ public: virtual void applyScreenShading(GUI::ThemeEngine::ShadingStyle) = 0; protected: - Surface *_activeSurface; /**< Pointer to the surface currently being drawn */ + TransparentSurface *_activeSurface; /**< Pointer to the surface currently being drawn */ FillMode _fillMode; /**< Defines in which way (if any) are filled the drawn shapes */ ShadowFillMode _shadowFillMode; diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index 42e5dbfeca..f4a8b1ed0a 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -686,10 +686,10 @@ protected: GUI::ThemeEval *_themeEval; /** Main screen surface. This is blitted straight into the overlay. */ - Graphics::Surface _screen; + Graphics::TransparentSurface _screen; /** Backbuffer surface. Stores previous states of the screen to blit back */ - Graphics::Surface _backBuffer; + Graphics::TransparentSurface _backBuffer; /** Sets whether the current drawing is being buffered (stored for later processing) or drawn directly to the screen. */ |