FlipBoardEffect Class Reference

Effect that folds in the middle. More...

Inheritance diagram for FlipBoardEffect:
Effect

List of all members.

Public Member Functions

 FlipBoardEffect ()
 Constructor.
 FlipBoardEffect (Widget currentWidget, Widget nextWidget)
 Constructor.

Static Public Member Functions

static FlipBoardEffect CreateAndStart (Widget currentWidget, Widget nextWidget)
 Creates an instance and starts the effect.

Protected Member Functions

override void OnStart ()
 Start processing.
override EffectUpdateResponse OnUpdate (float elapsedTime)
 Update processing.
override void OnStop ()
 Stop processing.

Properties

Widget NextWidget [get, set]
 Obtains and sets the next widget to be displayed.
FlipBoardEffectInterpolator Interpolator [get, set]
 Obtains and sets the type of interpolation function.
AnimationInterpolator CustomInterpolator [get, set]
 Obtains and sets a custom interpolation function.
float Time [get, set]
 Obtains and sets the animation time.

Detailed Description

Effect that folds in the middle.

A new widget appears in the back. Airport bulletin board-like expression


Constructor & Destructor Documentation

FlipBoardEffect ( Widget  currentWidget,
Widget  nextWidget 
)

Constructor.

Parameters:
currentWidgetWidget being displayed
nextWidgetNext widget to be displayed

Member Function Documentation

static FlipBoardEffect CreateAndStart ( Widget  currentWidget,
Widget  nextWidget 
) [static]

Creates an instance and starts the effect.

Parameters:
currentWidgetWidget being displayed
nextWidgetNext widget to be displayed
Returns:
Effect instance
override EffectUpdateResponse OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)
Returns:
Response of effect update

Implements Effect.


Property Documentation

float Time [get, set]

Obtains and sets the animation time.

(ms)