summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-09-30 16:05:39 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-09-30 16:05:39 +0200
commitbf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7 (patch)
tree71882b54ca1e1a67fedd7aff9639e612f23aa3d6 /src/gui/widgets
parent9da7effa3dd8bbacbc58d2be47a17d631e261c81 (diff)
downloadmana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.tar.gz
mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.tar.bz2
mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.tar.xz
mana-bf8893f83b4b5e55e74e9b1ed4e8f06bc0315aa7.zip
Setting alpha for items in ItemShortcutContainer
Reviewed-by: Thorbjorn
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp1
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));