diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-03 22:11:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-04 23:57:02 +0300 |
commit | 10c8e7da87de2219fad19fd899e97257164e4830 (patch) | |
tree | 57ec3359cdd8cbb24b88e4f13a05d210326151ab /src/gui/shopwindow.cpp | |
parent | 0647852f65598ef9cb9ebff6dfb508e8b1a98c1c (diff) | |
download | mv-10c8e7da87de2219fad19fd899e97257164e4830.tar.gz mv-10c8e7da87de2219fad19fd899e97257164e4830.tar.bz2 mv-10c8e7da87de2219fad19fd899e97257164e4830.tar.xz mv-10c8e7da87de2219fad19fd899e97257164e4830.zip |
Extend background theming.
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r-- | src/gui/shopwindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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); |