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


This class is base parent of all graphics objects into OpenGUI library and encapsulates all basic methods. These methods are used in FGWindow, FGEditBox, FGRadioButton and other GUI classes. It implements a linked list of objects also. This is used to release memory when FGWindow is destroyed.
Public Member Functions | |
| FGBaseGui (int xs, int ys, int ws, int hs, const char *nm, ObjectType typ, FGPixel i, FGPixel p, long flag) | |
| unsigned __fastcall | GetInk (void) const |
| unsigned __fastcall | GetPaper (void) const |
| bool | IsVisible (void) const |
| void | SetColors (void) |
| int | GetX (void) const |
| int | GetY (void) const |
| virtual void | OnFocus (void) |
| virtual void | OnLostFocus (void) |
| void * | GetPrivateData (void) const |
| void | SetPrivateData (void *val) |
| void * | GetUserData (void) const |
| void | SetUserData (void *val) |
Protected Types | |
| enum | bs { EBOX_LOW = 1, EBOX_UPR, BDOWN, BUP, WHIDE, WVISIBLE, WDEACTIVE, WACTIVE } |
Protected Member Functions | |
| void __fastcall | Resize (int dx, int dy) |
| void | frame (void) |
| virtual void | DrawAsSelected (void) |
Protected Attributes | |
| int | x |
| int | y |
| void * | tab_page_controls |
| void * | private_data |
| void * | user_data |
| unsigned | ink |
| unsigned | paper |
| bool | temporary_hidden |
|
|
Draws the frame of FGControl.
|
|
|
Returns a foreground color of the object.
Reimplemented from fgl::FGDrawBuffer. |
|
|
Retutns a background color of the object.
Reimplemented from fgl::FGDrawBuffer. |
|
|
Get user data pointer.
|
|
|
Returns the 'x' coordinates of the object. |
|
|
Returns the 'y' coordinates of the object. |
|
|
Returns vivibility of the object. |
|
|
Callback on focus get. |
|
|
Callback on focus lost. |
|
|
Set the object's color as default for drawing.
|
|
|
Set user data pointer.
|
1.4.0