FastLED 3.9.15
|
#include <ui.h>
Classes | |
struct | Listener |
Public Member Functions | |
UISlider (const char *name, float value=128.0f, float min=1, float max=255, float step=-1.f) | |
template<typename T> | |
T | as () const |
int | as_int () const |
void | clearCallbacks () |
FL_NO_COPY (UISlider) using Super | |
float | getMax () const |
int | onChanged (function< void(float)> callback) |
int | onChangedEx (function< void(UISlider &, float)> callback) |
operator float () const | |
operator int () const | |
operator uint16_t () const | |
operator uint8_t () const | |
UISlider & | operator= (float value) |
UISlider & | operator= (int value) |
void | setValue (float value) |
float | value () const |
float | value_normalized () const |
![]() | |
UISliderImpl (const char *name, float value=128.0f, float min=1, float max=255, float step=-1.f) | |
~UISliderImpl () | |
template<typename T> | |
T | as () const |
int | as_int () const |
float | getMax () const |
float | getMin () const |
operator float () const | |
operator int () const | |
operator uint16_t () const | |
operator uint8_t () const | |
UISliderImpl & | operator= (float value) |
UISliderImpl & | operator= (int value) |
void | setValue (float value) |
float | value () const |
Private Attributes | |
FunctionList< UISlider &, float > | mCallbacks |
float | mLastFrameValue = 0 |
bool | mLastFramevalueValid = false |
Listener | mListener |