MPeninputVkbPreviewBubbleRenderer Class Reference

class MPeninputVkbPreviewBubbleRenderer

MPeninputVkbPreviewBubbleRenderer Interface for preview bubble extension.

Member Functions Documentation

Attach()

voidAttach()[pure virtual]

Attach this extension to a virtual keyboard object.

Since
S60 S60 v5.0

ClearBubble()

voidClearBubble()[pure virtual]

Clear preview bubble.

Since
S60 S60 v5.0

Detach()

voidDetach()[pure virtual]

Detach this extension from a virtual keyboard object.

Since
S60 S60 v5.0

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

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

Draw preview bubble.

Since
S60 S60 v5.0

Parameters

CVirtualKey * aKeyVirtual key.
const TPoint & aVkbPosPosition of virtual keyboard.
const TPoint & aLayoutPosPosition of layout, in screen coord-sys.
const TSize & aSizeSize of bubble.

SetBubbleBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID)

voidSetBubbleBitmapParam(CFbsBitmap *aBmpId,
CFbsBitmap *aMaskBmpId,
TAknsItemIDaBgSkinId
)[pure virtual]

Set icon and background of bubble.

Since
S60 S60 v5.0

Parameters

CFbsBitmap * aBmpIdBitmap of icon.
CFbsBitmap * aMaskBmpIdBitmap of mask.
TAknsItemID aBgSkinIdSkin id of background.

SetFrameDiff(TInt, TInt, TInt, TInt)

voidSetFrameDiff(TIntaLeftDiff,
TIntaTopDiff,
TIntaRightDiff,
TIntaBottomDiff
)[pure virtual]

Set margin of bubble

Since
S60 S60 v5.0

Parameters

TInt aLeftDiffLeft margin.
TInt aTopDiffTop margin.
TInt aRightDiffRight margin.
TInt aBottomDiffBottom margin.

SetTextFormat(TAknTextLineLayout)

voidSetTextFormat(TAknTextLineLayoutaTextFormat)[pure virtual]

Set text format

Since
S60 S60 v5.0

Parameters

TAknTextLineLayout aTextFormatText format.

ShowBubble(TBool)

voidShowBubble(TBoolaFlag)[pure virtual]

Enable preview bubble

Since
S60 S60 v5.0

Parameters

TBool aFlagETrue to enable preview bubble.