summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-10-13 17:32:41 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-10-13 17:32:41 +0200
commit1d16b34c14a3b2deff084757f2b583d54b4741ce (patch)
tree0d38186c896759b9c3d246a4def3d22fb8dbbd5b /src/gui/socialwindow.cpp
parentc1b7d619971ea3dc7f644c86090a9ac518e44fb1 (diff)
downloadmana-1d16b34c14a3b2deff084757f2b583d54b4741ce.tar.gz
mana-1d16b34c14a3b2deff084757f2b583d54b4741ce.tar.bz2
mana-1d16b34c14a3b2deff084757f2b583d54b4741ce.tar.xz
mana-1d16b34c14a3b2deff084757f2b583d54b4741ce.zip
Adding theme colors for party tabs
Following Rotonen's advise to "make anything and everything you can think of recolorable", a theme can now define colors for PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because the requirements for a color of a chat tab and of a player name are quite different. TODO: When guild support gets enabled, then have a look at the colors for guilds. Reviewed-by: 4144
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index ec414836..d52e073c 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -184,7 +184,7 @@ public:
{
setCaption(party->getName());
- setTabColor(&Theme::getThemeColor(Theme::PARTY));
+ setTabColor(&Theme::getThemeColor(Theme::PARTY_SOCIAL_TAB));
mList = new AvatarListBox(party);
mScroll = new ScrollArea(mList);