summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-04-10 14:30:47 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-04-10 14:30:47 +0000
commit7dae9c05621375350727ad0e385d1ff44ac2e9aa (patch)
tree583a0a504725e150bfb20920a7100d41fffd4a39 /src/gui/itemcontainer.h
parentedace9a6b39498ade46f4f44cef1cea0a285a7c0 (diff)
downloadmana-7dae9c05621375350727ad0e385d1ff44ac2e9aa.tar.gz
mana-7dae9c05621375350727ad0e385d1ff44ac2e9aa.tar.bz2
mana-7dae9c05621375350727ad0e385d1ff44ac2e9aa.tar.xz
mana-7dae9c05621375350727ad0e385d1ff44ac2e9aa.zip
New selection in inventory instead of black rectangle
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h
index 0857ac9f..2cc0ed13 100644
--- a/src/gui/itemcontainer.h
+++ b/src/gui/itemcontainer.h
@@ -26,6 +26,7 @@
#include <iostream>
#include <guichan.hpp>
+#include "../graphics.h"
#include "../resources/image.h"
#include "../graphic/spriteset.h"
@@ -48,6 +49,7 @@ class ItemContainer : public gcn::Widget
private:
Spriteset *itemset;
+ Image *selImg;
int selectedItem;
int itemNumber;
ITEM_HOLDER items[INVENTORY_SIZE]; /**< this is the holder of items */