FastLED 3.9.15
Loading...
Searching...
No Matches
fl::UISlider Class Reference

Detailed Description

Examples
Animartrix.ino, Chromancer.ino, FxEngine.ino, and FxNoisePlusPalette.ino.

Definition at line 43 of file ui.h.

#include <ui.h>

+ Inheritance diagram for fl::UISlider:
+ Collaboration diagram for fl::UISlider:

Classes

struct  Listener
 

Public Member Functions

template<typename T>
as () const
 
int as_int () const
 
void clearCallbacks ()
 
 FL_NO_COPY (UISlider) UISlider(const char *name
 
int onChanged (function< void(UISlider &)> callback)
 
 operator fl::u16 () const
 
 operator float () const
 
 operator int () const
 
 operator u8 () const
 
UISlideroperator= (float value)
 
UISlideroperator= (int value)
 
void setGroup (const fl::string &groupName) override
 
- Public Member Functions inherited from fl::UIElement
 UIElement ()
 
VIRTUAL_IF_NOT_AVR ~UIElement ()
 
fl::string getGroup () const
 
bool hasGroup () const
 

Public Attributes

float float float max = 255
 
float float min = 1
 
float float float float step
 
float value = 128.0f
 

Protected Attributes

UISliderImpl mImpl
 

Private Attributes

FunctionList< UISlider & > mCallbacks
 
float mLastFrameValue = 0
 
bool mLastFramevalueValid = false
 
Listener mListener
 

The documentation for this class was generated from the following file: