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

◆ UIDropdownImpl() [3/6]

template<typename Iterator>
fl::UIDropdownImpl::UIDropdownImpl ( const fl::string & name,
Iterator begin,
Iterator end )
inline

Definition at line 275 of file ui_impl.h.

276 : mSelectedIndex(0) {
277 FASTLED_UNUSED(name);
278 for (Iterator it = begin; it != end; ++it) {
279 mOptions.push_back(*it);
280 }
281 if (mOptions.empty()) {
282 mOptions.push_back(fl::string("No options"));
283 }
284 }
fl::size mSelectedIndex
Definition ui_impl.h:352
fl::vector< fl::string > mOptions
Definition ui_impl.h:351
constexpr T * begin(T(&array)[N]) noexcept
Definition range_access.h:9
constexpr T * end(T(&array)[N]) noexcept
#define FASTLED_UNUSED(x)
Definition unused.h:4

References fl::begin(), fl::end(), FASTLED_UNUSED, mOptions, and mSelectedIndex.

+ Here is the call graph for this function: