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/shopwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/shopwindow.cpp') diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 4daa1c2bb..89a457e88 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -106,9 +106,11 @@ ShopWindow::ShopWindow(): mBuyShopItemList->setPriceCheck(false); mSellShopItemList->setPriceCheck(false); - mBuyScrollArea = new ScrollArea(mBuyShopItemList); + mBuyScrollArea = new ScrollArea(mBuyShopItemList, + getOptionBool("showbuybackground"), "shop_buy_background.xml"); mBuyScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); - mSellScrollArea = new ScrollArea(mSellShopItemList); + mSellScrollArea = new ScrollArea(mSellShopItemList, + getOptionBool("showsellbackground"), "shop_sell_background.xml"); mSellScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mCloseButton = new Button(_("Close"), "close", this); -- cgit v1.2.3-60-g2f50