1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

add declaration for offset getter functions.

This commit is contained in:
Ali Rostami 2019-03-08 17:05:36 +03:30 committed by GitHub
parent 4ab2e505fd
commit e263dddde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,6 +183,20 @@ uint16_t lv_img_get_src_id(lv_obj_t * img);
*/
bool lv_img_get_auto_size(const lv_obj_t * img);
/**
* Get the offset.x attribute of the img object.
* @param img pointer to an image
* @return offset.x value.
*/
lv_coord_t lv_img_get_offset_x(lv_obj_t *img);
/**
* Get the offset.y attribute of the img object.
* @param img pointer to an image
* @return offset.y value.
*/
lv_coord_t lv_img_get_offset_y(lv_obj_t *img);
/**
* Get the style of an image object
* @param img pointer to an image object