From 9d18345d84b0c294b0fe7743cb263259f8cc9447 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Sep 2014 17:22:00 +0300 Subject: Add skill cooldown color. New color: SKILL_COOLDOWN --- data/graphics/gui/colors.xml | 1 + data/themes/blacknblack/colors.xml | 1 + data/themes/blackwood/colors.xml | 1 + data/themes/enchilado/colors.xml | 1 + data/themes/golden-delicious/colors.xml | 1 + data/themes/jewelry/colors.xml | 1 + data/themes/mana/colors.xml | 1 + data/themes/pink/colors.xml | 1 + data/themes/unity/colors.xml | 1 + data/themes/wood/colors.xml | 1 + src/gui/theme.cpp | 3 ++- src/gui/theme.h | 1 + 12 files changed, 13 insertions(+), 1 deletion(-) diff --git a/data/graphics/gui/colors.xml b/data/graphics/gui/colors.xml index f876629a1..0b697eff6 100644 --- a/data/graphics/gui/colors.xml +++ b/data/graphics/gui/colors.xml @@ -121,6 +121,7 @@ + diff --git a/data/themes/blacknblack/colors.xml b/data/themes/blacknblack/colors.xml index 3cdf14382..c42bdda57 100644 --- a/data/themes/blacknblack/colors.xml +++ b/data/themes/blacknblack/colors.xml @@ -122,6 +122,7 @@ + diff --git a/data/themes/blackwood/colors.xml b/data/themes/blackwood/colors.xml index 10783b846..951b0035d 100644 --- a/data/themes/blackwood/colors.xml +++ b/data/themes/blackwood/colors.xml @@ -121,6 +121,7 @@ + diff --git a/data/themes/enchilado/colors.xml b/data/themes/enchilado/colors.xml index e2ee35822..fbf9321cb 100644 --- a/data/themes/enchilado/colors.xml +++ b/data/themes/enchilado/colors.xml @@ -122,6 +122,7 @@ + diff --git a/data/themes/golden-delicious/colors.xml b/data/themes/golden-delicious/colors.xml index 67129f420..6af08729b 100644 --- a/data/themes/golden-delicious/colors.xml +++ b/data/themes/golden-delicious/colors.xml @@ -108,6 +108,7 @@ + diff --git a/data/themes/jewelry/colors.xml b/data/themes/jewelry/colors.xml index 616d57db6..0e2961e79 100644 --- a/data/themes/jewelry/colors.xml +++ b/data/themes/jewelry/colors.xml @@ -107,6 +107,7 @@ + diff --git a/data/themes/mana/colors.xml b/data/themes/mana/colors.xml index 9a56ee44e..ea26b3457 100644 --- a/data/themes/mana/colors.xml +++ b/data/themes/mana/colors.xml @@ -122,6 +122,7 @@ + diff --git a/data/themes/pink/colors.xml b/data/themes/pink/colors.xml index f720bb8fc..b3e2b1f92 100644 --- a/data/themes/pink/colors.xml +++ b/data/themes/pink/colors.xml @@ -122,6 +122,7 @@ + diff --git a/data/themes/unity/colors.xml b/data/themes/unity/colors.xml index 942f19d77..872a902e2 100644 --- a/data/themes/unity/colors.xml +++ b/data/themes/unity/colors.xml @@ -121,6 +121,7 @@ + diff --git a/data/themes/wood/colors.xml b/data/themes/wood/colors.xml index f3059f820..2553fffd8 100644 --- a/data/themes/wood/colors.xml +++ b/data/themes/wood/colors.xml @@ -122,6 +122,7 @@ + diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 1d2c1d2b2..03b7b7097 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -838,7 +838,8 @@ static int readColorType(const std::string &type) "OLDCHAT", "OLDCHAT_OUTLINE", "AWAYCHAT", - "AWAYCHAT_OUTLINE" + "AWAYCHAT_OUTLINE", + "SKILL_COOLDOWN" }; if (type.empty()) diff --git a/src/gui/theme.h b/src/gui/theme.h index 282240222..93fd263dd 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -299,6 +299,7 @@ class Theme final : public Palette, OLDCHAT_OUTLINE, AWAYCHAT, AWAYCHAT_OUTLINE, + SKILL_COOLDOWN, THEME_COLORS_END }; -- cgit v1.2.3-60-g2f50