Skip to main content

Module color

Module color 

Source
Expand description

§Color

Pushrod’s own color and font style types. Widgets and the Painter use these instead of SDL2 types, so a widget library never compiles against a specific SDL2 version. A backend converts them at its boundary.

Structs§

Color
A color with red, green, blue, and alpha channels, each 0..=255.
FontStyle
Font style flags, which can be combined with |.