summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
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;