mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 02:37:01 +08:00
feat(obj): add scroll x and scroll y properties (#9346)
This commit is contained in:
@@ -150,6 +150,14 @@ static const lv_property_ops_t lv_obj_properties[] = {
|
||||
.setter = lv_obj_set_scroll_snap_y,
|
||||
.getter = lv_obj_get_scroll_snap_y,
|
||||
},
|
||||
{
|
||||
.id = LV_PROPERTY_OBJ_SCROLL_X,
|
||||
.getter = lv_obj_get_scroll_x,
|
||||
},
|
||||
{
|
||||
.id = LV_PROPERTY_OBJ_SCROLL_Y,
|
||||
.getter = lv_obj_get_scroll_y,
|
||||
},
|
||||
{
|
||||
.id = LV_PROPERTY_OBJ_SCROLL_TOP,
|
||||
.getter = lv_obj_get_scroll_top,
|
||||
|
||||
Reference in New Issue
Block a user