summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-14 18:38:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-14 20:11:10 +0300
commit21d0f7cd7b0d8474f1043ae4f283a58ea6d8b352 (patch)
treec72ace46fabdfd0b83b1cd3b9c5efd89e462da1d /src/gui
parenta442a20199c27838604da514ffc67ae87d4f8433 (diff)
downloadmanaverse-21d0f7cd7b0d8474f1043ae4f283a58ea6d8b352.tar.gz
manaverse-21d0f7cd7b0d8474f1043ae4f283a58ea6d8b352.tar.bz2
manaverse-21d0f7cd7b0d8474f1043ae4f283a58ea6d8b352.tar.xz
manaverse-21d0f7cd7b0d8474f1043ae4f283a58ea6d8b352.zip
Add card item type.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/itempopup.cpp1
-rw-r--r--src/gui/theme.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index 6121c288f..1c38e9eec 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -265,6 +265,7 @@ void ItemPopup::setLabelColor(Label *label, const ItemType::Type type) const
caseSetColor(ItemType::EQUIPMENT_CHARM, ThemeColorId::CHARM)
caseSetColor(ItemType::SPRITE_RACE, ThemeColorId::UNKNOWN_ITEM)
caseSetColor(ItemType::SPRITE_HAIR, ThemeColorId::UNKNOWN_ITEM)
+ caseSetColor(ItemType::CARD, ThemeColorId::CARD)
default:
{
return label->setForegroundColorAll(getThemeColor(
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 62cc2a03b..000994368 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -815,6 +815,8 @@ static int readColorType(const std::string &type)
"WARNING_OUTLINE",
"CHARM",
"CHARM_OUTLINE",
+ "CARD",
+ "CARD_OUTLINE",
"PLAYER_ADVANCED",
"PLAYER_ADVANCED_OUTLINE",
"BUBBLE_NAME",