summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/gui/SConscript1
-rw-r--r--examples/gui/demo_view_animation.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/gui/SConscript b/examples/gui/SConscript
index 3d1ff19426..b0597ca0c4 100644
--- a/examples/gui/SConscript
+++ b/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
diff --git a/examples/gui/demo_view_animation.c b/examples/gui/demo_view_animation.c
index f0a99ecb21..93203a7608 100644
--- a/examples/gui/demo_view_animation.c
+++ b/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);