浏览代码

Fixed compiling error for demo_view_animation

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@379 bbd45198-f89e-11dd-88c7-29a3b14d5316
gary.li.wenchao.4 15 年之前
父节点
当前提交
b28cbeffb8
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 0
      examples/gui/SConscript
  2. 2 1
      examples/gui/demo_view_animation.c

+ 1 - 0
examples/gui/SConscript

@@ -5,6 +5,7 @@ demo_fnview.c
 demo_listview.c
 demo_panel_single.c
 demo_view.c
+demo_view_animation.c
 demo_view_box.c
 demo_view_button.c
 demo_view_checkbox.c

+ 2 - 1
examples/gui/demo_view_animation.c

@@ -1,3 +1,4 @@
+#include "demo_view.h"
 #include <rtgui/rtgui.h>
 #include <rtgui/dc.h>
 #include <rtgui/rtgui_system.h>
@@ -99,7 +100,7 @@ rtgui_view_t *demo_view_animation(rtgui_workbench_t* workbench)
 {
 	rtgui_view_t *view;
 
-	view = demo_view(workbench, "DC ¶¯»­");
+	view = demo_view(workbench, "DC animation");
 	if (view != RT_NULL)
 		rtgui_widget_set_event_handler(RTGUI_WIDGET(view), animation_event_handler);