CAknsImageItemData Class Reference

class CAknsImageItemData : public CAknsItemData

Image item data. Image item data contains (in addition to base class members) image attributes, such as size or alignment. Item type for image item data objects is EAknsITImage.

This is a public class with exported functions. The class is not intended for derivation outside the library.

AknSkins.lib

2.0

Inherits from

Constructor & Destructor Documentation

CAknsImageItemData(const TAknsItemType)

CAknsImageItemData(const TAknsItemTypeaType)[protected]

C++ constructor for derived classes. Constructs an image item data object with given item type.

Parameters

const TAknsItemType aTypeItem type of the new item data object.

~CAknsImageItemData()

~CAknsImageItemData()[virtual]

Destructor.

Member Functions Documentation

Attributes()

IMPORT_C const TAknsImageAttributeData *Attributes()const

Returns a pointer to the image attribute structure owned by the item data object.

2.0

Pointer to the image attribute structure, or NULL if there is none.

DrawRect()

IMPORT_C TRectDrawRect()

ParentIID()

IMPORT_C TAknsItemIDParentIID()

SetAttributesL(const TAknsImageAttributeData &)

IMPORT_C voidSetAttributesL(const TAknsImageAttributeData &aAttributes)

Sets the image attributes for this image item data object.

2.0

Parameters

const TAknsImageAttributeData & aAttributesAttribute data structure containing the new values.

SetDrawRect(const TRect &)

IMPORT_C voidSetDrawRect(const TRect &aRect)

Parameters

const TRect & aRect

SetParentIID(const TAknsItemID &)

IMPORT_C voidSetParentIID(const TAknsItemID &aIID)

Parameters

const TAknsItemID & aIID

Member Data Documentation

TAknsImageAttributeData * iAttributeData

TAknsImageAttributeData *iAttributeData[protected]

TRect iDrawRect

TRect iDrawRect[protected]

TAknsItemID iParentIID

TAknsItemID iParentIID[protected]