diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-22 04:38:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-22 04:38:03 +0300 |
commit | 8257d7d35e0dd915512df06cafb810f4611be06a (patch) | |
tree | 7d4449df4e7b9e27bd1e069eb0132931dfd2a5f1 /src/gui/widgets/itemcontainer.cpp | |
parent | dddfb405de9d04f50d3a95cc3b0ebc3e49884a65 (diff) | |
download | plus-8257d7d35e0dd915512df06cafb810f4611be06a.tar.gz plus-8257d7d35e0dd915512df06cafb810f4611be06a.tar.bz2 plus-8257d7d35e0dd915512df06cafb810f4611be06a.tar.xz plus-8257d7d35e0dd915512df06cafb810f4611be06a.zip |
Fix some theme font colors in different gui elements.
Add new color ITEM_NOT_EQUIPPED.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index b79f26226..c2a5ec1b7 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -206,7 +206,7 @@ void ItemContainer::draw(gcn::Graphics *graphics) if (item->isEquipped()) g->setColor(Theme::getThemeColor(Theme::ITEM_EQUIPPED)); else - g->setColor(gcn::Color(0, 0, 0)); + g->setColor(Theme::getThemeColor(Theme::ITEM_NOT_EQUIPPED)); g->drawText(caption, itemX + BOX_WIDTH / 2, itemY + BOX_HEIGHT - 14, gcn::Graphics::CENTER); |