summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 16:05:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 16:05:23 +0300
commitd6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb (patch)
tree440b21fa9ec5ced1e0222ef42c7aa5f24dbfc39c /src/gui/popups/popupmenu.h
parent3f5c128b889b4cb41f9782fe1531c55e7d07432f (diff)
downloadmanaplus-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.tar.gz
manaplus-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.tar.bz2
manaplus-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.tar.xz
manaplus-d6b7cd3b259512cd28e1b5a82861ef8b11b2b7cb.zip
Use InventoryType for inventory type.
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 5b959cdaa..0274d69a4 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -23,6 +23,8 @@
#ifndef GUI_POPUPS_POPUPMENU_H
#define GUI_POPUPS_POPUPMENU_H
+#include "enums/inventorytype.h"
+
#include "gui/widgets/linkhandler.h"
#include "gui/widgets/popup.h"
@@ -89,7 +91,7 @@ class PopupMenu final : public Popup, public LinkHandler
void showPopup(Window *const parent,
const int x, const int y,
Item *const item,
- const int type);
+ const InventoryType::Type type);
void showPopup(const int x, const int y, Button *const button);