aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
authorEugene Sandulenko2014-05-09 19:00:49 +0300
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit75f9b099dc3e198c7a1750a6e26ac4945719492f (patch)
treea5d3f2f00771456d6bd5402175918debc20a0dc8 /gui/widget.h
parent38114eb760f842eb3145c9d1af62366cf2fab8ca (diff)
downloadscummvm-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.h3
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 */