Searched refs:old_pos (Results 1 – 1 of 1) sorted by relevance
671 lv_point_t old_pos; in lv_obj_set_parent() local672 old_pos.y = lv_obj_get_y(obj); in lv_obj_set_parent()677 old_pos.x = lv_obj_get_x(obj); in lv_obj_set_parent()680 old_pos.x = old_par->coords.x2 - obj->coords.x2; in lv_obj_set_parent()688 lv_obj_set_pos(obj, old_pos.x, old_pos.y); in lv_obj_set_parent()692 lv_coord_t new_x = lv_obj_get_width(parent) - old_pos.x - lv_obj_get_width(obj); in lv_obj_set_parent()693 lv_obj_set_pos(obj, new_x, old_pos.y); in lv_obj_set_parent()