diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-08 01:11:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-08 01:11:07 +0300 |
commit | 577b75a14fa04b0d78281257ee7f5e3c42be3b7e (patch) | |
tree | 2028a97a20d11b6cef13cee0ab29d0b1f5f471dd /src/gui/chatwindow.cpp | |
parent | 4f3e6ddeae45b7b04b191533e8f6c456fbc207d8 (diff) | |
download | plus-577b75a14fa04b0d78281257ee7f5e3c42be3b7e.tar.gz plus-577b75a14fa04b0d78281257ee7f5e3c42be3b7e.tar.bz2 plus-577b75a14fa04b0d78281257ee7f5e3c42be3b7e.tar.xz plus-577b75a14fa04b0d78281257ee7f5e3c42be3b7e.zip |
Rename colors WHISPER and WHISPER_OFFLINE to WHISPER_TAB and WHISPER_TAB_OFFLINE.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index 9417f5214..2aaa0da2d 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -1479,7 +1479,7 @@ void ChatWindow::updateOnline(std::set<std::string> &onlinePlayers) if (onlinePlayers.find(tab->getNick()) != onlinePlayers.end()) { - tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER)); + tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER_TAB)); } else { @@ -1490,7 +1490,8 @@ void ChatWindow::updateOnline(std::set<std::string> &onlinePlayers) nick, ActorSprite::PLAYER); if (being) { - tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER)); + tab->setTabColor(&Theme::getThemeColor( + Theme::WHISPER_TAB)); continue; } } @@ -1499,7 +1500,8 @@ void ChatWindow::updateOnline(std::set<std::string> &onlinePlayers) const PartyMember *const pm = party->getMember(nick); if (pm && pm->getOnline()) { - tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER)); + tab->setTabColor(&Theme::getThemeColor( + Theme::WHISPER_TAB)); continue; } } @@ -1508,11 +1510,13 @@ void ChatWindow::updateOnline(std::set<std::string> &onlinePlayers) const GuildMember *const gm = guild->getMember(nick); if (gm && gm->getOnline()) { - tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER)); + tab->setTabColor(&Theme::getThemeColor( + Theme::WHISPER_TAB)); continue; } } - tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER_OFFLINE)); + tab->setTabColor(&Theme::getThemeColor( + Theme::WHISPER_TAB_OFFLINE)); } } } |