µGFX  2.9
version 2.9
gwin_options.h File Reference

Detailed Description

GWIN sub-system options header file.

Definition in file gwin_options.h.

Go to the source code of this file.

Macros

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...