summaryrefslogtreecommitdiff
path: root/src/gui/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-06 21:59:12 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-06 21:59:12 +0100
commit6f08807edfa6719b73795a0630ba0affd4f9a7dc (patch)
tree41847b7bc8de26d56845e4f6282e1c1277743a74 /src/gui/itemshortcutcontainer.cpp
parent705d753cd7e762095ae53a428ed277449d064fed (diff)
downloadmana-6f08807edfa6719b73795a0630ba0affd4f9a7dc.tar.gz
mana-6f08807edfa6719b73795a0630ba0affd4f9a7dc.tar.bz2
mana-6f08807edfa6719b73795a0630ba0affd4f9a7dc.tar.xz
mana-6f08807edfa6719b73795a0630ba0affd4f9a7dc.zip
Fixed font colors in inventory and shortcut window
They were not explicitly set to black. Because the bitmap font used to be black, these bugs didn't show up earlier. With the introduction of true type fonts, the text can be any color anywhere.
Diffstat (limited to 'src/gui/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/itemshortcutcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemshortcutcontainer.cpp b/src/gui/itemshortcutcontainer.cpp
index 2ea5d584..ac62dbd6 100644
--- a/src/gui/itemshortcutcontainer.cpp
+++ b/src/gui/itemshortcutcontainer.cpp
@@ -75,6 +75,7 @@ ItemShortcutContainer::draw(gcn::Graphics *graphics)
{
Graphics *g = static_cast<Graphics*>(graphics);
+ graphics->setColor(gcn::Color(0, 0, 0));
graphics->setFont(getFont());
for (int i = 0; i < mMaxItems; i++)