2021-12-17 17:20:33 +08:00
|
|
|
/*
|
2022-09-12 19:36:11 +08:00
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
2021-12-17 17:20:33 +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
|
2021-12-17 17:20:33 +08:00
|
|
|
*/
|
2022-06-03 10:01:15 +08:00
|
|
|
|
2021-12-17 17:20:33 +08:00
|
|
|
#include <lvgl.h>
|
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
void lv_user_gui_init(void)
|
|
|
|
{
|
|
|
|
/* display demo; you may replace with your LVGL application at here and disable related definitions. */
|
|
|
|
|
|
|
|
#if LV_USE_DEMO_BENCHMARK
|
|
|
|
extern void lv_demo_benchmark(void);
|
|
|
|
lv_demo_benchmark();
|
2021-12-17 17:20:33 +08:00
|
|
|
|
2022-12-29 15:15:13 +08:00
|
|
|
#elif LV_USE_DEMO_WIDGETS
|
2022-06-03 10:01:15 +08:00
|
|
|
extern void lv_demo_widgets(void);
|
|
|
|
lv_demo_widgets();
|
2021-12-17 17:20:33 +08:00
|
|
|
|
2022-12-29 15:15:13 +08:00
|
|
|
#elif (LV_USE_DEMO_MUSIC || LV_USE_DEMO_RTT_MUSIC)
|
2021-12-17 17:20:33 +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
|
2021-12-17 17:20:33 +08:00
|
|
|
|
|
|
|
}
|