summaryrefslogtreecommitdiff
path: root/src/gui/inventory.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 19:16:37 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 19:16:37 +0000
commit7e32d2c5d49b44aae5a9581b2804a05d03490757 (patch)
tree9fd21e249ea27b8f7db79f8fd3a6cd243bab09bb /src/gui/inventory.h
parent53b96e03b7a5ac2f62171db328df543de908d9e3 (diff)
downloadmana-7e32d2c5d49b44aae5a9581b2804a05d03490757.tar.gz
mana-7e32d2c5d49b44aae5a9581b2804a05d03490757.tar.bz2
mana-7e32d2c5d49b44aae5a9581b2804a05d03490757.tar.xz
mana-7e32d2c5d49b44aae5a9581b2804a05d03490757.zip
Item icons now displayed as 32x32.
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;