Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <ToggleControl.h>
Inheritance diagram for ToggleControl::RadioGroup:
Definition at line 13 of file ToggleControl.h.
Public Member Functions | |
RadioGroup (bool must_have_one=true) | |
constructor | |
virtual void | activate (ToggleControl *next) |
call this when a different ToggleControl wants to take over | |
virtual ToggleControl * | getActive () const |
returns the currently active control | |
virtual void | setEnforced (bool must_have_one) |
can change the "must have one" setting (enforced) | |
virtual bool | getEnforced () const |
returns the "must have one" setting (enforced) | |
Protected Attributes | |
ToggleControl * | cur |
the currently active control, or NULL | |
bool | enforced |
if true, the current control cannot turn off, a new one must be activated | |
Private Member Functions | |
RadioGroup (const RadioGroup &) | |
don't call | |
RadioGroup & | operator= (const RadioGroup &) |
don't call |
|
constructor
Definition at line 16 of file ToggleControl.h. |
|
don't call
|
|
call this when a different ToggleControl wants to take over implementation is trickier than you might think! Definition at line 19 of file ToggleControl.h. Referenced by ToggleControl::setRadioGroup(), and ToggleControl::setStatus(). |
|
returns the currently active control
Definition at line 31 of file ToggleControl.h. |
|
returns the "must have one" setting (enforced)
Definition at line 35 of file ToggleControl.h. Referenced by ToggleControl::setStatus(). |
|
don't call
|
|
can change the "must have one" setting (enforced)
Definition at line 33 of file ToggleControl.h. |
|
the currently active control, or NULL
Definition at line 37 of file ToggleControl.h. Referenced by activate(), getActive(), and RadioGroup(). |
|
if true, the current control cannot turn off, a new one must be activated
Definition at line 38 of file ToggleControl.h. Referenced by activate(), getEnforced(), RadioGroup(), and setEnforced(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:30 2004 by Doxygen 1.3.4 |