CHgVgItem Class Reference

class CHgVgItem : public CHgItem

Inherits from

Constructor & Destructor Documentation

CHgVgItem(TInt, CGulIcon *)

CHgVgItem(TIntaFlags,
CGulIcon *aIcon
)[protected]

Parameters

TInt aFlags
CGulIcon * aIcon

~CHgVgItem()

IMPORT_C~CHgVgItem()[virtual]

Member Functions Documentation

ConstructL(const TDesC &, const TDesC &)

voidConstructL(const TDesC &aTitle,
const TDesC &aText
)[protected, virtual]

Parameters

const TDesC & aTitle
const TDesC & aText

FreeOpenVgImage()

voidFreeOpenVgImage()

Frees openvg image resource. This is used by media wall to free resources on demand and should not be used externally.

NewL(TInt, CGulIcon *, const TDesC &, const TDesC &)

IMPORT_C CHgVgItem *NewL(TIntaFlags = EHgItemFlagsNone,
CGulIcon *aIcon = 0,
const TDesC &aTitle =  KNullDesC ,
const TDesC &aText =  KNullDesC
)[static]

Creates new CHgVgItem.

Parameters

TInt aFlags = EHgItemFlagsNoneItem flags. Default is EHgItemFlagsNone
CGulIcon * aIcon = 0Item Icon. Ownership transferred.
const TDesC & aTitle =  KNullDesC Title text.
const TDesC & aText =  KNullDesC Additional Text.

NewLC(TInt, CGulIcon *, const TDesC &, const TDesC &)

IMPORT_C CHgVgItem *NewLC(TIntaFlags = EHgItemFlagsNone,
CGulIcon *aIcon = 0,
const TDesC &aTitle =  KNullDesC ,
const TDesC &aText =  KNullDesC
)[static]

Creates new CHgVgItem.

Parameters

TInt aFlags = EHgItemFlagsNoneItem flags. Default is EHgItemFlagsNone
CGulIcon * aIcon = 0Item Icon. Ownership transferred.
const TDesC & aTitle =  KNullDesC Title text.
const TDesC & aText =  KNullDesC Additional Text.

ReloadOpenVgImage()

voidReloadOpenVgImage()

Reloads openvg image resource. This is used by media wall to allocate resources on demand and should not be used externally.

SetIcon(CGulIcon *, TInt)

IMPORT_C voidSetIcon(CGulIcon *aIcon,
TIntaFlags = EHgItemFlagsNone
)[virtual]

Sets icon.

Parameters

CGulIcon * aIconNew icon. Ownership transferred.
TInt aFlags = EHgItemFlagsNone

VgImage()

VGImage VgImage()const

Gets OpenVG Image.

Member Data Documentation

VGImage iVgImage

VGImage iVgImage[private]