diff options
Diffstat (limited to 'gui/widget.h')
-rw-r--r-- | gui/widget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widget.h b/gui/widget.h index 883343511f..56f4007a14 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -273,12 +273,14 @@ public: void setGfx(int w, int h, int r, int g, int b); void useAlpha(int alpha) { _alpha = alpha; } + void useThemeTransparency(bool enable) { _transparency = enable; } protected: void drawWidget(bool hilite); Graphics::Surface _gfx; int _alpha; + bool _transparency; }; /* ContainerWidget */ |