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

◆ setSelectedIndex()

void fl::UIDropdownImpl::setSelectedIndex ( int index)
inline

Definition at line 321 of file ui_impl.h.

321 {
322 if (index >= 0 && index < static_cast<int>(mOptions.size())) {
323 mSelectedIndex = static_cast<fl::size>(index);
324 }
325 }
fl::size mSelectedIndex
Definition ui_impl.h:352
fl::vector< fl::string > mOptions
Definition ui_impl.h:351

References mOptions, and mSelectedIndex.