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

Detailed Description

Definition at line 54 of file number_field.h.

#include <number_field.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) FL_NOEXCEPT
 
 ~UINumberField () FL_NOEXCEPT
 
void clearCallbacks () FL_NOEXCEPT
 
 FL_NO_COPY (UINumberField)
 
void onChanged (function< void(UINumberField &)> callback) FL_NOEXCEPT
 
 operator double () const FL_NOEXCEPT
 
 operator int () const FL_NOEXCEPT
 
UINumberFieldoperator= (double value) FL_NOEXCEPT
 
UINumberFieldoperator= (int value) FL_NOEXCEPT
 
void setGroup (const fl::string &groupName) FL_NOEXCEPT override
 
void setValue (double value) FL_NOEXCEPT
 
double value () const FL_NOEXCEPT
 
- Public Member Functions inherited from fl::UIElement
 UIElement () FL_NOEXCEPT
 
VIRTUAL_IF_NOT_AVR ~UIElement () FL_NOEXCEPT
 
fl::string getGroup () const FL_NOEXCEPT
 
bool hasGroup () const FL_NOEXCEPT
 

Protected Attributes

UINumberFieldImpl mImpl
 

Private Attributes

function_list< void(UINumberField &)> mCallbacks
 
double mLastFrameValue = 0
 
bool mLastFrameValueValid = false
 
Listener mListener
 

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