summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-09 22:24:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-09 22:24:00 +0300
commit197609376af61e4ef4a02d1e5805c2f923dee4bb (patch)
tree4c4e55613d8f7bf79ccd02688994976bb6333b92 /src/gui/userpalette.cpp
parent91e8452086ff85b1ba759e1932ac6af0a2179cf3 (diff)
downloadmanaplus-197609376af61e4ef4a02d1e5805c2f923dee4bb.tar.gz
manaplus-197609376af61e4ef4a02d1e5805c2f923dee4bb.tar.bz2
manaplus-197609376af61e4ef4a02d1e5805c2f923dee4bb.tar.xz
manaplus-197609376af61e4ef4a02d1e5805c2f923dee4bb.zip
Add skill unit support in most files excluding net code.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index d9469b78d..50e966d80 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -49,6 +49,7 @@ const std::string ColorTypeNames[static_cast<size_t>(
"ColorPet",
"ColorMercenary",
"ColorHomunculus",
+ "ColorSkillUnit",
"ColorParty",
"ColorGuild",
"ColorTeam1",
@@ -197,6 +198,11 @@ UserPalette::UserPalette() :
GradientType::STATIC,
// TRANSLATORS: palette color
_("Homunculus"));
+ addColor(UserColorId::SKILLUNIT,
+ 0xffffff,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Skill unit"));
addColor(UserColorId::PARTY,
0xff00d8,
// TRANSLATORS: palette color