From 10c8e7da87de2219fad19fd899e97257164e4830 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 Aug 2012 22:11:36 +0300 Subject: Extend background theming. --- src/gui/socialwindow.cpp | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'src/gui/socialwindow.cpp') diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 8cf1ee42f..22eb4024d 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -148,7 +148,8 @@ public: setTabColor(&Theme::getThemeColor(Theme::GUILD_SOCIAL_TAB)); mList = new AvatarListBox(guild); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -246,7 +247,8 @@ public: setTabColor(&Theme::getThemeColor(Theme::GUILD_SOCIAL_TAB)); mList = new AvatarListBox(guild); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -300,7 +302,8 @@ public: setTabColor(&Theme::getThemeColor(Theme::PARTY_SOCIAL_TAB)); mList = new AvatarListBox(party); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -424,7 +427,8 @@ public: mBeings(new BeingsListModal()) { mList = new AvatarListBox(mBeings); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -589,7 +593,8 @@ public: mBeings(new BeingsListModal()) { mList = new AvatarListBox(mBeings); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -921,7 +926,8 @@ public: mBeings(new BeingsListModal()) { mList = new AvatarListBox(mBeings); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -975,7 +981,8 @@ public: mBeings(new BeingsListModal()) { mList = new AvatarListBox(mBeings); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); @@ -1029,7 +1036,8 @@ public: mBeings(new BeingsListModal()) { mList = new AvatarListBox(mBeings); - mScroll = new ScrollArea(mList, showBackground); + mScroll = new ScrollArea(mList, showBackground, + "social_background.xml"); mScroll->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); -- cgit v1.2.3-60-g2f50