diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-30 16:05:39 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-30 16:05:39 +0200 |
commit | bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7 (patch) | |
tree | 71882b54ca1e1a67fedd7aff9639e612f23aa3d6 | |
parent | 9da7effa3dd8bbacbc58d2be47a17d631e261c81 (diff) | |
download | mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.tar.gz mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.tar.bz2 mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.tar.xz mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.zip |
Setting alpha for items in ItemShortcutContainer
Reviewed-by: Thorbjorn
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index 83efd4d4..682d71e5 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -109,6 +109,7 @@ void ItemShortcutContainer::draw(gcn::Graphics *graphics) else if (item->isEquipped()) caption = "Eq."; + image->setAlpha(1.0f); g->drawImage(image, itemX, itemY); if (item->isEquipped()) g->setColor(Theme::getThemeColor(Theme::ITEM_EQUIPPED)); |