Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_core/
Dlv_obj.c4131 lv_point_t new_pos; local
4132 _lv_area_align(&base->coords, &obj->coords, align, &new_pos);
4138 new_pos.x += x_ofs;
4139 new_pos.y += y_ofs;
4140 new_pos.x -= par_abs_x;
4141 new_pos.y -= par_abs_y;
4143 if(x_set && y_set) lv_obj_set_pos(obj, new_pos.x, new_pos.y);
4144 else if(x_set) lv_obj_set_x(obj, new_pos.x);
4145 else if(y_set) lv_obj_set_y(obj, new_pos.y);