nGuiCheckButtonGroup Class Reference
[Graphical User Interface]
#include <nguicheckbuttongroup.h>
Inheritance diagram for nGuiCheckButtonGroup:

Detailed Description
Groups child check buttons so that only one is selected at any time. (OBSOLETE).(C) 2003 RadonLabs GmbH
Definition at line 15 of file nguicheckbuttongroup.h.
Public Member Functions | |
| nGuiCheckButtonGroup () | |
| constructor | |
| virtual | ~nGuiCheckButtonGroup () |
| destructor | |
| virtual bool | Render () |
| rendering | |
| virtual bool | OnMouseMoved (const vector2 &mousePos) |
| handle mouse move | |
| virtual bool | OnButtonDown (const vector2 &mousePos) |
| handle button down | |
| virtual bool | Inside (const vector2 &p) |
| is position inside? | |
| void | SetOnButtonIndex (int index) |
| set the current "on button" | |
| int | GetOnButtonIndex () const |
| get the current "on button" | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 13 of file nguicheckbuttongroup_main.cc. |
|
|
destructor
Definition at line 21 of file nguicheckbuttongroup_main.cc. |
Member Function Documentation
|
|
rendering This simply distributes the Render() call to the sub objects. Reimplemented from nGuiWidget. Definition at line 31 of file nguicheckbuttongroup_main.cc. |
|
|
handle mouse move This simply distributes the the OnMouseMoved() call to the sub objects. Reimplemented from nGuiWidget. Definition at line 52 of file nguicheckbuttongroup_main.cc. |
|
|
handle button down This makes sure that only one button of the button group is in the checked state. Reimplemented from nGuiWidget. Definition at line 71 of file nguicheckbuttongroup_main.cc. |
|
|
is position inside? Is coordinate in mouse sensitive area. Reimplemented from nGuiWidget. Definition at line 167 of file nguicheckbuttongroup_main.cc. |
|
|
set the current "on button" Set the new "on" button by index. Definition at line 115 of file nguicheckbuttongroup_main.cc. |
|
|
get the current "on button" Get the button index of the "on" button. Returns -1 if none of the buttons is active. Definition at line 146 of file nguicheckbuttongroup_main.cc. |
The documentation for this class was generated from the following files: