summaryrefslogtreecommitdiff
path: root/src/gui/scrollarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/scrollarea.h')
-rw-r--r--src/gui/scrollarea.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/scrollarea.h b/src/gui/scrollarea.h
index 26c87e0e..ce745ba8 100644
--- a/src/gui/scrollarea.h
+++ b/src/gui/scrollarea.h
@@ -55,6 +55,16 @@ class ScrollArea : public gcn::ScrollArea {
*/
void drawBorder(gcn::Graphics *graphics);
+ /**
+ * Sets whether the widget should draw its background or not.
+ */
+ void setOpaque(bool opaque);
+
+ /**
+ * Returns whether the widget draws its background or not.
+ */
+ bool isOpaque();
+
protected:
/**
* Initializes the scroll area.
@@ -77,6 +87,7 @@ class ScrollArea : public gcn::ScrollArea {
Image *hscroll_left_pressed, *hscroll_right_pressed,
*vscroll_down_pressed, *vscroll_up_pressed;
float guiAlpha;
+ bool opaque;
};
#endif