Difference between revisions of "GWIN"

From uGFX Wiki
Jump to: navigation, search
Line 6: Line 6:
 
* [[Widgets|Widget]]
 
* [[Widgets|Widget]]
 
* [[Containers|Container]]
 
* [[Containers|Container]]
 
== Initialization ==
 
If widgets are used, a default font and a default styling have to be selected:
 
<syntaxhighlight lang=c>
 
gwinSetDefaultFont(gdispOpenFont("DejaVu Sans 16"));  // Select your font
 
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);        // Select the widget style
 
</syntaxhighlight>
 
 
== Window creation ==
 

Revision as of 16:26, 1 July 2014

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: