summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-13 20:04:03 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-13 20:04:03 +0200
commit932ca64763d5133c4e5d8f6f6d7ed0d582d0456e (patch)
tree68de441cebab14f15514f5798504565529a773ff /src/gui/equipmentwindow.h
parent3aba05585b85989b5d0927939812f612c3b0d4d9 (diff)
downloadmv-932ca64763d5133c4e5d8f6f6d7ed0d582d0456e.tar.gz
mv-932ca64763d5133c4e5d8f6f6d7ed0d582d0456e.tar.bz2
mv-932ca64763d5133c4e5d8f6f6d7ed0d582d0456e.tar.xz
mv-932ca64763d5133c4e5d8f6f6d7ed0d582d0456e.zip
Add arrows bar.
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r--src/gui/equipmentwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h
index d80535ed6..82a6454ba 100644
--- a/src/gui/equipmentwindow.h
+++ b/src/gui/equipmentwindow.h
@@ -66,6 +66,9 @@ class EquipmentWindow : public Window, public gcn::ActionListener
void mousePressed(gcn::MouseEvent& mouseEvent);
+ Item* getEquipment(int i)
+ { return mEquipment ? mEquipment->getEquipment(i) : 0; }
+
private:
void mouseExited(gcn::MouseEvent &event);
void mouseMoved(gcn::MouseEvent &event);