mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-22 00:03:02 +08:00
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:
@@ -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 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user