diff options
author | Eugene Sandulenko | 2014-05-09 19:00:49 +0300 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 75f9b099dc3e198c7a1750a6e26ac4945719492f (patch) | |
tree | a5d3f2f00771456d6bd5402175918debc20a0dc8 /gui/widget.h | |
parent | 38114eb760f842eb3145c9d1af62366cf2fab8ca (diff) | |
download | scummvm-rg350-75f9b099dc3e198c7a1750a6e26ac4945719492f.tar.gz scummvm-rg350-75f9b099dc3e198c7a1750a6e26ac4945719492f.tar.bz2 scummvm-rg350-75f9b099dc3e198c7a1750a6e26ac4945719492f.zip |
GUI: Added possibility to specify scale mode for AlphaBitmaps
Diffstat (limited to 'gui/widget.h')
-rw-r--r-- | gui/widget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widget.h b/gui/widget.h index 5e3eea73a0..e2e8bffa7e 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -362,7 +362,7 @@ public: void setGfx(const Graphics::Surface *gfx); void setGfx(int w, int h, int r, int g, int b); - void setAGfx(const Graphics::TransparentSurface *gfx); + void setAGfx(const Graphics::TransparentSurface *gfx, ThemeEngine::AutoScaleMode mode = ThemeEngine::kAutoScaleNone); void useAlpha(int alpha) { _alpha = alpha; } void useThemeTransparency(bool enable) { _transparency = enable; } @@ -374,6 +374,7 @@ protected: Graphics::TransparentSurface _agfx; int _alpha; bool _transparency; + ThemeEngine::AutoScaleMode _mode; }; /* ContainerWidget */ |