FastLED
3.9.15
Loading...
Searching...
No Matches
◆
UIDropdownImpl()
[5/6]
fl::UIDropdownImpl::UIDropdownImpl
(
const
fl::string
&
name
,
fl::initializer_list<
fl::string
>
options
)
inline
Definition at line
62
of file
dropdown.h
.
63
:
mSelectedIndex
(0) {
64
FASTLED_UNUSED
(name);
65
for
(
const
auto
& option : options) {
66
mOptions
.push_back(option);
67
}
68
if
(
mOptions
.empty()) {
69
mOptions
.push_back(fl::string(
"No options"
));
70
}
71
}
fl::UIDropdownImpl::mSelectedIndex
fl::size mSelectedIndex
Definition
dropdown.h:114
fl::UIDropdownImpl::mOptions
fl::vector< fl::string > mOptions
Definition
dropdown.h:113
FASTLED_UNUSED
#define FASTLED_UNUSED(x)
References
FASTLED_UNUSED
,
mOptions
, and
mSelectedIndex
.
fl
UIDropdownImpl
Generated on Tue Jun 16 2026 00:07:07 for FastLED by
1.13.2