µGFX  2.9
version 2.9
GWindowInit Struct Reference

Detailed Description

The structure to initialise a GWIN.

Note
Some gwin's will need extra parameters.
The dimensions and position may be changed to fit on the real screen.
If you create this structure on the stack, you should always memset it to all zero's first in case a future version of the software add's extra fields. Alternatively you can use gwinClearInit() to clear it.

Definition at line 75 of file gwin.h.

#include <gwin.h>

Data Fields

gCoord x
 
gCoord y
 
gCoord width
 
gCoord height
 
gBool show
 

Field Documentation

◆ height

gCoord GWindowInit::height

The height

Definition at line 79 of file gwin.h.

◆ show

gBool GWindowInit::show

Should the window be visible initially

Definition at line 80 of file gwin.h.

◆ width

gCoord GWindowInit::width

The width

Definition at line 78 of file gwin.h.

◆ x

gCoord GWindowInit::x

The initial position relative to its parent

Definition at line 76 of file gwin.h.

◆ y

gCoord GWindowInit::y

The initial position relative to its parent

Definition at line 77 of file gwin.h.