summaryrefslogtreecommitdiff
path: root/bsp/simulator
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-07-06 03:35:37 -0400
committerguo <[email protected]>2022-07-07 16:55:25 +0800
commit15cd71bae640f3fbdeaffd8075ada8ad2aca6c26 (patch)
tree4594da91924533c986dc1d57f951e8925d3a5f5b /bsp/simulator
parentaa2d2c63f6d70a1bcd4503d3770e0552892f7ba7 (diff)
[lvgl] adapt lvgl 8.3.0
Diffstat (limited to 'bsp/simulator')
-rw-r--r--bsp/simulator/applications/lvgl/lv_conf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/bsp/simulator/applications/lvgl/lv_conf.h b/bsp/simulator/applications/lvgl/lv_conf.h
index 9277d41855..af0eac5c91 100644
--- a/bsp/simulator/applications/lvgl/lv_conf.h
+++ b/bsp/simulator/applications/lvgl/lv_conf.h
@@ -15,18 +15,21 @@
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 32
+#define LV_HOR_RES_MAX BSP_LCD_WIDTH
+#define LV_VER_RES_MAX BSP_LCD_HEIGHT
#define USE_WIN32DRV 1
#define WIN32DRV_MONITOR_ZOOM 1
//#define LV_USE_FS_WIN32 1
+#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
-#define LV_HOR_RES_MAX BSP_LCD_WIDTH
-#define LV_VER_RES_MAX BSP_LCD_HEIGHT
#define LV_USE_DEMO_RTT_MUSIC 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_16 1
+#define LV_COLOR_SCREEN_TRANSP 1
+#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif