#include <ButtonGroup.h>
Public Methods | |
| ButtonGroup () | |
| Creates an empty button group. | |
| void | add (StateButton *but) |
| Adds the specified state button to the group. | |
| StateButton * | getCheckedButton () |
| Returns the currently selected button. | |
| void | setCheckedButton (StateButton *button) |
| Sets the currently set button to the one selected. | |
| unsigned long | getGroupNumber () |
| Returns the group number of this group. | |
Protected Attributes | |
| unsigned long | group_num |
| The group number of this group. | |
| StateButton * | cur |
| The currently set button. | |
Static Protected Attributes | |
| unsigned long | group_iterator = 0 |
| Iterates every time a group is created, to give it the group number. | |
Friends | |
| BOOL | setButtons (Component *, UINT, WPARAM, LPARAM) |
| Sets a the new button, and unsets the previous one. | |
|
|
Creates an empty button group.
|
|
|
Adds the specified state button to the group.
|
|
|
Returns the currently selected button.
|
|
|
Returns the group number of this group.
|
|
|
Sets the currently set button to the one selected.
|
|
||||||||||||||||||||
|
Sets a the new button, and unsets the previous one.
|
|
|
The currently set button.
|
|
|
Iterates every time a group is created, to give it the group number.
|
|
|
The group number of this group.
|
1.2.18