version 2.8
GWidgetStyle Struct Reference

Detailed Description

The GWidgetStyle structure.

A GWidgetStyle is a set of colors that together form a "style". These colors should not be confused with the GWindow foreground and background colors which are used for drawing operations.

Definition at line 52 of file gwin_widget.h.

#include <gwin_widget.h>

Data Fields

color_t background
 
color_t focus
 
GColorSet enabled
 
GColorSet disabled
 
GColorSet pressed
 

Field Documentation

color_t GWidgetStyle::background

The window background color

Definition at line 53 of file gwin_widget.h.

Referenced by gwinCheckboxDraw_CheckOnLeft(), and gwinCheckboxDraw_CheckOnRight().

GColorSet GWidgetStyle::disabled

The colors when disabled

Definition at line 56 of file gwin_widget.h.

Referenced by gwinCheckboxIsChecked(), gwinProgressbarDraw_Std(), and gwinSliderDraw_Std().

GColorSet GWidgetStyle::enabled

The colors when enabled

Definition at line 55 of file gwin_widget.h.

Referenced by gwinCheckboxIsChecked(), gwinProgressbarDraw_Std(), and gwinSliderDraw_Std().

color_t GWidgetStyle::focus

The color when a widget is focused

Definition at line 54 of file gwin_widget.h.

GColorSet GWidgetStyle::pressed

The colors when pressed

Definition at line 57 of file gwin_widget.h.

Referenced by gwinCheckboxIsChecked().