From cbd1e245325bc83c35a84508f75a9ed3f0e74c2d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Sep 2014 18:44:23 +0300 Subject: Add new theme colors for disabled text. New colors: TEXT_DISABLED, TEXT_DISABLED_OUTLINE For now unused. --- src/gui/theme.cpp | 4 +++- src/gui/theme.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 03b7b7097..a584f446a 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -839,7 +839,9 @@ static int readColorType(const std::string &type) "OLDCHAT_OUTLINE", "AWAYCHAT", "AWAYCHAT_OUTLINE", - "SKILL_COOLDOWN" + "SKILL_COOLDOWN", + "TEXT_DISABLED", + "TEXT_DISABLED_OUTLINE" }; if (type.empty()) diff --git a/src/gui/theme.h b/src/gui/theme.h index 93fd263dd..708d12202 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -300,6 +300,8 @@ class Theme final : public Palette, AWAYCHAT, AWAYCHAT_OUTLINE, SKILL_COOLDOWN, + TEXT_DISABLED, + TEXT_DISABLED_OUTLINE, THEME_COLORS_END }; -- cgit v1.2.3-60-g2f50