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

◆ setSelectedIndex()

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

Definition at line 84 of file dropdown.h.

84 {
85 if (index >= 0 && index < static_cast<int>(mOptions.size())) {
86 mSelectedIndex = static_cast<fl::size>(index);
87 }
88 }
fl::size mSelectedIndex
Definition dropdown.h:114
fl::vector< fl::string > mOptions
Definition dropdown.h:113

References mOptions, and mSelectedIndex.