gigawidgets 0.3.55
A wxWidgets-style UI library for the Arduino Giga Display Shield.
 
Loading...
Searching...
No Matches
startup_rainbow.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include <time.h>
5
6#include "../../core/color.hpp"
7#include "../../core/coords.hpp"
8#include "../../core/size.hpp"
9
10namespace ui {
11namespace shader {
12
23color_t startupRainbow(color_t pixel, const Coords &coords, const Size &size, time_t time);
24
25} // namespace shader
26} // namespace ui
uint16_t color_t
An RGB565 color value. 5 bits red, 6 bits green, 5 bits blue.
Definition color.hpp:13
color_t startupRainbow(color_t pixel, const Coords &coords, const Size &size, time_t time)
A pixel shader that that animates a rainbow transition from black to white.
A struct for storing the pixel coordinates of various UI elements.
Definition coords.hpp:17
A struct that holds the number of pixels that a widget would take up on the screen.
Definition size.hpp:17