summaryrefslogtreecommitdiff
path: root/src/gui/popups/itempopup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/itempopup.h')
-rw-r--r--src/gui/popups/itempopup.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/popups/itempopup.h b/src/gui/popups/itempopup.h
index 4c63ff785..6072bc90c 100644
--- a/src/gui/popups/itempopup.h
+++ b/src/gui/popups/itempopup.h
@@ -60,7 +60,8 @@ class ItemPopup final : public Popup
void setItem(const ItemInfo &item,
const unsigned char color,
const bool showImage,
- int id);
+ int id,
+ const int *const cards);
void setItem(const Item *const item,
const bool showImage);
@@ -68,10 +69,13 @@ class ItemPopup final : public Popup
void mouseMoved(MouseEvent &event) override final;
private:
+ std::string getCardsString(const int *const cards);
+
Label *mItemName;
TextBox *mItemDesc;
TextBox *mItemEffect;
TextBox *mItemWeight;
+ TextBox *mItemCards;
ItemType::Type mItemType;
Icon *mIcon;
std::string mLastName;