diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-18 18:44:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-18 18:50:00 +0300 |
commit | cbd1e245325bc83c35a84508f75a9ed3f0e74c2d (patch) | |
tree | 0dffec7e1c72cff00bb5f00daa424d74196469d6 /src | |
parent | cc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0 (diff) | |
download | manaverse-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.tar.gz manaverse-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.tar.bz2 manaverse-cbd1e245325bc83c35a84508f75a9ed3f0e74c2d.tar.xz manaverse-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.cpp | 4 | ||||
-rw-r--r-- | src/gui/theme.h | 2 |
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 }; |