version 2.8
GWindowObject Struct Reference

Detailed Description

A window object structure.

Note
Do not access the members directly. Treat it as a black-box and use the method functions.

Definition at line 40 of file gwin.h.

#include <gwin.h>

Data Fields

const struct gwinVMTvmt
 
GDisplay * display
 
coord_t x
 
coord_t y
 
coord_t width
 
coord_t height
 
color_t color
 
color_t bgcolor
 
uint32_t flags
 

Field Documentation

color_t GWindowObject::bgcolor

The current background drawing color

Definition at line 52 of file gwin.h.

color_t GWindowObject::color

The current foreground drawing color

Definition at line 51 of file gwin.h.

GDisplay* GWindowObject::display
uint32_t GWindowObject::flags
coord_t GWindowObject::height
coord_t GWindowObject::width
coord_t GWindowObject::x

The position relative to the screen

Definition at line 47 of file gwin.h.

Referenced by gwinCheckboxDraw_Button(), gwinCheckboxDraw_CheckOnLeft(), gwinCheckboxDraw_CheckOnRight(), gwinProgressbarDraw_Std(), and gwinSliderDraw_Std().

coord_t GWindowObject::y

The position relative to the screen

Definition at line 48 of file gwin.h.

Referenced by gwinCheckboxDraw_Button(), gwinCheckboxDraw_CheckOnLeft(), gwinCheckboxDraw_CheckOnRight(), gwinProgressbarDraw_Std(), and gwinSliderDraw_Std().