From 972a29060fb65b058bf0aedbcaa4f563d189a9c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Jan 2015 14:43:47 +0300 Subject: Impliment context menu support for different inventory types. --- src/gui/popups/popupmenu.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/popups/popupmenu.h') 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); -- cgit v1.2.3-60-g2f50