MAknPhysicsObserver Class Reference

class MAknPhysicsObserver

AknPhysics observer.

aknphysics
Since
S60 v5.0
Public Member Functions
voidPhysicEmulationEnded()
TPoint ViewPosition()
voidViewPositionChanged(const TPoint &, TBool, TUint)

Member Functions Documentation

PhysicEmulationEnded()

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

voidViewPositionChanged(const TPoint &aNewPosition,
TBoolaDrawNow,
TUintaFlags
)[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 & aNewPositionThe new position of the view.
TBool aDrawNowETrue if client should redraw the screen, otherwise EFalse.
TUint aFlagsAdditional flags, not used currently.