CAknsBitmapItemData Class Reference
class CAknsBitmapItemData : public CAknsImageItemData |
Bitmap item data. Bitmap item data contains (in addition to base class members) CFbsBitmap instance of the bitmap. Item type for bitmap item data is always EAknsITBitmap.
This is a public class with exported functions. The class is not intended for derivation outside the library.
AknSkins.lib
Constructor & Destructor Documentation
CAknsBitmapItemData(const TAknsItemType)
Parameters
const TAknsItemType aType | Item type of the new item data object. While this is always EAknsITBitmap for instances of this class, derived classes may specify another value. |
~CAknsBitmapItemData()
~CAknsBitmapItemData | ( | ) | [virtual] |
Destructor. Deletes bitmap object, if present.
Member Functions Documentation
Bitmap()
Returns the current bitmap object owned by item data instance.
DestroyAndSetBitmap(CFbsBitmap *)
IMPORT_C void | DestroyAndSetBitmap | ( | CFbsBitmap * | aBitmap | ) | |
Sets the bitmap object for this item data instance and destroys previous one, if any.
Parameters
CFbsBitmap * aBitmap | Pointer to bitmap instance. Ownership of the bitmap object is transferred to item data. NULL value is also valid. |
NewL()
Two-phased constructor. Constructs a new CAknsBitmapItemData object with bitmap set to NULL. Bitmap must be set afterwards by using SetBitmap(CFbsBitmap* aBitmap) method.
-
Exceptions:
- If allocation fails, function leaves with a system-wide error code.
SetBitmap(CFbsBitmap *)
Sets the bitmap object for this item data instance.
- Since
- 2.0
NULL value can be used to detach bitmap from item data.
Parameters
CFbsBitmap * aBitmap | Pointer to bitmap instance. Ownership of the bitmap object is transferred to item data. NULL value is also valid. |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.