FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setValue()

void fl::UISlider::setValue ( float value)
inline

Definition at line 65 of file ui.h.

65{ mValue = MAX(mMin, MIN(mMax, value)); }
float mMin
Definition ui.h:84
float mMax
Definition ui.h:85
float mValue
Definition ui.h:83
float value() const
Definition ui.h:57
#define MIN(a, b)
Definition math_macros.h:8
#define MAX(a, b)
Definition math_macros.h:4

References MAX, MIN, mMax, mMin, mValue, and value().

Referenced by operator=(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: