GWIN
The GWIN module takes usage of all the other modules and combines them into a complete GUI toolkit. It provides everything from buttons and checkboxes over lists and even graph widgets and much more. 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 as well.
There are three basic types of GWIN elements:
API reference
The API reference of the GWIN module can be found here.
GHandle
The GHandle data type is the main GWIN data type. All three GWIN types use this data type. The GHandle is the object reference and it is used to pass the different windows, widgets and containers around the different GWIN functions.
Drawing
All drawing operations that are provided by the GDISP module can also be used within a GWIN window. All coordinates supplied to the GWIN drawing calls are relative to the window.
GDISP | GWIN |
---|---|
gdispDrawXxx(...) | gwinDrawXxx(GHandle gh, ...) |
gdispFillXxx(...) | gwinFillXxx(GHandle gh, ...) |