aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.h')
-rw-r--r--gui/widget.h2
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 */