GWIN

From uGFX Wiki
Revision as of 16:23, 1 July 2014 by Tectu (Talk | contribs)

Jump to: navigation, search

The GWIN module takes usage of all the other modules and combines them into a complete GUI toolkit. Most commonly, the user will interact with the provided widgets through a touchscreen. However, the GINPUT module does also allow to use other input methods.

There are three basic types of GWIN elements:

Initialization

If widgets are used, a default font and a default styling have to be selected:

gwinSetDefaultFont(gdispOpenFont("DejaVu Sans 16"));   // Select your font
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);         // Select the widget style

Window creation