18 #ifndef CHECKBOXGROUP_H_
19 #define CHECKBOXGROUP_H_
21 #include <SFML/UI/ComponentObserver.hpp>
22 #include <SFML/UI/CheckBox.hpp>
122 std::set<CheckBox*> m_checkBox;
void removeCheckbox(CheckBox &checkbox)
Remove a checkbox to this group; This function does NOT delete the checkbox.
void addCheckBox(CheckBox &checkbox)
Add a checkbox to this group.
std::set< CheckBox * >::const_iterator getCheckboxBegin() const
A box which can be checked or not.
bool isCheckBoxInGroup(CheckBox *checkbox) const
virtual void onComponentEvent(const ComponentEvent &event)
Called each time a component change.
An event generate by a component.
unsigned int countCheckbox() const
A object updated each time a ComponentObservable change.
CheckBoxGroup()
A group of check box.
A group that allow only one check box selected in the same time.
std::set< CheckBox * >::const_iterator getCheckboxEnd() const