Searched refs:sel_opt_id (Results 1 – 4 of 4) sorted by relevance
104 roller->sel_opt_id = 0; in lv_roller_set_options()133 roller->sel_opt_id = ((LV_ROLLER_INF_PAGES / 2) + 0) * roller->option_cnt; in lv_roller_set_options()139 roller->sel_opt_id_ori = roller->sel_opt_id; in lv_roller_set_options()165 uint16_t current_page = roller->sel_opt_id / real_option_cnt; in lv_roller_set_selected()169 uint16_t act_opt = roller->sel_opt_id - current_page * real_option_cnt; in lv_roller_set_selected()180 roller->sel_opt_id = sel_opt < roller->option_cnt ? sel_opt : roller->option_cnt - 1; in lv_roller_set_selected()181 roller->sel_opt_id_ori = roller->sel_opt_id; in lv_roller_set_selected()217 return roller->sel_opt_id % real_id_cnt; in lv_roller_get_selected()220 return roller->sel_opt_id; in lv_roller_get_selected()241 for(i = 0; i < txt_len && line != roller->sel_opt_id; i++) { in lv_roller_get_selected_str()[all …]
128 dropdown->sel_opt_id = 0; in lv_dropdown_set_options()175 dropdown->sel_opt_id = 0; in lv_dropdown_set_options_static()283 if(dropdown->sel_opt_id == sel_opt) return; in lv_dropdown_set_selected()285 dropdown->sel_opt_id = sel_opt < dropdown->option_cnt ? sel_opt : dropdown->option_cnt - 1; in lv_dropdown_set_selected()286 dropdown->sel_opt_id_orig = dropdown->sel_opt_id; in lv_dropdown_set_selected()355 return dropdown->sel_opt_id; in lv_dropdown_get_selected()591 dropdown->sel_opt_id = 0; in lv_dropdown_constructor()674 dropdown->sel_opt_id = dropdown->sel_opt_id_orig; in lv_dropdown_event()703 else if(dropdown->sel_opt_id + 1 < dropdown->option_cnt) { in lv_dropdown_event()704 dropdown->sel_opt_id++; in lv_dropdown_event()[all …]
47 uint16_t sel_opt_id; /**< Index of the current option*/ member
45 uint16_t sel_opt_id; /**< Index of the currently selected option*/ member