diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-15 21:55:32 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-15 21:55:32 +0100 |
commit | 08c9cde4726f94698ea938d464cd1de95b7be587 (patch) | |
tree | f75128313418756395683398342cf808387ed390 /src/gui/scrollarea.cpp | |
parent | a6623430aa11b02f93761d27c25db9bb4157ec6f (diff) | |
download | mana-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.cpp')
-rw-r--r-- | src/gui/scrollarea.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index bc3a62dc..70504a03 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -35,18 +35,16 @@ ImageRect ScrollArea::background; ImageRect ScrollArea::vMarker; Image *ScrollArea::buttons[4][2]; -ScrollArea::ScrollArea(bool gc, bool opaque): +ScrollArea::ScrollArea(): gcn::ScrollArea(), - mOpaque(opaque), - mGC(gc) + mOpaque(true) { init(); } -ScrollArea::ScrollArea(gcn::Widget *widget, bool gc, bool opaque): +ScrollArea::ScrollArea(gcn::Widget *widget): gcn::ScrollArea(widget), - mOpaque(opaque), - mGC(gc) + mOpaque(true) { init(); } @@ -54,8 +52,7 @@ ScrollArea::ScrollArea(gcn::Widget *widget, bool gc, bool opaque): ScrollArea::~ScrollArea() { // Garbage collection - if (mGC) - delete getContent(); + delete getContent(); instances--; |