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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user