FastLED 3.9.15
Loading...
Searching...
No Matches
UICheckbox Class Reference

Detailed Description

Examples
FxEngine.ino.

Definition at line 175 of file ui.h.

#include <ui.h>

+ Inheritance diagram for UICheckbox:
+ Collaboration diagram for UICheckbox:

Classes

struct  Listener
 

Public Types

using Super = UICheckboxImpl
 

Public Member Functions

 UICheckbox (const char *name, bool value=false)
 
 ~UICheckbox ()
 
void clearCallbacks ()
 
 FL_NO_COPY (UICheckbox)
 
void onChanged (function< void(bool)> callback)
 
void onChangedEx (function< void(UICheckbox &, bool)> callback)
 
 operator bool () const
 
 operator int () const
 
UICheckboxoperator= (bool value)
 
- Public Member Functions inherited from fl::UICheckboxImpl
 UICheckboxImpl (const char *name, bool value=false)
 
 ~UICheckboxImpl ()
 
 operator bool () const
 
 operator int () const
 
UICheckboxImploperator= (bool value)
 
UICheckboxImploperator= (int value)
 
bool value () const
 

Private Member Functions

Superimpl ()
 

Private Attributes

FunctionList< UICheckbox &, bool > mCallbacks
 
bool mLastFrameValue = false
 
bool mLastFrameValueValid = false
 
Listener mListener
 

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