Searched refs:pr_opt_id (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.5.0/src/widgets/ |
D | lv_dropdown.c | 551 dropdown->pr_opt_id = LV_DROPDOWN_PR_NONE; in lv_dropdown_close() 593 dropdown->pr_opt_id = LV_DROPDOWN_PR_NONE; in lv_dropdown_constructor() 762 dropdown->pr_opt_id = LV_DROPDOWN_PR_NONE; in lv_dropdown_list_event() 904 if(dropdown->pr_opt_id == dropdown->sel_opt_id) { in draw_list() 905 … draw_box(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_CHECKED | LV_STATE_PRESSED); in draw_list() 906 … draw_box_label(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_CHECKED | LV_STATE_PRESSED); in draw_list() 909 draw_box(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() 910 draw_box_label(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() 916 draw_box(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() 917 draw_box_label(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() [all …]
|
D | lv_dropdown.h | 47 uint16_t pr_opt_id; /**< Index of the currently pressed option*/ member
|