FastLED 3.9.7
Loading...
Searching...
No Matches
fl::Slider Class Reference

Detailed Description

Examples
FxEngine.ino.

Definition at line 42 of file ui.h.

Public Member Functions

 Slider (const char *name, float value=128.0f, float min=1, float max=255, float step=-1.f)
 
float value () const
 
void setValue (float value)
 
 operator float () const
 
 operator uint8_t () const
 
 operator uint16_t () const
 
 operator int () const
 
template<typename T >
as () const
 
Slideroperator= (float value)
 
Slideroperator= (int value)
 

Constructor & Destructor Documentation

◆ Slider()

fl::Slider::Slider ( const char * name,
float value = 128.0f,
float min = 1,
float max = 255,
float step = -1.f )
inline

Definition at line 45 of file ui.h.

◆ ~Slider()

fl::Slider::~Slider ( )
inline

Definition at line 52 of file ui.h.

Member Function Documentation

◆ as()

template<typename T >
T fl::Slider::as ( ) const
inline

Definition at line 59 of file ui.h.

◆ operator float()

fl::Slider::operator float ( ) const
inline

Definition at line 55 of file ui.h.

◆ operator int()

fl::Slider::operator int ( ) const
inline

Definition at line 58 of file ui.h.

◆ operator uint16_t()

fl::Slider::operator uint16_t ( ) const
inline

Definition at line 57 of file ui.h.

◆ operator uint8_t()

fl::Slider::operator uint8_t ( ) const
inline

Definition at line 56 of file ui.h.

◆ operator=() [1/2]

Slider & fl::Slider::operator= ( float value)
inline

Definition at line 61 of file ui.h.

◆ operator=() [2/2]

Slider & fl::Slider::operator= ( int value)
inline

Definition at line 62 of file ui.h.

◆ setValue()

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

Definition at line 54 of file ui.h.

◆ value()

float fl::Slider::value ( ) const
inline

Definition at line 53 of file ui.h.


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