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 0f4b300233..28d7a5b8c0 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -226,6 +226,7 @@ public:
void useAlpha(int alpha) { _alpha = alpha; }
void useThemeTransparency(bool enable) { _transparency = enable; }
+ void setButtonDisplay(bool enable) {_showButton = enable; }
protected:
void drawWidget();
@@ -233,6 +234,7 @@ protected:
Graphics::Surface _gfx;
int _alpha;
bool _transparency;
+ bool _showButton;
};
/* CheckboxWidget */