summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-10 02:20:04 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-10 02:27:44 +0200
commit33afe8f744587b9a8da67e85298bb2e1c28d083d (patch)
tree807981f32e1f73da6f8719631b46fd493a0e7ae3 /src/gui/skilldialog.cpp
parent07e8a1b8408ed40cbf2031476627647057f62141 (diff)
downloadmana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.gz
mana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.bz2
mana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.xz
mana-client-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.cpp5
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()