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

Detailed Description

Examples
Chromancer.ino.

Definition at line 131 of file ui.h.

#include <ui.h>

+ Inheritance diagram for fl::UIButton:
+ Collaboration diagram for fl::UIButton:

Classes

struct  Listener
 

Public Member Functions

 ~UIButton ()
 
void addRealButton (fl::shared_ptr< Button > button)
 
void clearCallbacks ()
 
void click ()
 
bool clicked () const
 
int clickedCount () const
 
 FL_NO_COPY (UIButton) UIButton(const char *name)
 
bool isPressed () const
 
int onChanged (function< void(UIButton &)> callback)
 
int onClicked (function< void()> callback)
 
 operator bool () const
 
void removeCallback (int id)
 
void setGroup (const fl::string &groupName) override
 
bool value () const
 
- Public Member Functions inherited from fl::UIElement
 UIElement ()
 
VIRTUAL_IF_NOT_AVR ~UIElement ()
 
fl::string getGroup () const
 
bool hasGroup () const
 

Protected Attributes

UIButtonImpl mImpl
 

Private Attributes

FunctionList< UIButton & > mCallbacks
 
Listener mListener
 
fl::shared_ptr< ButtonmRealButton
 

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