summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-18 18:44:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-18 18:50:00 +0300
commitcbd1e245325bc83c35a84508f75a9ed3f0e74c2d (patch)
tree0dffec7e1c72cff00bb5f00daa424d74196469d6 /src
parentcc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0 (diff)
downloadplus-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.tar.gz
plus-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.tar.bz2
plus-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.tar.xz
plus-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.zip
Add new theme colors for disabled text.
New colors: TEXT_DISABLED, TEXT_DISABLED_OUTLINE For now unused.
Diffstat (limited to 'src')
-rw-r--r--src/gui/theme.cpp4
-rw-r--r--src/gui/theme.h2
2 files changed, 5 insertions, 1 deletions
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
};