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.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h
index 21ffe6bc..87a99b07 100644
--- a/src/gui/inventory.h
+++ b/src/gui/inventory.h
@@ -40,12 +40,11 @@
#define INVENTORY_SIZE 100
struct ITEM_HOLDER { // the holder of a item
- int id; // the id of the item
- int quantity; // number of items
- //int index; // item position
+ int id; // the id of the item
+ int quantity; // number of items
+ //int index; // item position
};
-
/**
* Inventory dialog.
*
@@ -53,7 +52,14 @@ struct ITEM_HOLDER { // the holder of a item
*/
class InventoryWindow : public Window {
public:
- InventoryWindow(gcn::Container *parent);
+ /**
+ * Constructor.
+ */
+ InventoryWindow();
+
+ /**
+ * Destructor.
+ */
~InventoryWindow();
/**
@@ -77,7 +83,7 @@ class InventoryWindow : public Window {
int changeQuantity(int index, int quantity);
/**
- * Increase quantity of an item
+ * Increase quantity of an item.
*/
int increaseQuantity(int index, int quantity);