Home
last modified time | relevance | path

Searched refs:sel_start (Results 1 – 6 of 6) sorted by relevance

/lvgl-latest/src/draw/
Dlv_draw_label.c61 dsc->sel_start = LV_DRAW_LABEL_NO_TXT_SEL; in lv_draw_label_dsc_init()
185 uint32_t sel_start = dsc->sel_start; in lv_draw_label() local
187 if(sel_start > sel_end) { in lv_draw_label()
188 uint32_t tmp = sel_start; in lv_draw_label()
189 sel_start = sel_end; in lv_draw_label()
230 if(sel_start != 0xFFFF && sel_end != 0xFFFF) { in lv_draw_label()
289 if(sel_start != 0xFFFF && sel_end != 0xFFFF) { in lv_draw_label()
290 if(logical_char_pos >= sel_start && logical_char_pos < sel_end) { in lv_draw_label()
Dlv_draw_label.h32 uint32_t sel_start; member
/lvgl-latest/src/widgets/
Dlv_textarea.c1182 ta->sel_start = char_id_at_click; in update_cursor_position_on_click()
1203 if(ta->sel_start > ta->sel_end) { in update_cursor_position_on_click()
1204 if(label_data->sel_start != ta->sel_end || label_data->sel_end != ta->sel_start) { in update_cursor_position_on_click()
1205 label_data->sel_start = ta->sel_end; in update_cursor_position_on_click()
1206 label_data->sel_end = ta->sel_start; in update_cursor_position_on_click()
1210 else if(ta->sel_start < ta->sel_end) { in update_cursor_position_on_click()
1211 if(label_data->sel_start != ta->sel_start || label_data->sel_end != ta->sel_end) { in update_cursor_position_on_click()
1212 label_data->sel_start = ta->sel_start; in update_cursor_position_on_click()
1218 …if(label_data->sel_start != LV_DRAW_LABEL_NO_TXT_SEL || label_data->sel_end != LV_DRAW_LABEL_NO_TX… in update_cursor_position_on_click()
1219 label_data->sel_start = LV_DRAW_LABEL_NO_TXT_SEL; in update_cursor_position_on_click()
Dlv_label.h67 uint32_t sel_start; member
Dlv_textarea.h60 uint32_t sel_start; /*Temporary values for text selection*/ member
Dlv_label.c238 label->sel_start = index; in lv_label_set_text_sel_start()
613 return label->sel_start; in lv_label_get_text_selection_start()
710 label->sel_start = LV_DRAW_LABEL_NO_TXT_SEL; in lv_label_constructor()
813 label_draw_dsc.sel_start = lv_label_get_text_selection_start(obj); in draw_main()
815 …if(label_draw_dsc.sel_start != LV_DRAW_LABEL_NO_TXT_SEL && label_draw_dsc.sel_end != LV_DRAW_LABEL… in draw_main()