FastLED 3.10.8
Loading...
Searching...
No Matches
colorutils_misc.h
Go to the documentation of this file.
1#pragma once
2
3#include "fl/stl/stdint.h" // IWYU pragma: keep
4#include "fl/stl/int.h" // IWYU pragma: keep
5#include "fl/stl/noexcept.h" // IWYU pragma: keep
6
7// TODO: Figure out how to namespace these.
8typedef fl::u32 TProgmemRGBPalette16[16];
24 fl::u32 entries[16];
25 operator const fl::u32 *() const FL_NO_EXCEPT { return entries; }
26};
27
28#define TProgmemPalette16 TProgmemRGBPalette16
29typedef fl::u32 TProgmemRGBPalette32[32];
34 fl::u32 entries[32];
35 operator const fl::u32 *() const FL_NO_EXCEPT { return entries; }
36};
37
38#define TProgmemPalette32 TProgmemRGBPalette32
39
48
49namespace fl {
50
60
61} // namespace fl
TGradientDirectionCode
Hue direction for calculating fill gradients.
TProgmemRGBGradientPalette_bytes TProgmemRGBGradientPaletteRef
Alias of TProgmemRGBGradientPalette_bytes.
const TProgmemRGBGradientPalette_byte * TProgmemRGBGradientPalette_bytes
Pointer to bytes of an RGB gradient, stored in PROGMEM memory.
fl::u32 TProgmemRGBPalette32[32]
CRGBPalette32 entries stored in PROGMEM memory.
const fl::u8 TProgmemRGBGradientPalette_byte
Byte of an RGB gradient, stored in PROGMEM memory.
fl::u32 TProgmemRGBPalette16[16]
CRGBPalette16 entries stored in PROGMEM memory.
unsigned char u8
Definition stdint.h:131
@ SHORTEST_HUES
Hue goes whichever way is shortest.
@ LONGEST_HUES
Hue goes whichever way is longest.
@ FORWARD_HUES
Hue always goes clockwise around the color wheel.
@ BACKWARD_HUES
Hue always goes counter-clockwise around the color wheel.
Base definition for an LED controller.
#define FL_NO_EXCEPT
CHSVPalette16 entries stored in PROGMEM memory.
CHSVPalette32 entries stored in PROGMEM memory.