summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.h
diff options
context:
space:
mode:
authorCedric Borgese <cedric.borgese@gmail.com>2005-07-22 17:27:59 +0000
committerCedric Borgese <cedric.borgese@gmail.com>2005-07-22 17:27:59 +0000
commit5731ddbf5ef5fa1556a7c5f84c0c71865a15499b (patch)
tree967cfacdf62a8930be9691152746b6f0e6b35a6e /src/gui/popupmenu.h
parent4333effa0e80c996c91e4014cf449c30a32120b7 (diff)
downloadmana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.tar.gz
mana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.tar.bz2
mana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.tar.xz
mana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.zip
Merge between moi1392's branch and head
Diffstat (limited to 'src/gui/popupmenu.h')
-rw-r--r--src/gui/popupmenu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h
index cfafc739..45c5c446 100644
--- a/src/gui/popupmenu.h
+++ b/src/gui/popupmenu.h
@@ -53,6 +53,11 @@ class PopupMenu : public Window, public LinkHandler
void showPopup(int mx, int my);
/**
+ * Shows the related popup menu when right click on the inventory
+ */
+ void showPopup(int mx, int my, class Item *item);
+
+ /**
* Handles link action.
*/
void handleLink(const std::string& link);
@@ -63,6 +68,8 @@ class PopupMenu : public Window, public LinkHandler
Being* being;
FloorItem* floorItem;
+
+ class Item *m_item;
};
extern PopupMenu *popupMenu;