diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-30 20:51:36 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-30 20:51:36 +0200 |
commit | ebe29a9410458abac19c4ba10d5dce476e7ca34b (patch) | |
tree | bd8d2e2d3fb57822562d5b253a1cfd2057061e39 /src/gui/equipmentwindow.h | |
parent | 005a76ce5d539666022c80eb5b0c1dd760db19e7 (diff) | |
download | mana-client-ebe29a9410458abac19c4ba10d5dce476e7ca34b.tar.gz mana-client-ebe29a9410458abac19c4ba10d5dce476e7ca34b.tar.bz2 mana-client-ebe29a9410458abac19c4ba10d5dce476e7ca34b.tar.xz mana-client-ebe29a9410458abac19c4ba10d5dce476e7ca34b.zip |
Made the popup-menu work again for equip/unequip processes.
I disabled the drop from equipment window since it was more
simple to implement, and because it seemed useless or even bad
for the user experience to me.
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r-- | src/gui/equipmentwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index b8e63efc..57a13d40 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -58,6 +58,12 @@ class EquipmentWindow : public Window, public gcn::ActionListener */ void loadEquipBoxes(); + /** + * Returns the current selected slot or -1 if none. + */ + int getSelected() + { return mSelected; } + protected: /** * Equipment box. |