µGFX  2.9
version 2.9
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

gColor background
 
gColor focus
 
GColorSet enabled
 
GColorSet disabled
 
GColorSet pressed
 

Field Documentation

◆ background

gColor GWidgetStyle::background

The window background color

Definition at line 53 of file gwin_widget.h.

◆ disabled

GColorSet GWidgetStyle::disabled

The colors when disabled

Definition at line 56 of file gwin_widget.h.

◆ enabled

GColorSet GWidgetStyle::enabled

The colors when enabled

Definition at line 55 of file gwin_widget.h.

◆ focus

gColor GWidgetStyle::focus

The color when a widget is focused

Definition at line 54 of file gwin_widget.h.

◆ pressed

GColorSet GWidgetStyle::pressed

The colors when pressed

Definition at line 57 of file gwin_widget.h.