rt-thread/bsp/simulator/applications/lvgl/lv_conf.h

36 lines
847 B
C
Raw Normal View History

2021-12-16 11:40:14 +08:00
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-10-18 Meco Man First version
*/
#ifndef LV_CONF_H
#define LV_CONF_H
#include <rtconfig.h>
2021-12-16 11:40:14 +08:00
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 32
2022-07-06 15:35:37 +08:00
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
2021-12-16 11:40:14 +08:00
2021-12-17 22:18:48 +08:00
#define USE_WIN32DRV 1
#define WIN32DRV_MONITOR_ZOOM 1
//#define LV_USE_FS_WIN32 1
2021-12-16 11:40:14 +08:00
2022-07-06 15:35:37 +08:00
#ifdef PKG_USING_LV_MUSIC_DEMO
2021-12-16 11:40:14 +08:00
/* music player demo */
#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
2022-07-06 15:35:37 +08:00
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
2021-12-16 11:40:14 +08:00
#endif