diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-30 21:42:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-30 21:42:26 +0300 |
commit | d4f7f4f688c3660440e0ac0d752ec9db036cdf59 (patch) | |
tree | f15996edc69ed3a505e523d548902dcdf2bb0ce3 /src/gui/theme.cpp | |
parent | 256b20612d17e0cbe44332538cdedd2ef5f1a498 (diff) | |
download | plus-d4f7f4f688c3660440e0ac0d752ec9db036cdf59.tar.gz plus-d4f7f4f688c3660440e0ac0d752ec9db036cdf59.tar.bz2 plus-d4f7f4f688c3660440e0ac0d752ec9db036cdf59.tar.xz plus-d4f7f4f688c3660440e0ac0d752ec9db036cdf59.zip |
Add color for globals with player/npc name.
New colors: GLOBAL, GLOBAL_OUTLINE.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 13fb07382..f117563b5 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -185,6 +185,7 @@ Theme::Theme() : mColors[HIGHLIGHT].ch = 'H'; mColors[CHAT].ch = 'C'; mColors[GM].ch = 'G'; + mColors[GLOBAL].ch = 'g'; mColors[PLAYER].ch = 'Y'; mColors[WHISPER_TAB].ch = 'W'; mColors[WHISPER_TAB_OFFLINE].ch = 'w'; @@ -198,6 +199,7 @@ Theme::Theme() : mCharColors['H'] = HIGHLIGHT; mCharColors['C'] = CHAT; mCharColors['G'] = GM; + mCharColors['g'] = GLOBAL; mCharColors['Y'] = PLAYER; mCharColors['W'] = WHISPER_TAB; mCharColors['w'] = WHISPER_TAB_OFFLINE; @@ -213,6 +215,7 @@ Theme::Theme() : mCharColors['H' | 0x80] = HIGHLIGHT_OUTLINE; mCharColors['C' | 0x80] = CHAT_OUTLINE; mCharColors['G' | 0x80] = GM_OUTLINE; + mCharColors['g' | 0x80] = GLOBAL_OUTLINE; mCharColors['Y' | 0x80] = PLAYER_OUTLINE; mCharColors['W' | 0x80] = WHISPER_TAB_OUTLINE; mCharColors['w' | 0x80] = WHISPER_TAB_OFFLINE_OUTLINE; @@ -857,6 +860,8 @@ static int readColorType(const std::string &type) "CHAT_OUTLINE", "GM", "GM_OUTLINE", + "GLOBAL", + "GLOBAL_OUTLINE", "PLAYER", "PLAYER_OUTLINE", "WHISPER_TAB", |