Extra: widgets: add a new widget animation image (#2167)

* Extra: widgets: add a new widget animation image

This widget is a combination of img and animation,
could achieve animation effects by
constantly switching a series imgs.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Signed-off-by: Hui Song <hui.song_1@nxp.com>
Signed-off-by: Xiaolin He <xiaolin.he@nxp.com>

* example: add animimg example

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
This commit is contained in:
ZhaoQiang-b45475
2021-05-07 20:50:48 +08:00
committed by GitHub
parent 684db9b3e7
commit 8f083a34fa
14 changed files with 2477 additions and 0 deletions

View File

@@ -1072,6 +1072,14 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
# endif
#endif
#ifndef LV_USE_ANIMIMG
# ifdef CONFIG_LV_USE_ANIMIMG
# define LV_USE_ANIMIMG CONFIG_LV_USE_ANIMIMG
# else
# define LV_USE_ANIMIMG 1
# endif
#endif
#ifndef LV_USE_BAR
# ifdef CONFIG_LV_USE_BAR
# define LV_USE_BAR CONFIG_LV_USE_BAR