summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorDennis Friis <peavey@placid.dk>2008-04-27 22:51:58 +0000
committerDennis Friis <peavey@placid.dk>2008-04-27 22:51:58 +0000
commit86d441913287287baa56d6d262be9ee519840e96 (patch)
treec4574c9ad441b3d0cccfb1514436716111e3d982 /src/gui/inventorywindow.h
parent8dabd7f5160346c8670ae95f7e713b6156e5fc48 (diff)
downloadmana-86d441913287287baa56d6d262be9ee519840e96.tar.gz
mana-86d441913287287baa56d6d262be9ee519840e96.tar.bz2
mana-86d441913287287baa56d6d262be9ee519840e96.tar.xz
mana-86d441913287287baa56d6d262be9ee519840e96.zip
Switch to use our extended ScrollArea and use adjusted width to proper calculate the grid for itemcontainer.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 1a6e01af..c016f707 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -33,6 +33,7 @@
class Item;
class ItemContainer;
+class ScrollArea;
/**
* Inventory dialog.
@@ -78,7 +79,7 @@ class InventoryWindow : public Window, gcn::ActionListener,
ItemContainer *mItems;
gcn::Button *mUseButton, *mDropButton;
- gcn::ScrollArea *mInvenScroll;
+ ScrollArea *mInvenScroll;
gcn::Label *mItemNameLabel;
gcn::Label *mItemDescriptionLabel;
gcn::Label *mItemEffectLabel;