summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.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/socialwindow.cpp
parentdba24b2e59eb739e73228dbcf707e943905a9e5a (diff)
downloadmv-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.gz
mv-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.bz2
mv-d05f3904b05e8af1cd319d75a380b2cce7edf77d.tar.xz
mv-d05f3904b05e8af1cd319d75a380b2cce7edf77d.zip
Add outlining support to tabs.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp30
1 files changed, 18 insertions, 12 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 90899ea6f..aa66063b6 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -143,11 +143,13 @@ public:
{
setCaption(_("Guild"));
- setTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB));
+ setTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB),
+ &getThemeColor(Theme::GUILD_SOCIAL_TAB_OUTLINE));
setHighlightedTabColor(&getThemeColor(
- Theme::GUILD_SOCIAL_TAB_HIGHLIGHTED));
- setSelectedTabColor(&getThemeColor(
- Theme::GUILD_SOCIAL_TAB_SELECTED));
+ Theme::GUILD_SOCIAL_TAB_HIGHLIGHTED), &getThemeColor(
+ Theme::GUILD_SOCIAL_TAB_HIGHLIGHTED_OUTLINE));
+ setSelectedTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED),
+ &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE));
mList = new AvatarListBox(this, guild);
mScroll = new ScrollArea(mList, showBackground,
@@ -250,11 +252,13 @@ public:
{
setCaption(_("Guild"));
- setTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB));
+ setTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB),
+ &getThemeColor(Theme::GUILD_SOCIAL_TAB_OUTLINE));
setHighlightedTabColor(&getThemeColor(
- Theme::GUILD_SOCIAL_TAB_HIGHLIGHTED));
- setSelectedTabColor(&getThemeColor(
- Theme::GUILD_SOCIAL_TAB_SELECTED));
+ Theme::GUILD_SOCIAL_TAB_HIGHLIGHTED), &getThemeColor(
+ Theme::GUILD_SOCIAL_TAB_HIGHLIGHTED_OUTLINE));
+ setSelectedTabColor(&getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED),
+ &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE));
mList = new AvatarListBox(this, guild);
mScroll = new ScrollArea(mList, showBackground,
@@ -313,11 +317,13 @@ public:
{
setCaption(_("Party"));
- setTabColor(&getThemeColor(Theme::PARTY_SOCIAL_TAB));
+ setTabColor(&getThemeColor(Theme::PARTY_SOCIAL_TAB),
+ &getThemeColor(Theme::PARTY_SOCIAL_TAB_OUTLINE));
setHighlightedTabColor(&getThemeColor(
- Theme::PARTY_SOCIAL_TAB_HIGHLIGHTED));
- setSelectedTabColor(&getThemeColor(
- Theme::PARTY_SOCIAL_TAB_SELECTED));
+ Theme::PARTY_SOCIAL_TAB_HIGHLIGHTED), &getThemeColor(
+ Theme::PARTY_SOCIAL_TAB_HIGHLIGHTED_OUTLINE));
+ setSelectedTabColor(&getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED),
+ &getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED_OUTLINE));
mList = new AvatarListBox(this, party);
mScroll = new ScrollArea(mList, showBackground,