summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-28 18:29:04 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-28 18:29:04 +0000
commit5943323aff9db6c1405177478564072e9d2214b3 (patch)
tree410aa9db803119f4ae1ee09883591f382390a5b1 /src/gui/inventorywindow.h
parenta59a96dc0f162a48f8cedcc804e9f89af3b1b9d3 (diff)
downloadmana-client-5943323aff9db6c1405177478564072e9d2214b3.tar.gz
mana-client-5943323aff9db6c1405177478564072e9d2214b3.tar.bz2
mana-client-5943323aff9db6c1405177478564072e9d2214b3.tar.xz
mana-client-5943323aff9db6c1405177478564072e9d2214b3.zip
Properly fix problems with ItemContainer in InventoryWindow not resizing
properly since upgrade to Guichan 0.8.0.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index c016f707..3222009f 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -33,7 +33,6 @@
class Item;
class ItemContainer;
-class ScrollArea;
/**
* Inventory dialog.
@@ -59,8 +58,6 @@ class InventoryWindow : public Window, gcn::ActionListener,
*/
void action(const gcn::ActionEvent &event);
- void mouseClicked(gcn::MouseEvent &event);
-
Item* getItem();
/**
@@ -68,6 +65,8 @@ class InventoryWindow : public Window, gcn::ActionListener,
*/
void valueChanged(const gcn::SelectionEvent &event);
+ void mouseClicked(gcn::MouseEvent &event);
+
/**
* Called whenever the widget changes size.
*/
@@ -79,7 +78,7 @@ class InventoryWindow : public Window, gcn::ActionListener,
ItemContainer *mItems;
gcn::Button *mUseButton, *mDropButton;
- ScrollArea *mInvenScroll;
+ gcn::ScrollArea *mInvenScroll;
gcn::Label *mItemNameLabel;
gcn::Label *mItemDescriptionLabel;
gcn::Label *mItemEffectLabel;