summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-14 17:39:14 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-14 20:37:31 +0300
commit9fc07b15f1b051eecd662802162772804dc77b8e (patch)
treed100d50693fc19edb32d01b9189603bdd3254bd2 /src/gui/inventorywindow.cpp
parent78ae06d2c7b565afe67c5032c872d68a74ea210a (diff)
downloadplus-9fc07b15f1b051eecd662802162772804dc77b8e.tar.gz
plus-9fc07b15f1b051eecd662802162772804dc77b8e.tar.bz2
plus-9fc07b15f1b051eecd662802162772804dc77b8e.tar.xz
plus-9fc07b15f1b051eecd662802162772804dc77b8e.zip
Rename class InventoryFilter to RadioGroup.
Add WidgetGroup and TabStrip classes for grouping controls.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index f905bb5b9..d6fb95fe7 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -41,13 +41,13 @@
#include "gui/widgets/button.h"
#include "gui/widgets/container.h"
#include "gui/widgets/dropdown.h"
-#include "gui/widgets/inventoryfilter.h"
#include "gui/widgets/itemcontainer.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layout.h"
#include "gui/widgets/progressbar.h"
#include "gui/widgets/radiobutton.h"
#include "gui/widgets/scrollarea.h"
+#include "gui/widgets/tabstrip.h"
#include "gui/widgets/textfield.h"
#include "net/inventoryhandler.h"
@@ -139,7 +139,7 @@ InventoryWindow::InventoryWindow(Inventory *inventory):
mSlotsBar = new ProgressBar(0.0f, 100, 20, Theme::PROG_INVY_SLOTS);
int size = config.getIntValue("fontSize");
- mFilter = new InventoryFilter("filter_" + getWindowName(), size, 0);
+ mFilter = new TabStrip("filter_" + getWindowName(), size + 8, 0);
mFilter->addActionListener(this);
mFilter->setActionEventId("tag_");