version 2.8
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

coord_t x
 
coord_t y
 
coord_t width
 
coord_t height
 
bool_t show
 

Field Documentation

coord_t GWindowInit::height

The height

Definition at line 79 of file gwin.h.

bool_t GWindowInit::show

Should the window be visible initially

Definition at line 80 of file gwin.h.

Referenced by gwinGCheckboxCreate(), gwinGProgressbarCreate(), and gwinGSliderCreate().

coord_t GWindowInit::width

The width

Definition at line 78 of file gwin.h.

coord_t GWindowInit::x

The initial position relative to its parent

Definition at line 76 of file gwin.h.

coord_t GWindowInit::y

The initial position relative to its parent

Definition at line 77 of file gwin.h.