summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 01:44:12 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 01:44:12 +0300
commit6b6d627f2c95d29d576c90def4764869ea1fa2fb (patch)
tree790e2e4a35baed020f3d7c8ea82693e3a3753036 /src/gui/widgets/shoplistbox.cpp
parent36293c710cf8a6da0f8ed6340731812c90885dc7 (diff)
downloadmanaverse-6b6d627f2c95d29d576c90def4764869ea1fa2fb.tar.gz
manaverse-6b6d627f2c95d29d576c90def4764869ea1fa2fb.tar.bz2
manaverse-6b6d627f2c95d29d576c90def4764869ea1fa2fb.tar.xz
manaverse-6b6d627f2c95d29d576c90def4764869ea1fa2fb.zip
Add textbox own color.
Parameter "TEXTBOX" in colors.xml
Diffstat (limited to 'src/gui/widgets/shoplistbox.cpp')
-rw-r--r--src/gui/widgets/shoplistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index 45b385255..2ee60d56f 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -55,7 +55,7 @@ ShopListBox::ShopListBox(gcn::ListModel *listModel):
mBackgroundColor(Theme::getThemeColor(Theme::BACKGROUND)),
mWarningColor(Theme::getThemeColor(Theme::SHOP_WARNING))
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::LISTBOX));
}
ShopListBox::ShopListBox(gcn::ListModel *listModel, ShopItems *shopListModel):
@@ -69,7 +69,7 @@ ShopListBox::ShopListBox(gcn::ListModel *listModel, ShopItems *shopListModel):
mBackgroundColor(Theme::getThemeColor(Theme::BACKGROUND)),
mWarningColor(Theme::getThemeColor(Theme::SHOP_WARNING))
{
- setForegroundColor(Theme::getThemeColor(Theme::TEXT));
+ setForegroundColor(Theme::getThemeColor(Theme::LISTBOX));
}
void ShopListBox::init()