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

Since
2.0

Inherits from

Constructor & Destructor Documentation

CAknsImageItemData(const TAknsItemType)

CAknsImageItemData ( const TAknsItemType aType ) [protected]

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

Parameters

const TAknsItemType aType Item 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.

Since
2.0

DrawRect()

IMPORT_C TRect DrawRect ( )

ParentIID()

IMPORT_C TAknsItemID ParentIID ( )

SetAttributesL(const TAknsImageAttributeData &)

IMPORT_C void SetAttributesL ( const TAknsImageAttributeData & aAttributes )

Sets the image attributes for this image item data object.

Since
2.0

Parameters

const TAknsImageAttributeData & aAttributes Attribute data structure containing the new values.

SetDrawRect(const TRect &)

IMPORT_C void SetDrawRect ( const TRect & aRect )

Parameters

const TRect & aRect

SetParentIID(const TAknsItemID &)

IMPORT_C void SetParentIID ( 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]