MHuiScreenBufferObserver Class Reference

class MHuiScreenBufferObserver

Member Functions Documentation

HandleScreenBufferEvent(TUid, TInt)

void HandleScreenBufferEvent ( TUid aBufferUid,
TInt aEvent
) [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 ( TUid aBufferUid,
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 aBufferUid Unique id of the buffer.
TRect & aDisplayRect Screen buffer rect.
TRect & aDirtyRect Dirty rect for the buffer.

Member Enumerations Documentation

Enum THuiScreenBufferEvent

Enumerators

ENone
EBufferComplete = ENone
ECreated
EDeleted
ERestored
EReleased
EBufferDrawComplete