Searched refs:sel_opt_id (Results 1 – 4 of 4) sorted by relevance
136 roller->sel_opt_id = 0; in lv_roller_set_options()177 roller->sel_opt_id = ((roller->inf_page_cnt / 2) + 0) * roller->option_cnt; in lv_roller_set_options()183 roller->sel_opt_id_ori = roller->sel_opt_id; in lv_roller_set_options()202 uint32_t current_page = roller->sel_opt_id / real_option_cnt; in lv_roller_set_selected()206 uint32_t act_opt = roller->sel_opt_id - current_page * real_option_cnt; in lv_roller_set_selected()217 roller->sel_opt_id = sel_opt < roller->option_cnt ? sel_opt : roller->option_cnt - 1; in lv_roller_set_selected()218 roller->sel_opt_id_ori = roller->sel_opt_id; in lv_roller_set_selected()271 return roller->sel_opt_id % real_id_cnt; in lv_roller_get_selected()274 return roller->sel_opt_id; in lv_roller_get_selected()289 for(i = 0; i < txt_len && line != roller->sel_opt_id; i++) { in lv_roller_get_selected_str()[all …]
33 uint32_t sel_opt_id; /**< Index of the current option*/ member
193 dropdown->sel_opt_id = 0; in lv_dropdown_set_options()240 dropdown->sel_opt_id = 0; in lv_dropdown_set_options_static()344 if(dropdown->sel_opt_id == sel_opt) return; in lv_dropdown_set_selected()346 dropdown->sel_opt_id = sel_opt < dropdown->option_cnt ? sel_opt : dropdown->option_cnt - 1; in lv_dropdown_set_selected()347 dropdown->sel_opt_id_orig = dropdown->sel_opt_id; in lv_dropdown_set_selected()420 return dropdown->sel_opt_id; in lv_dropdown_get_selected()660 dropdown->sel_opt_id = 0; in lv_dropdown_constructor()745 dropdown->sel_opt_id = dropdown->sel_opt_id_orig; in lv_dropdown_event()774 else if(dropdown->sel_opt_id + 1 < dropdown->option_cnt) { in lv_dropdown_event()775 dropdown->sel_opt_id++; in lv_dropdown_event()[all …]
41 uint32_t sel_opt_id; /**< Index of the currently selected option*/ member