FastLED 3.9.15
Loading...
Searching...
No Matches

◆ UIDropdownImpl() [6/6]

fl::UIDropdownImpl::UIDropdownImpl ( const fl::string & name,
const fl::string * options,
fl::size count )
inlineprivate

Definition at line 102 of file dropdown.h.

103 : mSelectedIndex(0) {
104 FASTLED_UNUSED(name);
105 for (fl::size i = 0; i < count; ++i) {
106 mOptions.push_back(options[i]);
107 }
108 if (mOptions.empty()) {
109 mOptions.push_back(fl::string("No options"));
110 }
111 }
fl::size mSelectedIndex
Definition dropdown.h:114
fl::vector< fl::string > mOptions
Definition dropdown.h:113
#define FASTLED_UNUSED(x)

References FASTLED_UNUSED, mOptions, and mSelectedIndex.