summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-25 22:38:24 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-26 06:29:02 -0700
commitc75e7d1701c3fa7597247ee88a3a4d804b0965ae (patch)
tree6ac1068ae047a2c096f0404c121b1b103f29540f /src/gui/socialwindow.cpp
parentc1ddb267382472db7a248fcd049dcd41122d3a48 (diff)
downloadmana-c75e7d1701c3fa7597247ee88a3a4d804b0965ae.tar.gz
mana-c75e7d1701c3fa7597247ee88a3a4d804b0965ae.tar.bz2
mana-c75e7d1701c3fa7597247ee88a3a4d804b0965ae.tar.xz
mana-c75e7d1701c3fa7597247ee88a3a4d804b0965ae.zip
Color the tabs in the SocialWindow
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 48019bd0..26184cae 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -98,6 +98,8 @@ public:
{
setCaption(guild->getName());
+ setTabColor(&guiPalette->getColor(Palette::GUILD));
+
mList = new AvatarListBox(guild);
mScroll = new ScrollArea(mList);
@@ -161,6 +163,8 @@ public:
{
setCaption(party->getName());
+ setTabColor(&guiPalette->getColor(Palette::PARTY));
+
mList = new AvatarListBox(party);
mScroll = new ScrollArea(mList);