summaryrefslogtreecommitdiff
path: root/src/gui/scrollarea.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 21:55:32 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 21:55:32 +0100
commit08c9cde4726f94698ea938d464cd1de95b7be587 (patch)
treef75128313418756395683398342cf808387ed390 /src/gui/scrollarea.h
parenta6623430aa11b02f93761d27c25db9bb4157ec6f (diff)
downloadmana-08c9cde4726f94698ea938d464cd1de95b7be587.tar.gz
mana-08c9cde4726f94698ea938d464cd1de95b7be587.tar.bz2
mana-08c9cde4726f94698ea938d464cd1de95b7be587.tar.xz
mana-08c9cde4726f94698ea938d464cd1de95b7be587.zip
Fixes some variable names to conform to naming convention
Please do remember that member variables are prefixes with 'm', so that they are easily distinguishable.
Diffstat (limited to 'src/gui/scrollarea.h')
-rw-r--r--src/gui/scrollarea.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/scrollarea.h b/src/gui/scrollarea.h
index 33ebc692..e9aa5ed2 100644
--- a/src/gui/scrollarea.h
+++ b/src/gui/scrollarea.h
@@ -30,6 +30,10 @@ class ImageRect;
/**
* A scroll area.
*
+ * Contrary to Guichan's scroll area, this scroll area takes ownership over its
+ * content. However, it won't delete a previously set content widget when
+ * setContent is called!
+ *
* \ingroup GUI
*/
class ScrollArea : public gcn::ScrollArea
@@ -38,12 +42,12 @@ class ScrollArea : public gcn::ScrollArea
/**
* Constructor.
*/
- ScrollArea(bool gc = true, bool opaque = true);
+ ScrollArea();
/**
* Constructor.
*/
- ScrollArea(gcn::Widget *content, bool gc = true, bool opaque = true);
+ ScrollArea(gcn::Widget *content);
/**
* Destructor.
@@ -106,7 +110,6 @@ class ScrollArea : public gcn::ScrollArea
static Image *buttons[4][2];
bool mOpaque;
- bool mGC;
};
#endif