From 59657fcbfa88a8f7a15bf4350f8addf399e20bda Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 15 Oct 2009 07:22:29 -0600 Subject: Make sure item icons in the invy are full opacity --- src/item.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 56995eb6..7e8e0f9c 100644 --- a/src/item.h +++ b/src/item.h @@ -58,6 +58,11 @@ class Item */ Image *getImage() { return mImage; } + /** + * Returns the item image. + */ + Image *getDrawImage() { return mDrawImage; } + /** * Sets the number of items. */ @@ -121,6 +126,7 @@ class Item protected: int mId; /**< Item type id. */ Image *mImage; /**< Item image. */ + Image *mDrawImage; /**< Draw image. */ int mQuantity; /**< Number of items. */ bool mEquipment; /**< Item is equipment. */ bool mEquipped; /**< Item is equipped. */ -- cgit v1.2.3-70-g09d2