rename lv_obj_adjust_coords to lv_obj_get_inner_coords

This commit is contained in:
Gabor Kiss-Vamosi
2019-06-07 14:52:14 +02:00
parent 4075a7adfc
commit 8254ee6661
2 changed files with 14 additions and 10 deletions

View File

@@ -667,10 +667,11 @@ uint16_t lv_obj_count_children_recursive(const lv_obj_t * obj);
void lv_obj_get_coords(const lv_obj_t * obj, lv_area_t * cords_p);
/**
* Adjust the coordinates retrieved from lv_obj_get_coords() according
* to the object's style.
* Reduce area retried by `lv_obj_get_coords()` the get graphically usable area of an object.
* (Without the size of the border or other extra graphical elements)
* @param coords_p store the result area here
*/
void lv_obj_adjust_coords(const lv_obj_t *obj, lv_area_t * cords_p);
void lv_obj_get_inner_coords(const lv_obj_t *obj, lv_area_t * coords_p);
/**
* Get the x coordinate of object