FastLED 3.10.10
Loading...
Searching...
No Matches

◆ onSettingsChanged()

void fl::Channel::onSettingsChanged ( SettingsChange change)
overrideprivatevirtual

Reimplemented from fl::CLEDController.

Definition at line 417 of file channel.cpp.hpp.

417 {
418 // Frame completion restores dithering through the base setter. Dithering
419 // does not change pipeline coefficients and must not rebuild the pipeline.
421 if (change == SettingsChange::Dither) return;
423 if (change == SettingsChange::Correction || change == SettingsChange::Temperature) {
425 if (change == SettingsChange::Correction) {
427 } else {
429 }
430 }
431#if FL_COLOR_PROFILE_RUNTIME
432 reconcileColorProfile(mSettings);
433#endif
434}
LegacySettings mLegacySettings
bool mStaticProfileCleared
Definition channel.h:458
ChannelOptions mSettings
Definition channel.h:456
fl::variant< fl::Empty, Rgbw, Rgbww > mWhiteCfg
White-channel selection (variant): Empty = plain RGB, Rgbw = 4-channel, Rgbww = 5-channel.
Definition options.h:100
fl::u8 mDitherMode
Definition options.h:96
void setLegacyTemperature(CRGB temperature) FL_NO_EXCEPT
Definition options.h:290
void setLegacyCorrection(CRGB correction) FL_NO_EXCEPT
Definition options.h:289
variant< Empty, Rgbw, Rgbww > mWhiteCfg

References fl::CLEDController::Correction, fl::CLEDController::Dither, fl::FL_NO_EXCEPT, fl::CLEDController::mLegacySettings, mSettings, mStaticProfileCleared, and fl::CLEDController::Temperature.