summaryrefslogtreecommitdiff
path: root/src/gui/shoplistbox.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-21 20:09:08 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-21 20:09:08 +0000
commit256705ac9eee8990bd92f60c8e2550954c9e5983 (patch)
tree9dde87897b4d8c824988d5f0ace3eaa0713aec67 /src/gui/shoplistbox.cpp
parent53800016443ed50a5b0ea27b65b39730586352d4 (diff)
downloadmana-client-256705ac9eee8990bd92f60c8e2550954c9e5983.tar.gz
mana-client-256705ac9eee8990bd92f60c8e2550954c9e5983.tar.bz2
mana-client-256705ac9eee8990bd92f60c8e2550954c9e5983.tar.xz
mana-client-256705ac9eee8990bd92f60c8e2550954c9e5983.zip
Fixed invisible text in dropboxes and shopboxes.
Diffstat (limited to 'src/gui/shoplistbox.cpp')
-rw-r--r--src/gui/shoplistbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/shoplistbox.cpp b/src/gui/shoplistbox.cpp
index ae787ab7..e4f6e6f9 100644
--- a/src/gui/shoplistbox.cpp
+++ b/src/gui/shoplistbox.cpp
@@ -95,6 +95,7 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics)
graphics->drawImage(icon, 1, y);
}
}
+ graphics->setColor(gcn::Color(0, 0, 0));
graphics->drawText(mListModel->getElementAt(i), ITEM_ICON_SIZE + 5,
y + (ITEM_ICON_SIZE - getFont()->getHeight()) / 2);
}