summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-25 18:29:35 -0700
committerIra Rice <irarice@gmail.com>2009-01-25 18:29:35 -0700
commit6544a9fbe8c601f5333569a9f59131c3f6700595 (patch)
treef4d39cfb260d302aad2f2e6c112d634ec9a7ade3 /src/gui/inventorywindow.h
parentdecf5b650667830fcfe0838688ed0ca12481399f (diff)
downloadmana-6544a9fbe8c601f5333569a9f59131c3f6700595.tar.gz
mana-6544a9fbe8c601f5333569a9f59131c3f6700595.tar.bz2
mana-6544a9fbe8c601f5333569a9f59131c3f6700595.tar.xz
mana-6544a9fbe8c601f5333569a9f59131c3f6700595.zip
Modified the inventory window to be more TMW translation friendly.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 000112e8..33b6ff52 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -29,6 +29,7 @@
#include "window.h"
#include "../guichanfwd.h"
+#include "../localplayer.h"
class Item;
class ItemContainer;
@@ -45,7 +46,7 @@ class InventoryWindow : public Window, gcn::ActionListener,
/**
* Constructor.
*/
- InventoryWindow();
+ InventoryWindow(int invSize = INVENTORY_SIZE);
/**
* Logic (updates buttons and weight information).
@@ -76,6 +77,8 @@ class InventoryWindow : public Window, gcn::ActionListener,
gcn::ScrollArea *mInvenScroll;
gcn::Label *mWeightLabel;
+ int mSize;
+
bool mItemDesc;
};