rt-thread-official/examples/rtgui_win/gui_init.c

24 lines
463 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include <rtgui/rtgui.h>
#include <rtgui/rtgui_system.h>
#include <rtgui/rtgui_server.h>
#include "touch.h"
void rt_hw_lcd_init(void);
void rt_key_init(void);
void rtgui_panel_init(void);
/* GUI相关演示入口需放在线程中进行初始化 */
void rtgui_startup()
{
/* GUI系统初始化 */
rtgui_system_server_init();
/* 按键初始化 */
//rt_key_hw_init();
/* LCD驱动初始化 */
rt_hw_lcd_init();
rtgui_touch_hw_init();
rtgui_panel_init();
}