mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
lv_indev_registr rename to lv_indev_drv_regster
This commit is contained in:
parent
bfc735a004
commit
11c2d5dce4
@ -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)
|
* @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
|
* @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;
|
lv_indev_t *node;
|
||||||
|
|
||||||
|
@ -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)
|
* @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
|
* @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.
|
* Get the next input device.
|
||||||
|
@ -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.color = lv_color_hsv_to_rgb(_hue, 10, 5);
|
||||||
list_btn_pr.body.border.width = 0;
|
list_btn_pr.body.border.width = 0;
|
||||||
list_btn_pr.body.radius = LV_DPI / 30;
|
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.body.padding.hor = LV_DPI / 8;
|
||||||
list_btn_pr.text.color = lv_color_hsv_to_rgb(_hue, 5, 80);
|
list_btn_pr.text.color = lv_color_hsv_to_rgb(_hue, 5, 80);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user