From 000bbf497024f5d9c9c7521c0a423f458641a32e Mon Sep 17 00:00:00 2001 From: Mateusz Kaduk Date: Sun, 6 Mar 2005 17:40:04 +0000 Subject: Added alpha channal for items.png --- src/gui/equipment.cpp | 2 +- src/gui/itemcontainer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/equipment.cpp b/src/gui/equipment.cpp index 770a88df..74f5df6d 100644 --- a/src/gui/equipment.cpp +++ b/src/gui/equipment.cpp @@ -33,7 +33,7 @@ EquipmentWindow::EquipmentWindow(): setPosition(40, 40); ResourceManager *resman = ResourceManager::getInstance(); - Image *itemImg = resman->getImage("core/graphics/sprites/items.png"); + Image *itemImg = resman->getImage("core/graphics/sprites/items.png", IMG_ALPHA); if (!itemImg) error("Unable to load items.png"); itemset = new Spriteset(itemImg, 20, 20); diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 4398fcb2..0debd3b3 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -29,7 +29,7 @@ ItemContainer::ItemContainer() { ResourceManager *resman = ResourceManager::getInstance(); - Image *itemImg = resman->getImage("core/graphics/sprites/items.png"); + Image *itemImg = resman->getImage("core/graphics/sprites/items.png", IMG_ALPHA); if (!itemImg) error("Unable to load items.png"); itemset = new Spriteset(itemImg, 20, 20); -- cgit v1.2.3-70-g09d2