Searched refs:sel_end (Results 1 – 7 of 7) sorted by relevance
83 dsc->sel_end = LV_DRAW_LABEL_NO_TXT_SEL; in lv_draw_label_dsc_init()302 uint32_t sel_end = dsc->sel_end; in lv_draw_label_iterate_characters() local303 if(sel_start > sel_end) { in lv_draw_label_iterate_characters()305 sel_start = sel_end; in lv_draw_label_iterate_characters()306 sel_end = tmp; in lv_draw_label_iterate_characters()349 if(sel_start != LV_DRAW_LABEL_NO_TXT_SEL && sel_end != LV_DRAW_LABEL_NO_TXT_SEL) { in lv_draw_label_iterate_characters()469 if(sel_start != LV_DRAW_LABEL_NO_TXT_SEL && sel_end != LV_DRAW_LABEL_NO_TXT_SEL in lv_draw_label_iterate_characters()470 && logical_char_pos >= sel_start && logical_char_pos < sel_end) { in lv_draw_label_iterate_characters()
39 uint32_t sel_end; member
43 uint32_t sel_end; member
262 label->sel_end = index; in lv_label_set_text_selection_end()640 return label->sel_end; in lv_label_get_text_selection_end()731 label->sel_end = LV_DRAW_LABEL_NO_TXT_SEL; in lv_label_constructor()837 label_draw_dsc.sel_end = lv_label_get_text_selection_end(obj); in draw_main()838 …if(label_draw_dsc.sel_start != LV_DRAW_LABEL_NO_TXT_SEL && label_draw_dsc.sel_end != LV_DRAW_LABEL… in draw_main()
52 uint32_t sel_end; member
1305 ta->sel_end = LV_LABEL_TEXT_SELECTION_OFF; in update_cursor_position_on_click()1311 ta->sel_end = char_id_at_click; in update_cursor_position_on_click()1325 if(ta->sel_start > ta->sel_end) { in update_cursor_position_on_click()1326 if(label_data->sel_start != ta->sel_end || label_data->sel_end != ta->sel_start) { in update_cursor_position_on_click()1327 label_data->sel_start = ta->sel_end; in update_cursor_position_on_click()1328 label_data->sel_end = ta->sel_start; in update_cursor_position_on_click()1332 else if(ta->sel_start < ta->sel_end) { in update_cursor_position_on_click()1333 if(label_data->sel_start != ta->sel_start || label_data->sel_end != ta->sel_end) { in update_cursor_position_on_click()1335 label_data->sel_end = ta->sel_end; in update_cursor_position_on_click()1340 …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()[all …]
492 uint32_t sel_end = dsc->sel_end; in _draw_label_iterate_characters() local493 if(sel_start > sel_end) { in _draw_label_iterate_characters()495 sel_start = sel_end; in _draw_label_iterate_characters()496 sel_end = tmp; in _draw_label_iterate_characters()551 if(sel_start != LV_DRAW_LABEL_NO_TXT_SEL && sel_end != LV_DRAW_LABEL_NO_TXT_SEL) { in _draw_label_iterate_characters()671 if(sel_start != LV_DRAW_LABEL_NO_TXT_SEL && sel_end != LV_DRAW_LABEL_NO_TXT_SEL in _draw_label_iterate_characters()672 && logical_char_pos >= sel_start && logical_char_pos < sel_end) { in _draw_label_iterate_characters()