summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-28 02:12:32 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-28 02:12:32 +0300
commit7898fc26ca13913637bd84008df016763358d082 (patch)
tree13ffeeab17bebd8e79391bfc75cc3cd38d068cdc /src/gui/widgets/scrollarea.h
parentf60d54307c20d4150e630620dbe0be62b2a1b8a5 (diff)
downloadplus-7898fc26ca13913637bd84008df016763358d082.tar.gz
plus-7898fc26ca13913637bd84008df016763358d082.tar.bz2
plus-7898fc26ca13913637bd84008df016763358d082.tar.xz
plus-7898fc26ca13913637bd84008df016763358d082.zip
Simplify scrollarea opaque flag.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index 53a79d20f..335d810b2 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -46,14 +46,14 @@ class ScrollArea : public gcn::ScrollArea, public gcn::WidgetListener
* Constructor that takes no content. Needed for use with the DropDown
* class.
*/
- ScrollArea();
+ ScrollArea(bool opaque = true);
/**
* Constructor.
*
* @param content the initial content to show in the scroll area
*/
- ScrollArea(gcn::Widget *content);
+ ScrollArea(gcn::Widget *content, bool opaque = true);
/**
* Destructor. Also deletes the content.