summaryrefslogtreecommitdiff
path: root/src/gui/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventory.h')
-rw-r--r--src/gui/inventory.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h
index 969424fb..a035ee50 100644
--- a/src/gui/inventory.h
+++ b/src/gui/inventory.h
@@ -30,7 +30,6 @@
#include "itemcontainer.h"
#include "gui.h"
#include "window.h"
-#include "scrollarea.h"
/**
* Inventory dialog.
@@ -99,13 +98,12 @@ class InventoryWindow : public Window, gcn::ActionListener
ItemContainer *items;
private:
- gcn::Button *useButton, *dropButton;
- ScrollArea *invenScroll;
-
int useItem(int index, int id);
void updateWidgets(); /** Updates widgets size/position */
void updateButtons(); /** Updates button states */
+ gcn::Button *useButton, *dropButton;
+ gcn::ScrollArea *invenScroll;
gcn::Label *itemNameLabel;
gcn::Label *itemDescriptionLabel;
gcn::Label *weightLabel;