aboutsummaryrefslogtreecommitdiff
path: root/src/indev/lv_indev.c
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-31 19:13:45 +0100
committerGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-31 19:20:36 +0100
commit50d01cec3d24669652a9e80a03fa48a514d026d5 (patch)
tree922e510d914ecb5af65d27a4761f060f0795df61 /src/indev/lv_indev.c
parentd28f80d3626db300540efa78b6218d20a81aca25 (diff)
downloadlvgl-50d01cec3d24669652a9e80a03fa48a514d026d5.tar.gz
lvgl-50d01cec3d24669652a9e80a03fa48a514d026d5.zip
refactor(style): rename lv_indev_get_act to lv_indev_active
Diffstat (limited to 'src/indev/lv_indev.c')
-rw-r--r--src/indev/lv_indev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indev/lv_indev.c b/src/indev/lv_indev.c
index f7e2ed222..808a0130f 100644
--- a/src/indev/lv_indev.c
+++ b/src/indev/lv_indev.c
@@ -254,7 +254,7 @@ void lv_indev_enable(lv_indev_t * indev, bool en)
}
}
-lv_indev_t * lv_indev_get_act(void)
+lv_indev_t * lv_indev_active(void)
{
return indev_act;
}
@@ -445,7 +445,7 @@ void lv_indev_wait_release(lv_indev_t * indev)
indev->wait_until_release = 1;
}
-lv_obj_t * lv_indev_get_obj_act(void)
+lv_obj_t * lv_indev_get_active_obj(void)
{
return indev_obj_act;
}
@@ -1205,7 +1205,7 @@ static lv_obj_t * pointer_search_obj(lv_display_t * disp, lv_point_t * p)
if(indev_obj_act) return indev_obj_act;
/* Search the object in the active screen */
- indev_obj_act = lv_indev_search_obj(lv_display_get_screen_act(disp), p);
+ indev_obj_act = lv_indev_search_obj(lv_display_get_screen_active(disp), p);
if(indev_obj_act) return indev_obj_act;
indev_obj_act = lv_indev_search_obj(lv_display_get_layer_bottom(disp), p);