|
FastLED 3.9.15
|
#include <ui.h>
Inheritance diagram for UIDropdown:
Collaboration diagram for UIDropdown:Classes | |
| struct | Listener |
Public Member Functions | |
| UIDropdown (const char *name, fl::initializer_list< fl::string > options) | |
| ~UIDropdown () | |
| void | addNextButton (int pin) |
| int | as_int () const |
| fl::string | as_string () const |
| void | clearCallbacks () |
| FL_NO_COPY (UIDropdown) UIDropdown(const char *name | |
| fl::string | getOption (fl::size index) const |
| fl::size | getOptionCount () const |
| fl::span< fl::string > | mListener (this) |
| void | nextOption () |
| int | onChanged (function< void(UIDropdown &)> callback) |
| operator fl::string () const | |
| operator int () const | |
| UIDropdown & | operator= (int index) |
| void | setGroup (const fl::string &groupName) override |
| void | setSelectedIndex (int index) |
| fl::string | value () const |
Public Member Functions inherited from fl::UIElement | |
| UIElement () | |
| VIRTUAL_IF_NOT_AVR | ~UIElement () |
| fl::string | getGroup () const |
| bool | hasGroup () const |
Public Attributes | |
| fl::span< fl::string > | options: mImpl(fl::string(name) |
Protected Attributes | |
| UIDropdownImpl | mImpl |
Private Attributes | |
| FunctionList< UIDropdown & > | mCallbacks |
| int | mLastFrameValue = -1 |
| bool | mLastFrameValueValid = false |
| Listener | mListener |
| fl::shared_ptr< Button > | mNextButton |