A TweakBarHandler to control rivers rendering and animation. More...
#include <TweakRivers.h>
Public Member Functions | |
TweakRivers (ptr< DrawRiversTask > drawer, bool active) | |
Creates a new TweakRivers. | |
virtual | ~TweakRivers () |
Deletes this TweakRivers. | |
Protected Member Functions | |
TweakRivers () | |
Creates an uninitialized TweakRivers. | |
virtual void | init (ptr< DrawRiversTask > drawer, bool active) |
Initializes this TweakRivers. | |
Private Attributes | |
ptr< DrawRiversTask > | drawer |
The task that draws and animate rivers. | |
TwBar * | currentBar |
The bar that currently contains the TweakBar data for this TweakRivers. | |
int * | barStates |
Stores the opened state of each groups. |
A TweakBarHandler to control rivers rendering and animation.
proland::TweakRivers::TweakRivers | ( | ptr< DrawRiversTask > | drawer, | |
bool | active | |||
) |
Creates a new TweakRivers.
drawer | the task that draws and animate rivers. | |
active | true if this TweakBarHandler must be initialy active. |
virtual proland::TweakRivers::~TweakRivers | ( | ) | [virtual] |
Deletes this TweakRivers.
proland::TweakRivers::TweakRivers | ( | ) | [protected] |
Creates an uninitialized TweakRivers.
virtual void proland::TweakRivers::init | ( | ptr< DrawRiversTask > | drawer, | |
bool | active | |||
) | [protected, virtual] |
Initializes this TweakRivers.
See TweakRivers.
int* proland::TweakRivers::barStates [private] |
Stores the opened state of each groups.
TwBar* proland::TweakRivers::currentBar [private] |
The bar that currently contains the TweakBar data for this TweakRivers.
Stored to retrieve barStates at each changes.
ptr<DrawRiversTask> proland::TweakRivers::drawer [private] |
The task that draws and animate rivers.