diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-10 02:20:04 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-10 02:27:44 +0200 |
commit | 33afe8f744587b9a8da67e85298bb2e1c28d083d (patch) | |
tree | 807981f32e1f73da6f8719631b46fd493a0e7ae3 /src/gui/skilldialog.cpp | |
parent | 07e8a1b8408ed40cbf2031476627647057f62141 (diff) | |
download | mana-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.gz mana-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.bz2 mana-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.xz mana-33afe8f744587b9a8da67e85298bb2e1c28d083d.zip |
Reduced the GCContainer to be even more trivial
A container that deletes all its children on destruction doesn't have to
be so complicated. Also renamed it to simply Container, since I think it
should simply be default behavior.
WindowContainer and Popup classes now inherit from this Container.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r-- | src/gui/skilldialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index 5788aa99..c3ff1ded 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -22,7 +22,7 @@ #include "gui/skilldialog.h" #include "gui/widgets/button.h" -#include "gui/widgets/gccontainer.h" +#include "gui/widgets/container.h" #include "gui/widgets/icon.h" #include "gui/widgets/label.h" #include "gui/widgets/listbox.h" @@ -40,7 +40,7 @@ #include <string> #include <vector> -class SkillTab : public GCContainer, public gcn::ActionListener +class SkillTab : public Container, public gcn::ActionListener { public: /** @@ -197,7 +197,6 @@ SkillTab::SkillTab(const std::string &type): type(type) } update(); - } int SkillTab::getSkillNum() |