Searched refs:pr_opt_id (Results 1 – 2 of 2) sorted by relevance
/lvgl-latest/src/widgets/ |
D | lv_dropdown.c | 558 dropdown->pr_opt_id = LV_DROPDOWN_PR_NONE; in lv_dropdown_close() 600 dropdown->pr_opt_id = LV_DROPDOWN_PR_NONE; in lv_dropdown_constructor() 769 dropdown->pr_opt_id = LV_DROPDOWN_PR_NONE; in lv_dropdown_list_event() 910 if(dropdown->pr_opt_id == dropdown->sel_opt_id) { in draw_list() 911 … draw_box(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_CHECKED | LV_STATE_PRESSED); in draw_list() 912 … draw_box_label(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_CHECKED | LV_STATE_PRESSED); in draw_list() 915 draw_box(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() 916 draw_box_label(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() 922 draw_box(dropdown_obj, draw_ctx, dropdown->pr_opt_id, LV_STATE_PRESSED); in draw_list() 923 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
|