version 2.8
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   FALSE
 Should window manager support be included. More...
 
#define GWIN_NEED_CONTAINERS   FALSE
 Should the widget hierarchy be included. This provides parent-child features. More...
 
#define GWIN_NEED_WIDGET   FALSE
 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   FALSE
 Should the simple container be included. More...
 
#define GWIN_NEED_FRAME   FALSE
 Should the frame widget be included. More...
 
#define GWIN_NEED_CONSOLE   FALSE
 Should console functions be included. More...
 
#define GWIN_NEED_GRAPH   FALSE
 Should graph functions be included. More...
 
#define GWIN_NEED_GL3D   FALSE
 Should gl3d functions be included. More...
 
#define GWIN_NEED_BUTTON   FALSE
 Should button functions be included. More...
 
#define GWIN_NEED_PROGRESSBAR   FALSE
 Should progressbar functions be included. More...
 
#define GWIN_NEED_SLIDER   FALSE
 Should slider functions be included. More...
 
#define GWIN_NEED_CHECKBOX   FALSE
 Should checkbox functions be included. More...
 
#define GWIN_NEED_IMAGE   FALSE
 Should image functions be included. More...
 
#define GWIN_NEED_LABEL   FALSE
 Should label functions be included. More...
 
#define GWIN_NEED_RADIO   FALSE
 Should radio button functions be included. More...
 
#define GWIN_NEED_LIST   FALSE
 Should list widget functions be included. More...
 
#define GWIN_NEED_TABSET   FALSE
 Should tabset functions be included. More...
 
#define GWIN_NEED_KEYBOARD   FALSE
 Should the virtual keyboard be included. More...
 
#define GWIN_NEED_TEXTEDIT   FALSE
 Should the textedit widget be included. More...
 
GWIN Optional Parameters
#define GWIN_WIDGET_TAGS   FALSE
 Add a tag to each widget. More...
 
#define GWIN_FLAT_STYLING   FALSE
 Use flat styling for controls rather than a 3D look. More...
 
#define GWIN_REDRAW_IMMEDIATE   FALSE
 Don't use a timer for redrawing windows. More...
 
#define GWIN_REDRAW_SINGLEOP   FALSE
 Redraw all windows in a single operation. More...
 
#define GWIN_BUTTON_LAZY_RELEASE   FALSE
 Buttons should not insist the mouse is over the button on mouse release. More...
 
#define GWIN_CONSOLE_USE_HISTORY   FALSE
 Should the content of the console be saved for redrawing. More...
 
#define GWIN_CONSOLE_HISTORY_AVERAGING   FALSE
 Use font width averaging for the history buffer allocation. More...
 
#define GWIN_CONSOLE_HISTORY_ATCREATE   FALSE
 Should the history be turned on for all console windows when they are first created. More...
 
#define GWIN_CONSOLE_USE_FLOAT   FALSE
 Console Windows need floating point support in gwinPrintf. More...
 
#define GWIN_CONSOLE_ESCSEQ   FALSE
 Console windows support escape sequences to control display. More...
 
#define GWIN_CONSOLE_USE_BASESTREAM   FALSE
 Console Windows need BaseStreamSequential support (ChibiOS only) More...
 
#define GWIN_NEED_IMAGE_ANIMATION   FALSE
 Image windows can optionally support animated images. More...
 
#define GWIN_LABEL_ATTRIBUTE   FALSE
 Enable the API to use attributes in the label widget. More...
 
#define GWIN_NEED_LIST_IMAGES   FALSE
 Enable the API to use images in items in the list widget. More...
 
#define GWIN_PROGRESSBAR_AUTO   FALSE
 Enable the API to automatically increment the progressbar over time. More...
 
#define GWIN_SLIDER_NOSNAP   FALSE
 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   FALSE
 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 TRUE.

#define GWIN_NEED_KEYBOARD_ENGLISH1   TRUE
 The default keyboard layout for the virtual gwin keyboard. More...