Add lv_obj_adjust_coords() API for finding the object's "client area"
This commit is contained in:
@@ -666,6 +666,12 @@ 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.
|
||||
*/
|
||||
void lv_obj_adjust_coords(const lv_obj_t *obj, lv_area_t * cords_p);
|
||||
|
||||
/**
|
||||
* Get the x coordinate of object
|
||||
* @param obj pointer to an object
|
||||
|
||||
Reference in New Issue
Block a user