MPenUiLayoutBase Class Reference

class MPenUiLayoutBase

Class MPenUiLayoutBase.

Interface for fep layout base

Since
S60 V4.0

Member Functions Documentation

Destroy()

voidDestroy()[pure virtual]

Handle editor text coming Called by animation dll when app editor text is coming.

/** Destroy layout

Since
S60 v4.0

Draw()

voidDraw()[pure virtual]

Draw layout.

Since
S60 v4.0

HandleAppInfoChange(const TDesC &, TPeninputAppInfo)

voidHandleAppInfoChange(const TDesC &aInfo,
TPeninputAppInfoaType
)[pure virtual]

HandleAppInfoChange. Inform UI that application infomation changed.

Since
S60 v5.0

Parameters

const TDesC & aInfoThe information.
TPeninputAppInfo aTypeThe information type

HandleCommand(TInt, TUint8 *)

TInt HandleCommand(TIntaCmd,
TUint8 *aData
)[pure virtual]

HandleCommand. Handle layout command event.

Since
S60 v4.0

Parameters

TInt aCmdCommand Id.
TUint8 * aDataData for command.

HandleEventL(TEventType, const TAny *)

TBool HandleEventL(TEventTypeaType,
const TAny *aEventData
)[pure virtual]

HandleEventL. Handle UI event. There are only 3 kinds of UI event right now: raw event, pointer and pointer buffer event.

Since
S60 v4.0

Parameters

TEventType aTypeThe event type. See TEventType
const TAny * aEventDataThe event data.

Init()

TRect Init()[pure virtual]

InitL. Do layout initialization. It's called by layout owner

Since
S60 v4.0 The layout rect including the shadow.

OnActivate()

voidOnActivate()[pure virtual]

OnActivate. Called by owner when the layout is going to be shown.

Since
S60 v4.0

OnDeActivate()

voidOnDeActivate()[pure virtual]

OnDeActivate. Called by owner when the layout is going to be hidden

Since
S60 v4.0

OnResourceChange(TInt)

TInt OnResourceChange(TIntaEventType)[pure virtual]

SizeChanged. Inform layout the size changing event.

Since
S60 v4.0

Parameters

TInt aEventType

PenInputType()

TInt PenInputType()[pure virtual]

Get current input UI type

Since
S60 v4.0

SemiTransparencyRequired()

TBool SemiTransparencyRequired()[pure virtual]

SemiTransparencyRequired. Tell whether this layout requires semi-transparency. This is to save memory used in mask bitmap. If semi-transparency not deeded, We use black-white bitmap.

Since
S60 v4.0

SetPositionFromOutside(const TPoint &)

voidSetPositionFromOutside(const TPoint &aNewPos)[pure virtual]

SetPositionFromOutside. Inform UI that the position is change from outside of UI.

Since
S60 v5.0

Parameters

const TPoint & aNewPos