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