2022-03-12 07:00:53 +08:00
|
|
|
/*
|
2022-09-12 19:36:11 +08:00
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
2022-03-12 07:00:53 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2022-06-03 10:01:15 +08:00
|
|
|
* 2022-6-1 Wayne First version
|
2022-03-12 07:00:53 +08:00
|
|
|
*/
|
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
#include <lvgl.h>
|
2022-03-12 07:00:53 +08:00
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
void lv_user_gui_init(void)
|
2022-03-12 07:00:53 +08:00
|
|
|
{
|
2022-06-03 10:01:15 +08:00
|
|
|
/* display demo; you may replace with your LVGL application at here and disable related definitions. */
|
|
|
|
|
2022-03-12 07:00:53 +08:00
|
|
|
#if LV_USE_DEMO_BENCHMARK
|
|
|
|
extern void lv_demo_benchmark(void);
|
|
|
|
lv_demo_benchmark();
|
2022-06-03 10:01:15 +08:00
|
|
|
|
2022-12-29 15:15:13 +08:00
|
|
|
#elif LV_USE_DEMO_WIDGETS
|
2022-03-12 07:00:53 +08:00
|
|
|
extern void lv_demo_widgets(void);
|
|
|
|
lv_demo_widgets();
|
|
|
|
|
2022-12-29 15:15:13 +08:00
|
|
|
#elif (LV_USE_DEMO_MUSIC || LV_USE_DEMO_RTT_MUSIC)
|
2022-06-03 10:01:15 +08:00
|
|
|
extern void lv_demo_music(void);
|
|
|
|
lv_demo_music();
|
2022-12-29 15:15:13 +08:00
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
#endif
|
2022-03-12 07:00:53 +08:00
|
|
|
|
|
|
|
}
|