FastLED 3.9.7
|
Definition at line 112 of file twinklefox.hpp.
Public Member Functions | |
TwinkleFox (uint16_t num_leds) | |
void | draw (DrawContext context) override |
void | chooseNextColorPalette (CRGBPalette16 &pal) |
fl::Str | fxName () const override |
Public Member Functions inherited from fl::Fx1d | |
Fx1d (uint16_t numLeds) | |
void | setXmap (const XMap &xMap) |
uint16_t | xyMap (uint16_t x) const |
Public Member Functions inherited from fl::Fx | |
Fx (uint16_t numLeds) | |
virtual bool | hasFixedFrameRate (float *fps) const |
virtual void | pause (uint32_t now) |
virtual void | resume (uint32_t now) |
uint16_t | getNumLeds () const |
Public Member Functions inherited from fl::Referent | |
virtual int | ref_count () const |
Public Attributes | |
CRGBPalette16 | targetPalette |
CRGBPalette16 | currentPalette |
Additional Inherited Members | |
Public Types inherited from fl::Fx | |
using | DrawContext = _DrawContext |
Protected Member Functions inherited from fl::Referent | |
Referent (const Referent &) | |
Referent & | operator= (const Referent &) |
Referent (Referent &&) | |
Referent & | operator= (Referent &&) |
virtual void | ref () |
virtual void | unref () |
virtual void | destroy () |
Protected Attributes inherited from fl::Fx1d | |
XMap | mXMap |
Protected Attributes inherited from fl::Fx | |
uint16_t | mNumLeds |
|
inline |
Definition at line 117 of file twinklefox.hpp.
void fl::TwinkleFox::chooseNextColorPalette | ( | CRGBPalette16 & | pal | ) |
Definition at line 300 of file twinklefox.hpp.
|
inlineoverridevirtual |
now | The current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior. |
Implements fl::Fx.
Definition at line 125 of file twinklefox.hpp.
|
inlineoverridevirtual |
Implements fl::Fx.
Definition at line 133 of file twinklefox.hpp.
CRGBPalette16 fl::TwinkleFox::currentPalette |
Definition at line 115 of file twinklefox.hpp.
CRGBPalette16 fl::TwinkleFox::targetPalette |
Definition at line 114 of file twinklefox.hpp.