A TweakBarHandler with additional options. More...
#include <TweakBarManager.h>
Public Member Functions | |
BarData (TweakBarManager *owner, ptr< TweakBarHandler > bar, bool exclusive, bool permanent, char k) | |
Creates a new BarData. | |
void | setActive (bool active) |
Activates or deactivates this TweakBarHandler. | |
Public Attributes | |
TweakBarManager * | owner |
The TweakBarManager to which this BarData belongs. | |
ptr< TweakBarHandler > | bar |
A TweakBarHandler. | |
bool | exclusive |
True if this TweakBarHandler must not be active at the same time as the other exclusive TweakBarHandler. | |
bool | permanent |
True if this TweakBarHandler must always be active. | |
char | k |
Shortcut key to activate or deactive this TweakBarHandler, or 0. |
A TweakBarHandler with additional options.
proland::TweakBarManager::BarData::BarData | ( | TweakBarManager * | owner, | |
ptr< TweakBarHandler > | bar, | |||
bool | exclusive, | |||
bool | permanent, | |||
char | k | |||
) |
Creates a new BarData.
owner | the TweakBarManager to which this BarData belongs. | |
bar | a TweakBarHandler. | |
exclusive | true if this TweakBarHandler must not be active at the same time as the other exclusive TweakBarHandler. | |
permanent | true if this TweakBarHandler must always be active. | |
key | shortcut key to activate or deactive this TweakBarHandler, or 0. |
void proland::TweakBarManager::BarData::setActive | ( | bool | active | ) |
Activates or deactivates this TweakBarHandler.
active | true to activate this TweakBarHandler, false otherwise. |
True if this TweakBarHandler must not be active at the same time as the other exclusive TweakBarHandler.
Shortcut key to activate or deactive this TweakBarHandler, or 0.
The TweakBarManager to which this BarData belongs.
True if this TweakBarHandler must always be active.