![]() |
µGFX
2.9
version 2.9
|
The GWIN module uses all the other modules (GDISP, GINPUT, GTIMER...) to form a complete GUI toolkit.
Modules | |
Containers | |
Containers are used to group together other windows and widgets. | |
Widgets | |
Widgets extend the Windows adding capabilities such as user input. | |
Windows | |
Windows are the most basic element in the GWIN module. | |
GWIN Functionality to be included | |
#define | GWIN_NEED_WINDOWMANAGER GFXOFF |
Should window manager support be included. More... | |
#define | GWIN_NEED_CONTAINERS GFXOFF |
Should the widget hierarchy be included. This provides parent-child features. More... | |
#define | GWIN_NEED_WIDGET GFXOFF |
Should widget functions be included. Needed for any widget (eg Buttons, Sliders etc) More... | |
#define | GWIN_FOCUS_HIGHLIGHT_WIDTH 1 |
The width of the rectangle that highlights a widget that is focused. More... | |
#define | GWIN_NEED_CONTAINER GFXOFF |
Should the simple container be included. More... | |
#define | GWIN_NEED_FRAME GFXOFF |
Should the frame widget be included. More... | |
#define | GWIN_NEED_CONSOLE GFXOFF |
Should console functions be included. More... | |
#define | GWIN_NEED_GRAPH GFXOFF |
Should graph functions be included. More... | |
#define | GWIN_NEED_GL3D GFXOFF |
Should gl3d functions be included. More... | |
#define | GWIN_NEED_BUTTON GFXOFF |
Should button functions be included. More... | |
#define | GWIN_NEED_PROGRESSBAR GFXOFF |
Should progressbar functions be included. More... | |
#define | GWIN_NEED_SLIDER GFXOFF |
Should slider functions be included. More... | |
#define | GWIN_NEED_CHECKBOX GFXOFF |
Should checkbox functions be included. More... | |
#define | GWIN_NEED_IMAGE GFXOFF |
Should image functions be included. More... | |
#define | GWIN_NEED_LABEL GFXOFF |
Should label functions be included. More... | |
#define | GWIN_NEED_RADIO GFXOFF |
Should radio button functions be included. More... | |
#define | GWIN_NEED_LIST GFXOFF |
Should list widget functions be included. More... | |
#define | GWIN_NEED_TABSET GFXOFF |
Should tabset functions be included. More... | |
#define | GWIN_NEED_KEYBOARD GFXOFF |
Should the virtual keyboard be included. More... | |
#define | GWIN_NEED_TEXTEDIT GFXOFF |
Should the textedit widget be included. More... | |
GWIN Optional Parameters | |
#define | GWIN_WIDGET_TAGS GFXOFF |
Add a tag to each widget. More... | |
#define | GWIN_FLAT_STYLING GFXOFF |
Use flat styling for controls rather than a 3D look. More... | |
#define | GWIN_REDRAW_IMMEDIATE GFXOFF |
Don't use a timer for redrawing windows. More... | |
#define | GWIN_REDRAW_SINGLEOP GFXOFF |
Redraw all windows in a single operation. More... | |
#define | GWIN_BUTTON_LAZY_RELEASE GFXOFF |
Buttons should not insist the mouse is over the button on mouse release. More... | |
#define | GWIN_CONSOLE_USE_HISTORY GFXOFF |
Should the content of the console be saved for redrawing. More... | |
#define | GWIN_CONSOLE_HISTORY_AVERAGING GFXOFF |
Use font width averaging for the history buffer allocation. More... | |
#define | GWIN_CONSOLE_HISTORY_ATCREATE GFXOFF |
Should the history be turned on for all console windows when they are first created. More... | |
#define | GWIN_CONSOLE_USE_FLOAT GFXOFF |
Console Windows need floating point support in gwinPrintf . More... | |
#define | GWIN_CONSOLE_ESCSEQ GFXOFF |
Console windows support escape sequences to control display. More... | |
#define | GWIN_CONSOLE_USE_BASESTREAM GFXOFF |
Console Windows need BaseStreamSequential support (ChibiOS only) More... | |
#define | GWIN_NEED_IMAGE_ANIMATION GFXOFF |
Image windows can optionally support animated images. More... | |
#define | GWIN_LABEL_ATTRIBUTE GFXOFF |
Enable the API to use attributes in the label widget. More... | |
#define | GWIN_NEED_LIST_IMAGES GFXOFF |
Enable the API to use images in items in the list widget. More... | |
#define | GWIN_PROGRESSBAR_AUTO GFXOFF |
Enable the API to automatically increment the progressbar over time. More... | |
#define | GWIN_SLIDER_NOSNAP GFXOFF |
Should the slider avoid snapping to a fixed position when the mouse is released. More... | |
#define | GWIN_SLIDER_DEAD_BAND 5 |
The number of pixels of dead-band at each end of the slider. More... | |
#define | GWIN_SLIDER_TOGGLE_INC 20 |
How many toggles it takes to go from minimum to maximum value on a slider. More... | |
#define | GWIN_TABSET_TABHEIGHT 18 |
The height in pixels of a row of tabs in a tabset. More... | |
#define | GWIN_NEED_FLASHING GFXOFF |
Should flashing of widgets be supported. More... | |
#define | GWIN_FLASHING_PERIOD 250 |
What is the period for the flashing timer. More... | |
#define | GWIN_KEYBOARD_DEFAULT_LAYOUT VirtualKeyboard_English1 |
The default keyboard layout for the virtual gwin keyboard. More... | |
GWIN Virtual Keyboard Layouts | |
One or more of these may be defined. They will only be created if GWIN_NEED_KEYBOARD is GFXON. | |
#define | GWIN_NEED_KEYBOARD_ENGLISH1 GFXON |
The default keyboard layout for the virtual gwin keyboard. More... | |
#define GWIN_BUTTON_LAZY_RELEASE GFXOFF |
Buttons should not insist the mouse is over the button on mouse release.
Defaults to GFXOFF
Definition at line 222 of file gwin_options.h.
#define GWIN_CONSOLE_ESCSEQ GFXOFF |
Console windows support escape sequences to control display.
Defaults to GFXOFF
Definition at line 295 of file gwin_options.h.
#define GWIN_CONSOLE_HISTORY_ATCREATE GFXOFF |
Should the history be turned on for all console windows when they are first created.
Defaults to GFXOFF
gwinConsoleSetBuffer()
can be used to turn the history buffer off and on at any time. Definition at line 269 of file gwin_options.h.
#define GWIN_CONSOLE_HISTORY_AVERAGING GFXOFF |
Use font width averaging for the history buffer allocation.
Defaults to GFXOFF
If this feature is enabled, the width one third of the way between the font's character width minimum and maximum will be used instead of the font's minimum width.
Definition at line 260 of file gwin_options.h.
#define GWIN_CONSOLE_USE_BASESTREAM GFXOFF |
Console Windows need BaseStreamSequential support (ChibiOS only)
Defaults to GFXOFF
Definition at line 308 of file gwin_options.h.
#define GWIN_CONSOLE_USE_FLOAT GFXOFF |
Console Windows need floating point support in gwinPrintf
.
Defaults to GFXOFF
Definition at line 276 of file gwin_options.h.
#define GWIN_CONSOLE_USE_HISTORY GFXOFF |
Should the content of the console be saved for redrawing.
Defaults to GFXOFF
If this feature is enabled, the contents of the console will be saved as it is written. If a redraw is required it will be redrawn from the history. Scrolling will also use the history buffer if it is turned on.
gwinConsoleSetBuffer()
can be used to turn the history buffer off and on. Definition at line 244 of file gwin_options.h.
#define GWIN_FLASHING_PERIOD 250 |
What is the period for the flashing timer.
Defaults to 250 milliseconds
Definition at line 388 of file gwin_options.h.
#define GWIN_FLAT_STYLING GFXOFF |
Use flat styling for controls rather than a 3D look.
Defaults to GFXOFF
Definition at line 188 of file gwin_options.h.
#define GWIN_FOCUS_HIGHLIGHT_WIDTH 1 |
The width of the rectangle that highlights a widget that is focused.
Defaults to 1
Definition at line 52 of file gwin_options.h.
#define GWIN_KEYBOARD_DEFAULT_LAYOUT VirtualKeyboard_English1 |
The default keyboard layout for the virtual gwin keyboard.
Defaults to VirtualKeyboardLayout_English1
Definition at line 395 of file gwin_options.h.
#define GWIN_LABEL_ATTRIBUTE GFXOFF |
Enable the API to use attributes in the label widget.
Defaults to GFXOFF
Definition at line 324 of file gwin_options.h.
#define GWIN_NEED_BUTTON GFXOFF |
Should button functions be included.
Defaults to GFXOFF
Definition at line 94 of file gwin_options.h.
#define GWIN_NEED_CHECKBOX GFXOFF |
Should checkbox functions be included.
Defaults to GFXOFF
Definition at line 115 of file gwin_options.h.
#define GWIN_NEED_CONSOLE GFXOFF |
Should console functions be included.
Defaults to GFXOFF
Definition at line 73 of file gwin_options.h.
#define GWIN_NEED_CONTAINER GFXOFF |
Should the simple container be included.
Defaults to GFXOFF
Definition at line 59 of file gwin_options.h.
#define GWIN_NEED_CONTAINERS GFXOFF |
Should the widget hierarchy be included. This provides parent-child features.
Defaults to GFXOFF
Definition at line 38 of file gwin_options.h.
#define GWIN_NEED_FLASHING GFXOFF |
Should flashing of widgets be supported.
Defaults to GFXOFF
Definition at line 381 of file gwin_options.h.
#define GWIN_NEED_FRAME GFXOFF |
Should the frame widget be included.
Defaults to GFXOFF
Definition at line 66 of file gwin_options.h.
#define GWIN_NEED_GL3D GFXOFF |
#define GWIN_NEED_GRAPH GFXOFF |
Should graph functions be included.
Defaults to GFXOFF
Definition at line 80 of file gwin_options.h.
#define GWIN_NEED_IMAGE GFXOFF |
Should image functions be included.
Defaults to GFXOFF
Definition at line 122 of file gwin_options.h.
#define GWIN_NEED_IMAGE_ANIMATION GFXOFF |
Image windows can optionally support animated images.
Defaults to GFXOFF
Definition at line 315 of file gwin_options.h.
#define GWIN_NEED_KEYBOARD GFXOFF |
Should the virtual keyboard be included.
Defaults to GFXOFF
Definition at line 157 of file gwin_options.h.
#define GWIN_NEED_KEYBOARD_ENGLISH1 GFXON |
The default keyboard layout for the virtual gwin keyboard.
Defaults to VirtualKeyboardLayout_English1
Definition at line 409 of file gwin_options.h.
#define GWIN_NEED_LABEL GFXOFF |
Should label functions be included.
Defaults to GFXOFF
Definition at line 129 of file gwin_options.h.
#define GWIN_NEED_LIST GFXOFF |
Should list widget functions be included.
Defaults to GFXOFF
Definition at line 143 of file gwin_options.h.
#define GWIN_NEED_LIST_IMAGES GFXOFF |
Enable the API to use images in items in the list widget.
Defaults to GFXOFF
Definition at line 331 of file gwin_options.h.
#define GWIN_NEED_PROGRESSBAR GFXOFF |
Should progressbar functions be included.
Defaults to GFXOFF
Definition at line 101 of file gwin_options.h.
#define GWIN_NEED_RADIO GFXOFF |
Should radio button functions be included.
Defaults to GFXOFF
Definition at line 136 of file gwin_options.h.
#define GWIN_NEED_SLIDER GFXOFF |
Should slider functions be included.
Defaults to GFXOFF
Definition at line 108 of file gwin_options.h.
#define GWIN_NEED_TABSET GFXOFF |
Should tabset functions be included.
Defaults to GFXOFF
Definition at line 150 of file gwin_options.h.
#define GWIN_NEED_TEXTEDIT GFXOFF |
Should the textedit widget be included.
Defaults to GFXOFF
Definition at line 164 of file gwin_options.h.
#define GWIN_NEED_WIDGET GFXOFF |
Should widget functions be included. Needed for any widget (eg Buttons, Sliders etc)
Defaults to GFXOFF
Definition at line 45 of file gwin_options.h.
#define GWIN_NEED_WINDOWMANAGER GFXOFF |
Should window manager support be included.
Defaults to GFXOFF
Definition at line 31 of file gwin_options.h.
#define GWIN_PROGRESSBAR_AUTO GFXOFF |
Enable the API to automatically increment the progressbar over time.
Defaults to GFXOFF
Definition at line 338 of file gwin_options.h.
#define GWIN_REDRAW_IMMEDIATE GFXOFF |
Don't use a timer for redrawing windows.
Defaults to GFXOFF
Definition at line 200 of file gwin_options.h.
#define GWIN_REDRAW_SINGLEOP GFXOFF |
Redraw all windows in a single operation.
Defaults to GFXOFF
Definition at line 215 of file gwin_options.h.
#define GWIN_SLIDER_DEAD_BAND 5 |
The number of pixels of dead-band at each end of the slider.
Defaults to 5
Definition at line 357 of file gwin_options.h.
#define GWIN_SLIDER_NOSNAP GFXOFF |
Should the slider avoid snapping to a fixed position when the mouse is released.
Defaults to GFXOFF
Definition at line 348 of file gwin_options.h.
#define GWIN_SLIDER_TOGGLE_INC 20 |
How many toggles it takes to go from minimum to maximum value on a slider.
Defaults to 20
Definition at line 366 of file gwin_options.h.
#define GWIN_TABSET_TABHEIGHT 18 |
The height in pixels of a row of tabs in a tabset.
Defaults to 18
Definition at line 373 of file gwin_options.h.
#define GWIN_WIDGET_TAGS GFXOFF |
Add a tag to each widget.
Defaults to GFXOFF
Definition at line 179 of file gwin_options.h.