MPeninputVkbPreviewBubbleRenderer Class Reference

class MPeninputVkbPreviewBubbleRenderer

MPeninputVkbPreviewBubbleRenderer Interface for preview bubble extension.

Member Functions Documentation

Attach()

void Attach ( ) [pure virtual]

Attach this extension to a virtual keyboard object.

Since
S60 S60 v5.0

ClearBubble()

void ClearBubble ( ) [pure virtual]

Clear preview bubble.

Since
S60 S60 v5.0

Detach()

void Detach ( ) [pure virtual]

Detach this extension from a virtual keyboard object.

Since
S60 S60 v5.0

DrawBubble(CVirtualKey *, const TPoint &, const TPoint &, const TSize &)

void DrawBubble ( CVirtualKey * aKey,
const TPoint & aVkbPos,
const TPoint & aLayoutPos,
const TSize & aSize
) [pure virtual]

Draw preview bubble.

Since
S60 S60 v5.0

Parameters

CVirtualKey * aKey Virtual key.
const TPoint & aVkbPos Position of virtual keyboard.
const TPoint & aLayoutPos Position of layout, in screen coord-sys.
const TSize & aSize Size of bubble.

SetBubbleBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID)

void SetBubbleBitmapParam ( CFbsBitmap * aBmpId,
CFbsBitmap * aMaskBmpId,
TAknsItemID aBgSkinId
) [pure virtual]

Set icon and background of bubble.

Since
S60 S60 v5.0

Parameters

CFbsBitmap * aBmpId Bitmap of icon.
CFbsBitmap * aMaskBmpId Bitmap of mask.
TAknsItemID aBgSkinId Skin id of background.

SetFrameDiff(TInt, TInt, TInt, TInt)

void SetFrameDiff ( TInt aLeftDiff,
TInt aTopDiff,
TInt aRightDiff,
TInt aBottomDiff
) [pure virtual]

Set margin of bubble

Since
S60 S60 v5.0

Parameters

TInt aLeftDiff Left margin.
TInt aTopDiff Top margin.
TInt aRightDiff Right margin.
TInt aBottomDiff Bottom margin.

SetTextFormat(TAknTextLineLayout)

void SetTextFormat ( TAknTextLineLayout aTextFormat ) [pure virtual]

Set text format

Since
S60 S60 v5.0

Parameters

TAknTextLineLayout aTextFormat Text format.

ShowBubble(TBool)

void ShowBubble ( TBool aFlag ) [pure virtual]

Enable preview bubble

Since
S60 S60 v5.0

Parameters

TBool aFlag ETrue to enable preview bubble.