![]() |
µGFX
2.9
version 2.9
|
Container with window decoration.
A frame is a rectangular window that can have optional border as well as buttons to close, maximize and minimize it. The main purpose of this widget is to contain children.
Modules | |
| Renderings | |
| Built-in rendering functions for the frame widget. | |
Functions | |
| GHandle | gwinGFrameCreate (GDisplay *g, GFrameObject *fo, GWidgetInit *pInit, gU32 flags) |
| Create a frame widget. More... | |
| #define | GWIN_FRAME_BORDER 0x00000000 |
| Flags for gwinFrameCreate() More... | |
| #define | GWIN_FRAME_CLOSE_BTN 0x00000001 |
| #define | GWIN_FRAME_MINMAX_BTN 0x00000002 |
| #define | GWIN_FRAME_KEEPONCLOSE 0x00000004 |
| #define | GWIN_FRAME_CLOSE_PRESSED 0x00000008 |
| The internal frame flags. More... | |
| GHandle gwinGFrameCreate | ( | GDisplay * | g, |
| GFrameObject * | fo, | ||
| GWidgetInit * | pInit, | ||
| gU32 | flags | ||
| ) |
Create a frame widget.
This widget provides a window like we know it from desktop systems.
| [in] | g | The GDisplay to display this window on |
| [in] | fo | The GFrameObject structure to initialize. If this is NULL the structure is dynamically allocated. |
| [in] | pInit | The initialization parameters |
| [in] | flags | Some flags, see notes. |
| #define GWIN_FRAME_BORDER 0x00000000 |
Flags for gwinFrameCreate()
Deprecated. A border is always shown with a frame window now.
Definition at line 34 of file gwin_frame.h.
| #define GWIN_FRAME_CLOSE_BTN 0x00000001 |
Should a close button be shown?
Definition at line 35 of file gwin_frame.h.
| #define GWIN_FRAME_CLOSE_PRESSED 0x00000008 |
The internal frame flags.
Definition at line 45 of file gwin_frame.h.
| #define GWIN_FRAME_KEEPONCLOSE 0x00000004 |
Don't automatically destroy the frame on close
Definition at line 37 of file gwin_frame.h.
| #define GWIN_FRAME_MINMAX_BTN 0x00000002 |
Should minimize and maximize buttons be shown?
Definition at line 36 of file gwin_frame.h.