FastLED 3.10.8
Loading...
Searching...
No Matches

◆ onSettingsChanged()

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

Reimplemented from fl::CLEDController.

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

415 {
416 // Frame completion restores dithering through the base setter. Dithering
417 // does not change pipeline coefficients and must not rebuild the pipeline.
419 if (change == SettingsChange::Dither) return;
421 if (change == SettingsChange::Correction || change == SettingsChange::Temperature) {
423 if (change == SettingsChange::Correction) {
425 } else {
427 }
428 }
429#if FL_COLOR_PROFILE_RUNTIME
430 reconcileColorProfile(mSettings);
431#endif
432}
LegacySettings mLegacySettings
bool mStaticProfileCleared
Definition channel.h:461
ChannelOptions mSettings
Definition channel.h:459
fl::variant< fl::Empty, Rgbw, Rgbww > mWhiteCfg
White-channel selection (variant): Empty = plain RGB, Rgbw = 4-channel, Rgbww = 5-channel.
Definition options.h:99
fl::u8 mDitherMode
Definition options.h:95
void setLegacyTemperature(CRGB temperature) FL_NO_EXCEPT
Definition options.h:288
void setLegacyCorrection(CRGB correction) FL_NO_EXCEPT
Definition options.h:287
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.