summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-26 11:05:46 -0700
committerIra Rice <irarice@gmail.com>2009-01-26 11:05:46 -0700
commit7a618a7f4f7c2efe2a6973cc37bc8283025e4782 (patch)
tree08a223d131f3e201ebd315bb1819804d39539728 /src/gui/inventorywindow.h
parent803e0dae01f09afbe529799cf89a8f57fe518ddb (diff)
downloadmana-client-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.tar.gz
mana-client-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.tar.bz2
mana-client-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.tar.xz
mana-client-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.zip
Modified the inventory window so that weight and slots used are shown as
progress bars. Suggestion made by Forge. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index da7c1cee..93b9c572 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -33,6 +33,7 @@
class Item;
class ItemContainer;
+class ProgressBar;
/**
* Inventory dialog.
@@ -77,7 +78,12 @@ class InventoryWindow : public Window, gcn::ActionListener,
std::string mMaxWeight;
gcn::Button *mUseButton, *mDropButton;
gcn::ScrollArea *mInvenScroll;
+
gcn::Label *mWeightLabel;
+ gcn::Label *mSlotsLabel;
+
+ ProgressBar *mWeightBar;
+ ProgressBar *mSlotsBar;
int mMaxSlots;