summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/shoplistbox.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index 45891f202..ec3ed12e4 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -150,9 +150,14 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics)
}
}
if (mSelected == i)
- graphics->setColor(mForegroundSelectedColor);
+ {
+ graphics->setColorAll(mForegroundSelectedColor,
+ mForegroundSelectedColor2);
+ }
else
- graphics->setColor(mForegroundColor);
+ {
+ graphics->setColorAll(mForegroundColor, mForegroundColor2);
+ }
font->drawString(graphics, mListModel->getElementAt(i),
ITEM_ICON_SIZE + mPadding,
y + (ITEM_ICON_SIZE - getFont()->getHeight()) / 2 + mPadding);