Planeshift
|
This is a set of radio buttons and is used to control them. More...
#include <pawsradio.h>
Public Member Functions | |
csString | GetActive () |
sets active button by widget name or noone active if name is wrong | |
int | GetActiveID () |
gets name of active button or "" | |
csString | GetRadioOffImage () |
csString | GetRadioOnImage () |
int | GetRadioSize () |
bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
pawsRadioButtonGroup () | |
pawsRadioButtonGroup (const pawsRadioButtonGroup &origin) | |
bool | SetActive (const char *widgetName) |
bool | Setup (iDocumentNode *node) |
Setup this widget. | |
void | TurnAllOff () |
gets ID of active button or -1 | |
virtual | ~pawsRadioButtonGroup () |
This is a set of radio buttons and is used to control them.
Definition at line 131 of file pawsradio.h.
pawsRadioButtonGroup::pawsRadioButtonGroup | ( | ) |
pawsRadioButtonGroup::pawsRadioButtonGroup | ( | const pawsRadioButtonGroup & | origin | ) | [inline] |
Definition at line 135 of file pawsradio.h.
virtual pawsRadioButtonGroup::~pawsRadioButtonGroup | ( | ) | [virtual] |
csString pawsRadioButtonGroup::GetActive | ( | ) |
sets active button by widget name or noone active if name is wrong
int pawsRadioButtonGroup::GetActiveID | ( | ) |
gets name of active button or ""
csString pawsRadioButtonGroup::GetRadioOffImage | ( | ) | [inline] |
Definition at line 152 of file pawsradio.h.
csString pawsRadioButtonGroup::GetRadioOnImage | ( | ) | [inline] |
Definition at line 148 of file pawsradio.h.
int pawsRadioButtonGroup::GetRadioSize | ( | ) | [inline] |
Definition at line 156 of file pawsradio.h.
bool pawsRadioButtonGroup::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is pressed.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
bool pawsRadioButtonGroup::SetActive | ( | const char * | widgetName | ) |
bool pawsRadioButtonGroup::Setup | ( | iDocumentNode * | ) | [virtual] |
Setup this widget.
Reimplemented from pawsWidget.
void pawsRadioButtonGroup::TurnAllOff | ( | ) |
gets ID of active button or -1