Lines Matching refs:sel_opt_id

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()
713 else if(dropdown->sel_opt_id > 0) { in lv_dropdown_event()
714 dropdown->sel_opt_id--; in lv_dropdown_event()
719 dropdown->sel_opt_id = dropdown->sel_opt_id_orig; in lv_dropdown_event()
904 if(dropdown->pr_opt_id == dropdown->sel_opt_id) { in draw_list()
911 draw_box(dropdown_obj, draw_ctx, dropdown->sel_opt_id, LV_STATE_CHECKED); in draw_list()
912 draw_box_label(dropdown_obj, draw_ctx, dropdown->sel_opt_id, LV_STATE_CHECKED); in draw_list()
1015 if(dropdown->sel_opt_id_orig != dropdown->sel_opt_id) { in btn_release_handler()
1016 dropdown->sel_opt_id_orig = dropdown->sel_opt_id; in btn_release_handler()
1018 uint32_t id = dropdown->sel_opt_id; /*Just to use uint32_t in event data*/ in btn_release_handler()
1033 dropdown->sel_opt_id = dropdown->sel_opt_id_orig; in btn_release_handler()
1053 dropdown->sel_opt_id_orig = dropdown->sel_opt_id; in list_release_handler()
1064 dropdown->sel_opt_id = get_id_on_point(dropdown_obj, p.y); in list_release_handler()
1065 dropdown->sel_opt_id_orig = dropdown->sel_opt_id; in list_release_handler()
1073 uint32_t id = dropdown->sel_opt_id; /*Just to use uint32_t in event data*/ in list_release_handler()
1132 lv_coord_t line_y1 = dropdown->sel_opt_id * unit_h; in position_to_selected()