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();
|
|
|
|
#endif
|
2022-06-03 10:01:15 +08:00
|
|
|
|
2022-03-12 07:00:53 +08:00
|
|
|
#if LV_USE_DEMO_WIDGETS
|
|
|
|
extern void lv_demo_widgets(void);
|
|
|
|
lv_demo_widgets();
|
|
|
|
#endif
|
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
#if LV_USE_DEMO_MUSIC || LV_USE_DEMO_RTT_MUSIC
|
|
|
|
extern void lv_demo_music(void);
|
|
|
|
lv_demo_music();
|
|
|
|
#endif
|
2022-03-12 07:00:53 +08:00
|
|
|
|
|
|
|
}
|