LiveFlipPanel Class Reference

A container widget that rotates depending on an event. More...

Inheritance diagram for LiveFlipPanel:
Widget

List of all members.

Public Member Functions

 LiveFlipPanel ()
 Constructor.
void Start ()
 Starts the animation.
void Stop ()
 Stops the animation.
void Stop (bool withAnimate)
 Stops the animation.

Protected Member Functions

override void DisposeSelf ()
 Frees used resources.
internal override void OnTouchEvent (TouchEventCollection touchEvents)
 Touch event handler.
internal override void OnResetState ()
 Status reset handler.
override void OnUpdate (float elapsedTime)
 Update processing.

Properties

int FlipCount [get, set]
 Obtains and sets the number of rotations.
bool TouchEnabled [get, set]
 Obtains and sets whether to enable touch operations (drag, flick).
override float Width [get, set]
 Obtains and sets the width.
override float Height [get, set]
 Obtains and sets the height.
Panel FrontPanel [get, set]
 Obtains and sets the front panel.
Panel BackPanel [get, set]
 Obtains and sets the back panel.

Detailed Description

A container widget that rotates depending on an event.


Member Function Documentation

internal override void OnTouchEvent ( TouchEventCollection  touchEvents) [protected, virtual]

Touch event handler.

Parameters:
touchEventsTouch event

Reimplemented from Widget.

override void OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)

Reimplemented from Widget.

void Stop ( bool  withAnimate)

Stops the animation.

Parameters:
withAnimateWhether to execute the animation

Property Documentation

int FlipCount [get, set]

Obtains and sets the number of rotations.

(Half rotation = 1)