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

Detailed Description

Examples
Animartrix.ino.

Definition at line 288 of file ui.h.

#include <ui.h>

+ Inheritance diagram for fl::UINumberField:
+ Collaboration diagram for fl::UINumberField:

Classes

struct  Listener
 

Public Member Functions

 UINumberField (const char *name, double value, double min=0, double max=100)
 
 ~UINumberField ()
 
void clearCallbacks ()
 
 FL_NO_COPY (UINumberField)
 
void onChanged (function< void(UINumberField &)> callback)
 
 operator double () const
 
 operator int () const
 
UINumberFieldoperator= (double value)
 
UINumberFieldoperator= (int value)
 
void setGroup (const fl::string &groupName) override
 
void setValue (double value)
 
double value () const
 
- Public Member Functions inherited from fl::UIElement
 UIElement ()
 
VIRTUAL_IF_NOT_AVR ~UIElement ()
 
fl::string getGroup () const
 
bool hasGroup () const
 

Protected Attributes

UINumberFieldImpl mImpl
 

Private Attributes

FunctionList< UINumberField & > mCallbacks
 
double mLastFrameValue = 0
 
bool mLastFrameValueValid = false
 
Listener mListener
 

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