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
299
of file
ui_impl.h
.
300
:
mSelectedIndex
(0) {
301
FASTLED_UNUSED
(name);
302
for
(
const
auto
& option : options) {
303
mOptions
.push_back(option);
304
}
305
if
(
mOptions
.empty()) {
306
mOptions
.push_back(fl::string(
"No options"
));
307
}
308
}
fl::UIDropdownImpl::mSelectedIndex
fl::size mSelectedIndex
Definition
ui_impl.h:352
fl::UIDropdownImpl::mOptions
fl::vector< fl::string > mOptions
Definition
ui_impl.h:351
FASTLED_UNUSED
#define FASTLED_UNUSED(x)
Definition
unused.h:4
References
FASTLED_UNUSED
,
mOptions
, and
mSelectedIndex
.
fl
UIDropdownImpl
Generated on Fri Aug 22 2025 20:59:37 for FastLED by
1.13.2