libxputty  0.1
A damn tiny abstraction Layer to create X11 window/widgets with cairo surfaces
Colors Struct Reference

Color_t - struct used to set cairo color for Widget_t. More...

#include <xcolor.h>

Data Fields

double fg [4]
 
double bg [4]
 
double base [4]
 
double text [4]
 
double shadow [4]
 
double frame [4]
 
double light [4]
 

Detailed Description

Color_t - struct used to set cairo color for Widget_t.

Parameters
fg[4]- forground {red, green, blue, alpha}
bg[4]- background {red, green, blue, alpha}
base[4]- base {red, green, blue, alpha}
text[4]- text {red, green, blue, alpha}
shadow[4]- shadow {red, green, blue, alpha}
frame[4]- frame {red, green, blue, alpha}
light[4]- light {red, green, blue, alpha}

Definition at line 73 of file xcolor.h.

Field Documentation

◆ base

double Colors::base[4]

Definition at line 76 of file xcolor.h.

◆ bg

double Colors::bg[4]

Definition at line 75 of file xcolor.h.

◆ fg

double Colors::fg[4]

Definition at line 74 of file xcolor.h.

◆ frame

double Colors::frame[4]

Definition at line 79 of file xcolor.h.

◆ light

double Colors::light[4]

Definition at line 80 of file xcolor.h.

◆ shadow

double Colors::shadow[4]

Definition at line 78 of file xcolor.h.

◆ text

double Colors::text[4]

Definition at line 77 of file xcolor.h.


The documentation for this struct was generated from the following file: