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

Detailed Description

Definition at line 113 of file ui.h.

#include <ui.h>

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

Classes

struct  Listener
 

Public Member Functions

 UIButton (const char *name)
 
 ~UIButton ()
 
void clearCallbacks ()
 
void click ()
 
bool clicked () const
 
int clickedCount () const
 
 FL_NO_COPY (UIButton) using Super
 
bool isPressed () const
 
int onChanged (function< void()> callback)
 
int onChangedEx (function< void(UIButton &)> callback)
 
 operator bool () const
 
void removeCallback (int id)
 
- Public Member Functions inherited from fl::UIButtonImpl
 UIButtonImpl (const char *name)
 
 ~UIButtonImpl ()
 
void click ()
 
bool clicked () const
 
int clickedCount () const
 
bool isPressed () const
 
fl::Str name () const
 
 operator bool () const
 

Private Attributes

FunctionList< UIButton & > mCallbacks
 
Listener mListener
 

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