aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.h')
-rw-r--r--gui/widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.h b/gui/widget.h
index 6c712ef264..9f366c46b7 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -271,13 +271,13 @@ public:
void setGfx(const Graphics::Surface *gfx);
- void useTransparency(bool state) { _transparency = state; }
+ void useAlpha(int alpha) { _alpha = alpha; }
protected:
void drawWidget(bool hilite);
Graphics::Surface _gfx;
- bool _transparency;
+ int _alpha;
};
/* ContainerWidget */