MAknPhysicsObserver Class Reference

class MAknPhysicsObserver

AknPhysics observer.

aknphysics
Since
S60 v5.0

Member Functions Documentation

PhysicEmulationEnded()

void PhysicEmulationEnded ( ) [pure virtual]

Physics emulation has stopped moving the view

Since
S60 v5.0

ViewPosition()

TPoint ViewPosition ( ) const [pure virtual]

Returns the observer's view position.

Since
S60 v5.0

ViewPositionChanged(const TPoint &, TBool, TUint)

void ViewPositionChanged ( const TPoint & aNewPosition,
TBool aDrawNow,
TUint aFlags
) [pure virtual]

Physics emulation has moved the view.

When this method is called client should update its visual and logical states to reflect the changes caused by view move. Note that if the parameter aDrawNow is EFalse client is not allowed to redraw the display but should only update its logical state. Physics engine will ensure that the last frame is always drawn.

Since
S60 v5.0

Parameters

const TPoint & aNewPosition The new position of the view.
TBool aDrawNow ETrue if client should redraw the screen, otherwise EFalse.
TUint aFlags Additional flags, not used currently.