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


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::AddPushButton()
Public Member Functions | |
| FGPushButton (int xs, int ys, int ws, int hs, const char *nm, int key, FGWindow *w, ControlCall f, void *user_data) | |
| FGPushButton (int xs, int ys, int key, FGWindow *w, FGDrawBuffer *bm, ControlCall f, void *user_data) | |
| FGPushButton (int xs, int ys, int ws, int hs, const char *nm, int key, FGWindow *w, FGDrawBuffer *bm, ControlCall f, void *user_data) | |
| void | ClickDown (void) |
| void | ClickUp (int) |
| void | Push (void) |
| void | Release (void) |
| virtual void | draw (void) |
| void | AddBitmaps (FGDrawBuffer *push=0, FGDrawBuffer *disable=0) |
|
|
Draws a FGPushButton.
Reimplemented from fgl::FGControl. |
1.4.0