#include <RadioGroup.h>
Inheritance diagram for OglGui::RadioGroup:
Public Member Functions | |
RadioGroup (int x, int y, int w, int h, int borderType=BEV_SUNKEN, bool isRect=true) | |
RadioGroup (Window *parent, int w, int h, int borderType=BEV_SUNKEN, bool isRect=true) | |
RadioGroup (Window *parent, int x, int y, int w, int h, int borderType=BEV_SUNKEN, bool isRect=true) | |
void | SetButtonDimensions (int w, int h) |
void | Add (Window *parent, strconst text, int borderType=BEV_RAISED, bool isRect=false) |
void | Add (strconst text, int borderType=BEV_RAISED, bool isRect=false) |
void | Add (Button *button) |
void | SetCurrentSelected () |
void | ButtonSelectionEvent (Button *src, void *data) |
void | SetRadioListener (RadioGroupListener *l, void *userData=0) |
void | SetRadioListener (RadioGroupListener *l, int userData=0) |
void | SetDisabled (bool b) |
int | GetActiveRadio () |
void | SetActiveRadio (int id) |
Button * | GetButton (int i) |
Protected Attributes | |
std::vector< Button * > | mButtons |
Private Member Functions | |
void | Init (int borderType, bool isRect) |
Private Attributes | |
RadioGroupListener * | mListener |
void * | mListenerData |
int | mCurrent |
int | mButtonWidth |
int | mButtonHeight |
Definition at line 14 of file RadioGroup.h.