mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 02:37:01 +08:00
fix lv_indev_set_button_points prototype
This commit is contained in:
@@ -219,7 +219,7 @@ void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group)
|
||||
* @param indev pointer to an input device
|
||||
* @param group point to a group
|
||||
*/
|
||||
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t * points)
|
||||
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t points[])
|
||||
{
|
||||
if(indev->driver.type == LV_INDEV_TYPE_BUTTON) {
|
||||
indev->btn_points = points;
|
||||
|
||||
@@ -95,7 +95,7 @@ void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group);
|
||||
* @param indev pointer to an input device
|
||||
* @param group point to a group
|
||||
*/
|
||||
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t * points);
|
||||
void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t points[]);
|
||||
|
||||
/**
|
||||
* Get the last point of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON)
|
||||
|
||||
Reference in New Issue
Block a user