Searched refs:rel_pos (Results 1 – 1 of 1) sorted by relevance
1154 lv_point_t rel_pos; in update_cursor_position_on_click() local1155 rel_pos.x = point_act.x - label_coords.x1; in update_cursor_position_on_click()1156 rel_pos.y = point_act.y - label_coords.y1; in update_cursor_position_on_click()1167 if(rel_pos.x < 0) { in update_cursor_position_on_click()1172 else if(rel_pos.x >= label_width) { in update_cursor_position_on_click()1177 char_id_at_click = lv_label_get_letter_on(ta->label, &rel_pos); in update_cursor_position_on_click()1178 click_outside_label = !lv_label_is_char_under_pos(ta->label, &rel_pos); in update_cursor_position_on_click()1233 if(rel_pos.x < 0) { in update_cursor_position_on_click()1237 else if(rel_pos.x >= label_width) { in update_cursor_position_on_click()1241 char_id_at_click = lv_label_get_letter_on(ta->label, &rel_pos); in update_cursor_position_on_click()