From 86d441913287287baa56d6d262be9ee519840e96 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Sun, 27 Apr 2008 22:51:58 +0000 Subject: Switch to use our extended ScrollArea and use adjusted width to proper calculate the grid for itemcontainer. --- src/gui/inventorywindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/inventorywindow.h') 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; -- cgit v1.2.3-70-g09d2