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

Detailed Description

Examples
FxEngine.ino.

Definition at line 42 of file ui.h.

Public Member Functions

 UISlider (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
 
UISlideroperator= (float value)
 
UISlideroperator= (int value)
 

Constructor & Destructor Documentation

◆ UISlider()

fl::UISlider::UISlider ( 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.

◆ ~UISlider()

fl::UISlider::~UISlider ( )
inline

Definition at line 52 of file ui.h.

Member Function Documentation

◆ as()

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

Definition at line 59 of file ui.h.

◆ operator float()

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

Definition at line 55 of file ui.h.

◆ operator int()

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

Definition at line 58 of file ui.h.

◆ operator uint16_t()

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

Definition at line 57 of file ui.h.

◆ operator uint8_t()

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

Definition at line 56 of file ui.h.

◆ operator=() [1/2]

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

Definition at line 61 of file ui.h.

◆ operator=() [2/2]

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

Definition at line 62 of file ui.h.

◆ setValue()

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

Definition at line 54 of file ui.h.

◆ value()

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

Definition at line 53 of file ui.h.


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