diff options
| author | bernard.xiong <[email protected]> | 2010-01-27 09:42:19 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-01-27 09:42:19 +0000 |
| commit | 49868fc5e452f5cc41bfe1969e1cd3f41f91a7c5 (patch) | |
| tree | 655366584cc46f0991b7054bffc1adbfd47c176a /examples/gui/gui_init.c | |
| parent | 646db738d5f2a5201f41a04e850144329e855fac (diff) | |
update GUI examples.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@344 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/gui/gui_init.c')
| -rw-r--r-- | examples/gui/gui_init.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/gui/gui_init.c b/examples/gui/gui_init.c new file mode 100644 index 0000000000..3761e7a8be --- /dev/null +++ b/examples/gui/gui_init.c @@ -0,0 +1,25 @@ +#include <rtgui/rtgui.h>
+#include <rtgui/rtgui_server.h>
+
+extern void rt_hw_lcd_init(void);
+extern void rt_hw_key_init(void);
+extern void workbench_init(void);
+extern void panel_init(void);
+
+/* GUI�����ʾ��ڣ�������߳��н��г�ʼ�� */
+void rtgui_startup()
+{
+ /* GUIϵͳ��ʼ�� */
+ rtgui_system_server_init();
+
+ /* ������ʼ�� */
+ rt_hw_key_init();
+ /* LCD������ʼ�� */
+ rt_hw_lcd_init();
+
+ /* ��������ʼ�� */
+ panel_init();
+
+ /* ����workbench */
+ workbench_init();
+}
|
