diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-08 15:17:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-08 15:28:43 +0300 |
commit | c5a64309d9d792fc4ee3218f4db902e8a846a18a (patch) | |
tree | 08618c439436faa4f5265f4967a426b44fa79889 /src/localplayer.cpp | |
parent | 58b4f0bc45f9b866899db035664378969e583b01 (diff) | |
download | manaplus-c5a64309d9d792fc4ee3218f4db902e8a846a18a.tar.gz manaplus-c5a64309d9d792fc4ee3218f4db902e8a846a18a.tar.bz2 manaplus-c5a64309d9d792fc4ee3218f4db902e8a846a18a.tar.xz manaplus-c5a64309d9d792fc4ee3218f4db902e8a846a18a.zip |
Add new colors for whisper tabs.
New colors: WHISPER_TAB_HIGHLIGHTED, WHISPER_TAB_OFFLINE_HIGHLIGHTED,
WHISPER_TAB_SELECTED, WHISPER_TAB_OFFLINE_SELECTED
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 0521a170d..1dc126c52 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -52,7 +52,7 @@ #include "gui/theme.h" #include "gui/viewport.h" -#include "gui/widgets/chattab.h" +#include "gui/widgets/whispertab.h" #include "net/beinghandler.h" #include "net/chathandler.h" @@ -4162,9 +4162,9 @@ void LocalPlayer::checkNewName(Being *const being) } if (chatWindow) { - ChatTab *const tab = chatWindow->getWhisperTab(nick); + WhisperTab *const tab = chatWindow->getWhisperTab(nick); if (tab) - tab->setTabColor(&Theme::getThemeColor(Theme::WHISPER_TAB)); + tab->setWhisperTabColors(); } } |