A group that allow only one check box selected in the same time.
More...
#include <CheckBoxGroup.hpp>
A group that allow only one check box selected in the same time.
- See also
- sf::ui::CheckBox
Definition at line 30 of file CheckBoxGroup.hpp.
sf::ui::CheckBoxGroup::CheckBoxGroup |
( |
| ) |
|
A group of check box.
Only one of this check boxes can be selected at time.
void sf::ui::CheckBoxGroup::addCheckBox |
( |
CheckBox & |
checkbox | ) |
|
Add a checkbox to this group.
- Parameters
-
checkbox | the checkbox to add |
unsigned int sf::ui::CheckBoxGroup::countCheckbox |
( |
| ) |
const |
- Returns
- the number of checkboxes in this group
std::set<CheckBox*>::const_iterator sf::ui::CheckBoxGroup::getCheckboxBegin |
( |
| ) |
const |
- Returns
- the begin of checkbox's iterator
std::set<CheckBox*>::const_iterator sf::ui::CheckBoxGroup::getCheckboxEnd |
( |
| ) |
const |
- Returns
- the end of checkbox's iterator
bool sf::ui::CheckBoxGroup::isCheckBoxInGroup |
( |
CheckBox * |
checkbox | ) |
const |
- Returns
- if the check box is in this group
- Parameters
-
checkbox | the checkbox to check |
virtual void sf::ui::CheckBoxGroup::onComponentEvent |
( |
const ComponentEvent & |
event | ) |
|
|
virtual |
void sf::ui::CheckBoxGroup::removeCheckbox |
( |
CheckBox & |
checkbox | ) |
|
Remove a checkbox to this group; This function does NOT delete the checkbox.
- Parameters
-
checkbox | - the checkbox to remove |
The documentation for this class was generated from the following file: