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.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/scrollarea.h b/src/gui/scrollarea.h
index dd1f946d..be361f68 100644
--- a/src/gui/scrollarea.h
+++ b/src/gui/scrollarea.h
@@ -40,12 +40,12 @@ class ScrollArea : public gcn::ScrollArea
/**
* Constructor.
*/
- ScrollArea(bool gc=true);
+ ScrollArea(bool gc = true);
/**
* Constructor.
*/
- ScrollArea(gcn::Widget *content, bool gc=true);
+ ScrollArea(gcn::Widget *content, bool gc = true);
/**
* Destructor.
@@ -71,14 +71,12 @@ class ScrollArea : public gcn::ScrollArea
/**
* Sets whether the widget should draw its background or not.
*/
- void
- setOpaque(bool opaque);
+ void setOpaque(bool opaque);
/**
* Returns whether the widget draws its background or not.
*/
- bool
- isOpaque() { return mOpaque; }
+ bool isOpaque() const { return mOpaque; }
protected:
enum BUTTON_DIR {