summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 14:43:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 14:43:47 +0300
commit972a29060fb65b058bf0aedbcaa4f563d189a9c1 (patch)
treeeed5d9a59bfe7eb65d6edcbcb443c31b3f5d702c /src/gui/popups/popupmenu.h
parent1cd50987bce69ada9ccea8c822ccd0ffb34cedde (diff)
downloadplus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.gz
plus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.bz2
plus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.xz
plus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.zip
Impliment context menu support for different inventory types.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 875645954..5b959cdaa 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -86,8 +86,10 @@ class PopupMenu final : public Popup, public LinkHandler
* Shows the related popup menu when right click on the inventory
* at the specified mouse coordinates.
*/
- void showPopup(Window *const parent, const int x, const int y,
- Item *const item, const bool isInventory);
+ void showPopup(Window *const parent,
+ const int x, const int y,
+ Item *const item,
+ const int type);
void showPopup(const int x, const int y, Button *const button);