2#include <color/color.hpp>
20 , uint8_t&& alpha = 255
21 , uint8_t&& secondary_red = 0
22 , uint8_t&& secondary_green = 0
23 , uint8_t&& secondary_blue = 0
24 , uint8_t&& secondary_alpha = 255);
30 , uint8_t&& alpha = 255
31 , uint8_t&& secondary_red = 0
32 , uint8_t&& secondary_green = 0
33 , uint8_t&& secondary_blue = 0
34 , uint8_t&& secondary_alpha = 255);
37 explicit base_painter();
void set_pulse(uint8_t &&red, uint8_t &&green, uint8_t &&blue, uint8_t &&alpha=255, uint8_t &&secondary_red=0, uint8_t &&secondary_green=0, uint8_t &&secondary_blue=0, uint8_t &&secondary_alpha=255)
Sets primary and secondary colour along with the pulsing state.
void set_blink(uint8_t &&red, uint8_t &&green, uint8_t &&blue, uint8_t &&alpha=255, uint8_t &&secondary_red=0, uint8_t &&secondary_green=0, uint8_t &&secondary_blue=0, uint8_t &&secondary_alpha=255)
Sets primary and secondary colour along with the blinking state.
void set_color(uint8_t &&r=0, uint8_t &&g=0, uint8_t &&b=0, uint8_t &&a=255)
Sets the primary colour along with the constant state.
Generic colour class holding RGBA values of a primary and a secondary colour. The blinking and pulsin...
Definition color.hpp:12