summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-01 22:31:44 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-01 22:31:44 +0200
commit9dd1d4339fd186927b35b64024ee88ba615f2a25 (patch)
treec18839b482fee2d8d1d83ac01bc4ae80b00f72a1
parent3700e0f030f61f715a7e8cfafae038662b0f2dcc (diff)
downloadmana-9dd1d4339fd186927b35b64024ee88ba615f2a25.tar.gz
mana-9dd1d4339fd186927b35b64024ee88ba615f2a25.tar.bz2
mana-9dd1d4339fd186927b35b64024ee88ba615f2a25.tar.xz
mana-9dd1d4339fd186927b35b64024ee88ba615f2a25.zip
Removed unused TabbedArea from SpecialsWindow
-rw-r--r--src/gui/specialswindow.cpp9
-rw-r--r--src/gui/specialswindow.h6
2 files changed, 0 insertions, 15 deletions
diff --git a/src/gui/specialswindow.cpp b/src/gui/specialswindow.cpp
index 7b6cf328..dd287791 100644
--- a/src/gui/specialswindow.cpp
+++ b/src/gui/specialswindow.cpp
@@ -28,12 +28,7 @@
#include "gui/widgets/container.h"
#include "gui/widgets/icon.h"
#include "gui/widgets/label.h"
-#include "gui/widgets/listbox.h"
#include "gui/widgets/progressbar.h"
-#include "gui/widgets/scrollarea.h"
-#include "gui/widgets/tab.h"
-#include "gui/widgets/tabbedarea.h"
-#include "gui/widgets/flowcontainer.h"
#include "gui/widgets/windowcontainer.h"
#include "net/net.h"
@@ -86,10 +81,6 @@ SpecialsWindow::SpecialsWindow():
setDefaultSize(windowContainer->getWidth() - 280, 40, SPECIALS_WIDTH + 20, 225);
setupWindow->registerWindowForReset(this);
- mTabs = new TabbedArea();
-
- place(0, 0, mTabs, 5, 5);
-
center();
loadWindowState();
}
diff --git a/src/gui/specialswindow.h b/src/gui/specialswindow.h
index d0647fc5..75ad3ef0 100644
--- a/src/gui/specialswindow.h
+++ b/src/gui/specialswindow.h
@@ -31,11 +31,6 @@
#include <map>
-class Label;
-class ScrollArea;
-class Tab;
-class TabbedArea;
-
struct SpecialEntry;
class SpecialsWindow : public Window, public gcn::ActionListener
@@ -59,7 +54,6 @@ class SpecialsWindow : public Window, public gcn::ActionListener
// (re)constructs the list of specials
void rebuild(const std::map<int, Special> &specialData);
- TabbedArea *mTabs;
std::map<int, SpecialEntry *> mEntries;
};