summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r--src/gui/equipmentwindow.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h
index 0b3aede0..c491062a 100644
--- a/src/gui/equipmentwindow.h
+++ b/src/gui/equipmentwindow.h
@@ -28,6 +28,8 @@
class Equipment;
class Inventory;
+class Item;
+class ItemPopup;
class PlayerBox;
/**
@@ -50,7 +52,7 @@ class EquipmentWindow : public Window, public gcn::ActionListener
/**
* Constructor.
*/
- EquipmentWindow(Equipment *equipment);
+ EquipmentWindow();
/**
* Destructor.
@@ -84,11 +86,18 @@ class EquipmentWindow : public Window, public gcn::ActionListener
private:
+ void mouseExited(gcn::MouseEvent &event);
+ void mouseMoved(gcn::MouseEvent &event);
+
+ Item* getItem(const int &x, const int &y);
+
Equipment *mEquipment;
Inventory *mInventory;
gcn::Button *mUnequip; /**< Button for unequipping. */
EquipBox mEquipBox[EQUIP_VECTOREND]; /**< Equipment Boxes. */
+ ItemPopup *mItemPopup;
+
PlayerBox *mPlayerBox;
int mSelected; /**< Index of selected item. */