166 double r,
double g,
double b,
double a);
Color_t - struct used to set cairo color for Widget_t.
SystrayColor - the Systray Color struct SystrayColor could be used for the backgroung color of the Sy...
XColor_t - the Widget_t Color struct XColor_t could be used for theming you Widget_t set.
Xputty - the main struct. It should be declared before any other call to a Xputty function....
void use_frame_color_scheme(Widget_t *w, Color_state st)
use_frame_color_scheme - use frame Colors to paint on Widget_t
Color_state get_color_state(Widget_t *wid)
get_color_state - get the Color_state to use in relation to the Widget_t state
void use_text_color_scheme(Widget_t *w, Color_state st)
use_text_color_scheme - use text Colors to paint on Widget_t
void use_systray_color(Widget_t *w)
use_systray_color - use systray Colors to paint on Widget_t
void color_scheme_to_childs(Widget_t *wid)
color_scheme_to_childs - copy a colorscheme to all childs light theme
Color_mod
Color_mod - select color mod to use on draw.
void use_bg_color_scheme(Widget_t *w, Color_state st)
use_bg_color_scheme - use background Colors to paint on Widget_t
void use_fg_color_scheme(Widget_t *w, Color_state st)
use_fg_color_scheme - use forground Colors to paint on Widget_t
void set_pattern(Widget_t *w, Colors *from, Colors *to, Color_mod mod)
set_pattern - set pattern for the selected Colors
void set_light_theme(Xputty *main)
set_light_theme - init the XColor_t struct to the default light theme
void use_light_color_scheme(Widget_t *w, Color_state st)
use_light_color_scheme - use light Colors to paint on Widget_t
void set_dark_theme(Xputty *main)
set_dark_theme - init the XColor_t struct to the default dark theme
Colors * get_color_scheme(Widget_t *wid, Color_state st)
get_color_scheme - get pointer to the Colors struct to use in relation to the Color_state
void set_widget_color(Widget_t *w, Color_state st, Color_mod mod, double r, double g, double b, double a)
set_widget_color - set a individual Widget_t color
void use_shadow_color_scheme(Widget_t *w, Color_state st)
use_shadow_color_scheme - use shadow Colors to paint on Widget_t
void set_systray_color(Xputty *main, double r, double g, double b, double a)
set_systray_color - set the systray background color
void use_base_color_scheme(Widget_t *w, Color_state st)
use_base_color_scheme - use base Colors to paint on Widget_t
void widget_set_color(double *c, double r, double g, double b, double a)
widget_set_color - set a individual Widget_t color
Color_state
Color_state - select color mode to use on Widget_t.
This file contains definitions and structs used on all platforms. Platform specific definitions are l...