summaryrefslogtreecommitdiff
path: root/src/gui/windowcontainer.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-23 16:02:00 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-23 16:02:00 +0000
commit05a12d5568111fa13759026442ed358605bf9a28 (patch)
tree9948a2351c846dee1b36f25a90d1429aa78dda23 /src/gui/windowcontainer.h
parent3737fb9fd3ff6072f83bdc514f88ad0fdbf4da6c (diff)
downloadmana-05a12d5568111fa13759026442ed358605bf9a28.tar.gz
mana-05a12d5568111fa13759026442ed358605bf9a28.tar.bz2
mana-05a12d5568111fa13759026442ed358605bf9a28.tar.xz
mana-05a12d5568111fa13759026442ed358605bf9a28.zip
A bunch of mostly cosmetic cleanups.
Diffstat (limited to 'src/gui/windowcontainer.h')
-rw-r--r--src/gui/windowcontainer.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gui/windowcontainer.h b/src/gui/windowcontainer.h
index 533e42e4..b860fa3c 100644
--- a/src/gui/windowcontainer.h
+++ b/src/gui/windowcontainer.h
@@ -34,11 +34,6 @@
class WindowContainer : public gcn::Container {
public:
/**
- * Constructor.
- */
- WindowContainer();
-
- /**
* Do GUI logic. This functions adds automatic deletion of objects that
* volunteered to be deleted.
*/
@@ -50,11 +45,13 @@ class WindowContainer : public gcn::Container {
*/
void scheduleDelete(gcn::Widget *widget);
- protected:
+ private:
/**
* List of widgets that are scheduled to be deleted.
*/
- std::list<gcn::Widget*> deathList;
+ typedef std::list<gcn::Widget*> Widgets;
+ typedef Widgets::iterator WidgetIterator;
+ Widgets mDeathList;
};
#endif