CAknsMaskedBitmapItemData Class Reference
#include
<mw/AknsItemData.h>
Link against: AknSkins.lib
class CAknsMaskedBitmapItemData : public CAknsBitmapItemData |
Inherits from
- CAknsMaskedBitmapItemData
Detailed Description
Masked bitmap item data. Masked bitmap item data contains (in addition to base class members) an additional member of type CFbsBitmap for the bitmap mask. Item type for bitmap item data is always EAknsITMaskedBitmap.
This is a public class with exported functions. The class is not intended for derivation outside the library.
Member Attribute Documentation
iMask
Pointer to associated mask bitmap instance.
Constructor & Destructor Documentation
CAknsMaskedBitmapItemData ( const TAknsItemType )
Parameter | Description | aType | Item type of the new item data object. While this is always EAknsITMaskedBitmap for instances of this class, derived classes may specify another value. |
~CAknsMaskedBitmapItemData ( )
~CAknsMaskedBitmapItemData | ( | ) | [virtual] |
Destructor. Deletes bitmap objects, if present.
Member Function Documentation
DestroyAndSetMask ( CFbsBitmap * )
Sets the mask bitmap object for this item data instance and destroys previous one, if any.
Parameter | Description | aMask | Pointer to mask instance. Ownership of the bitmap object is transferred to item data. NULL value is also valid. |
Mask ( )
Returns the current bitmap mask object owned by item data instance.
Returns: Pointer to mask instance, or NULL if none is currently associated with this item data.
NewL ( )
Returns: Newly constructed CAknsMaskedBitmapItemData object.
SetMask ( CFbsBitmap * )
Sets the mask bitmap object for this item data instance. NULL value can be used to detach bitmap mask from item data.
Parameter | Description | aMask | Pointer to mask instance. Ownership of the bitmap object is transferred to item data. NULL value is also valid. |