Fixed compiling error for demo_view_animation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@379 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
36343a5618
commit
b28cbeffb8
|
@ -5,6 +5,7 @@ demo_fnview.c
|
||||||
demo_listview.c
|
demo_listview.c
|
||||||
demo_panel_single.c
|
demo_panel_single.c
|
||||||
demo_view.c
|
demo_view.c
|
||||||
|
demo_view_animation.c
|
||||||
demo_view_box.c
|
demo_view_box.c
|
||||||
demo_view_button.c
|
demo_view_button.c
|
||||||
demo_view_checkbox.c
|
demo_view_checkbox.c
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#include "demo_view.h"
|
||||||
#include <rtgui/rtgui.h>
|
#include <rtgui/rtgui.h>
|
||||||
#include <rtgui/dc.h>
|
#include <rtgui/dc.h>
|
||||||
#include <rtgui/rtgui_system.h>
|
#include <rtgui/rtgui_system.h>
|
||||||
|
@ -99,7 +100,7 @@ rtgui_view_t *demo_view_animation(rtgui_workbench_t* workbench)
|
||||||
{
|
{
|
||||||
rtgui_view_t *view;
|
rtgui_view_t *view;
|
||||||
|
|
||||||
view = demo_view(workbench, "DC 动画");
|
view = demo_view(workbench, "DC animation");
|
||||||
if (view != RT_NULL)
|
if (view != RT_NULL)
|
||||||
rtgui_widget_set_event_handler(RTGUI_WIDGET(view), animation_event_handler);
|
rtgui_widget_set_event_handler(RTGUI_WIDGET(view), animation_event_handler);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue