#include <fastgl.h>
Inheritance diagram for fgl::FGCheckBox:


This button can be grouped into the set of mutually exclussive options to the user - that is, only one radio button in a set can be selected at a time. When the user selects a button, the previously selected button becomes unselected. Buttons are frequently grouped in a button group box (FGButtonGroup). Add the group box to the FGWindow first, then put the buttons into the group box. For example, two buttons on a FGWindow can be checked at the same time only if they are contained in separate containers, such as two different group boxes.
To add this FGControl use FGWindow::AddCheckBox() .
Public Member Functions | |
| FGCheckBox (int m, int xs, int ys, const char *nm, int key, FGWindow *w, int fg, int bg, ControlCall f, int *var, void *user_data) | |
| FGCheckBox (int xs, int ys, const char *nm, int key, FGWindow *w, int fg, int bg, ControlCall f, bool *var, void *user_data) | |
| void | ChangeItem (int *v) |
| void | ChangeItem (bool *v) |
| virtual void | draw (void) |
| virtual const int | ToInteger () const |
Protected Attributes | |
| int | mask |
| int * | variable |
|
|
Draws a FGCheckBox.
Reimplemented from fgl::FGControl. |
1.4.0