diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-26 11:05:46 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-26 11:05:46 -0700 |
commit | 7a618a7f4f7c2efe2a6973cc37bc8283025e4782 (patch) | |
tree | 08a223d131f3e201ebd315bb1819804d39539728 /src/gui/inventorywindow.h | |
parent | 803e0dae01f09afbe529799cf89a8f57fe518ddb (diff) | |
download | mana-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.tar.gz mana-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.tar.bz2 mana-7a618a7f4f7c2efe2a6973cc37bc8283025e4782.tar.xz mana-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.h | 6 |
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; |