6#pragma GCC diagnostic push
7#pragma GCC diagnostic ignored "-Wfloat-equal"
13 if (
value != Super::value()) {
14 Super::setValue(
value);
33 const bool clicked_this_frame =
mOwner->clicked();
36 if (clicked_changed) {
74#pragma GCC diagnostic pop
FunctionList< UICheckbox &, bool > mCallbacks
bool mLastFrameValueValid
UICheckbox(const char *name, bool value=false)
FunctionList< UINumberField &, double > mCallbacks
UINumberField(const char *name, double value, double min=0, double max=100)
bool mLastFrameValueValid
bool mLastFramevalueValid
FunctionList< UISlider &, float > mCallbacks
UISlider(const char *name, float value=128.0f, float min=1, float max=255, float step=-1.f)
void setValue(float value)
Implements a simple red square effect for 2D LED grids.
void onBeginFrame() override
void onBeginFrame() override
void onBeginFrame() override