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:
parent
4ab2e505fd
commit
e263dddde9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user