FastLED
3.9.15
Loading...
Searching...
No Matches
◆
onChanged()
void fl::UICheckbox::onChanged
(
function< void(bool)>
callback
)
inline
Definition at line
190
of file
ui.h
.
190
{
191
function<void(
UICheckbox
&,
bool
)> wrapped_cb =
192
[callback](
UICheckbox
&checkbox,
bool
value
) {
193
FASTLED_UNUSED
(checkbox);
194
callback(
value
);
195
};
196
mCallbacks
.add(wrapped_cb);
197
mListener
.addToEngineEventsOnce();
198
}
UICheckbox::mListener
Listener mListener
Definition
ui.h:235
UICheckbox::mCallbacks
FunctionList< UICheckbox &, bool > mCallbacks
Definition
ui.h:232
UICheckbox::UICheckbox
UICheckbox(const char *name, bool value=false)
Definition
ui.h:179
fl::UICheckboxImpl::value
bool value() const
Definition
ui_impl.h:132
FASTLED_UNUSED
#define FASTLED_UNUSED(x)
Definition
unused.h:3
UICheckbox
Generated on Sat May 24 2025 22:44:24 for FastLED by
1.13.2