From 11c2d5dce403f98dc88d1420b1c773a1ea05ecba Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 29 Nov 2017 16:28:20 +0100 Subject: [PATCH] lv_indev_registr rename to lv_indev_drv_regster --- lv_hal/lv_hal_indev.c | 2 +- lv_hal/lv_hal_indev.h | 2 +- lv_themes/lv_theme_night.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lv_hal/lv_hal_indev.c b/lv_hal/lv_hal_indev.c index 9c109a666..a00111596 100644 --- a/lv_hal/lv_hal_indev.c +++ b/lv_hal/lv_hal_indev.c @@ -53,7 +53,7 @@ void lv_indev_drv_init(lv_indev_drv_t *driver) * @param driver pointer to an initialized 'lv_indev_drv_t' variable (can be local variable) * @return pointer to the new input device or NULL on error */ -lv_indev_t * lv_indev_register(lv_indev_drv_t *driver) +lv_indev_t * lv_indev_drv_register(lv_indev_drv_t *driver) { lv_indev_t *node; diff --git a/lv_hal/lv_hal_indev.h b/lv_hal/lv_hal_indev.h index 85a094ae1..c6e082914 100644 --- a/lv_hal/lv_hal_indev.h +++ b/lv_hal/lv_hal_indev.h @@ -119,7 +119,7 @@ void lv_indev_drv_init(lv_indev_drv_t *driver); * @param driver pointer to an initialized 'lv_indev_drv_t' variable (can be local variable) * @return pointer to the new input device or NULL on error */ -lv_indev_t * lv_indev_register(lv_indev_drv_t *driver); +lv_indev_t * lv_indev_drv_register(lv_indev_drv_t *driver); /** * Get the next input device. diff --git a/lv_themes/lv_theme_night.c b/lv_themes/lv_theme_night.c index c9aa1d467..a927d43fd 100644 --- a/lv_themes/lv_theme_night.c +++ b/lv_themes/lv_theme_night.c @@ -458,7 +458,7 @@ static void list_init(void) list_btn_pr.body.border.color = lv_color_hsv_to_rgb(_hue, 10, 5); list_btn_pr.body.border.width = 0; list_btn_pr.body.radius = LV_DPI / 30; - list_btn_pr.body.padding.ver = LV_DPI / 6; + list_btn_pr.body.padding.ver = LV_DPI / 8; list_btn_pr.body.padding.hor = LV_DPI / 8; list_btn_pr.text.color = lv_color_hsv_to_rgb(_hue, 5, 80);