MHuiScreenBufferObserver Class Reference

class MHuiScreenBufferObserver

Member Functions Documentation

HandleScreenBufferEvent(TUid, TInt)

voidHandleScreenBufferEvent(TUidaBufferUid,
TIntaEvent
)[pure virtual]

Alf calls this when e.g. the back buffer is created or deleted.

MAlfScreenBufferObserver::TAlfScreenBufferEvent

Parameters

TUid aBufferUid
TInt aEvent

ScreenBufferComplete(TUid, TRect &, TRect &)

TBool ScreenBufferComplete(TUidaBufferUid,
TRect &aDisplayRect,
TRect &aDirtyRect
)[pure virtual]

This is called when all the content have been draw to the buffer. If EFalse is returned, the buffer will be locked until the observer unlocks it. If ETrue is returned, the buffer is unlocked automatically, immediately after this method returns.

Parameters

TUid aBufferUidUnique id of the buffer.
TRect & aDisplayRectScreen buffer rect.
TRect & aDirtyRectDirty rect for the buffer.

Member Enumerations Documentation

Enum THuiScreenBufferEvent

Enumerators

ENone
EBufferComplete = ENone
ECreated
EDeleted
ERestored
EReleased
EBufferDrawComplete