diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:43:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:43:47 +0300 |
commit | 972a29060fb65b058bf0aedbcaa4f563d189a9c1 (patch) | |
tree | eed5d9a59bfe7eb65d6edcbcb443c31b3f5d702c /src/gui/popups/popupmenu.h | |
parent | 1cd50987bce69ada9ccea8c822ccd0ffb34cedde (diff) | |
download | manaplus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.gz manaplus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.bz2 manaplus-972a29060fb65b058bf0aedbcaa4f563d189a9c1.tar.xz manaplus-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.h | 6 |
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); |