MLayoutOwner Class Reference

class MLayoutOwner

Class MLayoutOwner.

Interface for layout owner. A layout owner is responsible for displaying the layout.

Since
S60 V4.0

Member Functions Documentation

BitmapContext()

CBitmapContext *BitmapContext()[pure virtual]

Get the Bitmap context for drawing.

Since
S60 v4.0

BitmapDevice()

CFbsBitmapDevice *BitmapDevice()[pure virtual]

Get the bitmap device

Since
S60 v4.0

FlushUi()

voidFlushUi()[pure virtual]

Update UI layout immediatelly.

Since
S60 v5.0

Hide(TBool)

voidHide(TBoolaHideFlag)[pure virtual]

Hide or show the layout

Since
S60 v4.0

Parameters

TBool aHideFlag

LayoutRect()

TRect LayoutRect()[pure virtual]

Get layout position and it's rect. The position is relative to it's parent window or screen. The size includes all invisible layout area as well as the shadow.

Since
S60 v4.0

LayoutSizeChanged(const TSize &, TBool)

TInt LayoutSizeChanged(const TSize &aSize,
TBoolaNeedUpdate = ETrue
)[pure virtual]

Handle layout size change event

Since
S60 v4.0

Parameters

const TSize & aSizeThe new layout size
TBool aNeedUpdate = ETrue

MaskBmpDevice()

CFbsBitmapDevice *MaskBmpDevice()[pure virtual]

Get the mask bitmap device

Since
S60 v4.0

SetPosition(const TPoint &)

TPoint SetPosition(const TPoint &aNewPos)[pure virtual]

Set layout position. This should only be called after layout has change its position, i.e, the layout top left is the new position.

Since
S60 v4.0

Parameters

const TPoint & aNewPosThe new top left position of the layout

SignalOwner(TInt, const TDesC &)

voidSignalOwner(TIntaEventType,
const TDesC &aEventData
)[pure virtual]

Signal owner that there is an event

Since
S60 v4.0

Parameters

TInt aEventTypeThe event type
const TDesC & aEventDataThe event data

UpdateArea(const TRect &, TBool, TBool)

voidUpdateArea(const TRect &aRect,
TBoolaFullUpdateFlag,
TBoolaImmedFlag
)[pure virtual]

Update a rectangle area

Since
S60 v4.0

Parameters

const TRect & aRectThe rectangle area to be updated
TBool aFullUpdateFlagFull update flag. Re-calculates the image due to background change.
TBool aImmedFlagFlags indicates whethere updating is executed immediately or buffered.