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()

void FlushUi ( ) [pure virtual]

Update UI layout immediatelly.

Since
S60 v5.0

Hide(TBool)

void Hide ( TBool aHideFlag ) [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,
TBool aNeedUpdate = ETrue
) [pure virtual]

Handle layout size change event

Since
S60 v4.0

Parameters

const TSize & aSize The 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 & aNewPos The new top left position of the layout

SignalOwner(TInt, const TDesC &)

void SignalOwner ( TInt aEventType,
const TDesC & aEventData
) [pure virtual]

Signal owner that there is an event

Since
S60 v4.0

Parameters

TInt aEventType The event type
const TDesC & aEventData The event data

UpdateArea(const TRect &, TBool, TBool)

void UpdateArea ( const TRect & aRect,
TBool aFullUpdateFlag,
TBool aImmedFlag
) [pure virtual]

Update a rectangle area

Since
S60 v4.0

Parameters

const TRect & aRect The rectangle area to be updated
TBool aFullUpdateFlag Full update flag. Re-calculates the image due to background change.
TBool aImmedFlag Flags indicates whethere updating is executed immediately or buffered.