summaryrefslogtreecommitdiff
path: root/src/gui/widgets/whispertab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 23:13:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-28 00:45:34 +0300
commitd05f3904b05e8af1cd319d75a380b2cce7edf77d (patch)
treecd29c1f738ac6415cbee8940034a4143f4c72886 /src/gui/widgets/whispertab.cpp
parentdba24b2e59eb739e73228dbcf707e943905a9e5a (diff)
downloadplus-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.gz
plus-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.bz2
plus-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.xz
plus-d05f3904b05e8af1cd319d75a380b2cce7edf77d.zip
Add outlining support to tabs.
Diffstat (limited to 'src/gui/widgets/whispertab.cpp')
-rw-r--r--src/gui/widgets/whispertab.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp
index c22c9d694..439f1c2ca 100644
--- a/src/gui/widgets/whispertab.cpp
+++ b/src/gui/widgets/whispertab.cpp
@@ -167,17 +167,21 @@ void WhisperTab::getAutoCompleteList(StringVect &names) const
void WhisperTab::setWhisperTabColors()
{
- setTabColor(&getThemeColor(Theme::WHISPER_TAB));
- setHighlightedTabColor(&getThemeColor(
- Theme::WHISPER_TAB_HIGHLIGHTED));
- setSelectedTabColor(&getThemeColor(Theme::WHISPER_TAB_SELECTED));
+ setTabColor(&getThemeColor(Theme::WHISPER_TAB),
+ &getThemeColor(Theme::WHISPER_TAB_OUTLINE));
+ setHighlightedTabColor(&getThemeColor(Theme::WHISPER_TAB_HIGHLIGHTED),
+ &getThemeColor(Theme::WHISPER_TAB_HIGHLIGHTED_OUTLINE));
+ setSelectedTabColor(&getThemeColor(Theme::WHISPER_TAB_SELECTED),
+ &getThemeColor(Theme::WHISPER_TAB_SELECTED_OUTLINE));
}
void WhisperTab::setWhisperTabOfflineColors()
{
- setTabColor(&getThemeColor(Theme::WHISPER_TAB_OFFLINE));
+ setTabColor(&getThemeColor(Theme::WHISPER_TAB_OFFLINE),
+ &getThemeColor(Theme::WHISPER_TAB_OFFLINE_OUTLINE));
setHighlightedTabColor(&getThemeColor(
- Theme::WHISPER_TAB_OFFLINE_HIGHLIGHTED));
- setSelectedTabColor(&getThemeColor(
- Theme::WHISPER_TAB_OFFLINE_SELECTED));
+ Theme::WHISPER_TAB_OFFLINE_HIGHLIGHTED), &getThemeColor(
+ Theme::WHISPER_TAB_OFFLINE_HIGHLIGHTED_OUTLINE));
+ setSelectedTabColor(&getThemeColor(Theme::WHISPER_TAB_OFFLINE_SELECTED),
+ &getThemeColor(Theme::WHISPER_TAB_OFFLINE_SELECTED_OUTLINE));
}