#include <aedRadioButtonGroup.h>
Inheritance diagram for aedRadioButtonGroup:


Public Member Functions | |
| aedRadioButtonGroup () | |
| virtual | ~aedRadioButtonGroup () |
| void | addButton (const std::string &caption) |
| Add a button to the group. | |
| void | removeButton (unsigned int index) |
| Remove a button from the group. | |
| int | getSelectedButton () const |
| Get the index of currently selected button. | |
| void | selectButton (unsigned int index) |
| Select a button. | |
| int | wm_lbuttondown (Uint16 x, Uint16 y) |
| int | wm_lostfocus () |
Private Attributes | |
| int | m_Selected |
| Uint16 | m_NextY |
| std::vector< aedCheckBox * > | m_Buttons |
| aedRadioButtonGroup::aedRadioButtonGroup | ( | ) |
| virtual aedRadioButtonGroup::~aedRadioButtonGroup | ( | ) | [virtual] |
| void aedRadioButtonGroup::addButton | ( | const std::string & | caption | ) |
Add a button to the group.
| caption | caption of the button to add |
| int aedRadioButtonGroup::getSelectedButton | ( | ) | const [inline] |
Get the index of currently selected button.
| void aedRadioButtonGroup::removeButton | ( | unsigned int | index | ) |
Remove a button from the group.
| index | index of the button in the group (first button has index 0) |
| void aedRadioButtonGroup::selectButton | ( | unsigned int | index | ) |
Select a button.
| index | index of the button to be selected |
| int aedRadioButtonGroup::wm_lbuttondown | ( | Uint16 | x, | |
| Uint16 | y | |||
| ) | [virtual] |
Reimplemented from aedWidget.
| int aedRadioButtonGroup::wm_lostfocus | ( | ) | [virtual] |
Reimplemented from aedWidget.
std::vector< aedCheckBox * > aedRadioButtonGroup::m_Buttons [private] |
Uint16 aedRadioButtonGroup::m_NextY [private] |
int aedRadioButtonGroup::m_Selected [private] |
1.4.7