diff --git a/components/rtgui/SConscript b/components/rtgui/SConscript index edba1d2ec4..807db8d98f 100644 --- a/components/rtgui/SConscript +++ b/components/rtgui/SConscript @@ -4,6 +4,7 @@ Import('RTT_ROOT') Import('projects') common_src = Split(""" +common/blit.c common/color.c common/region.c common/rtgui_object.c @@ -11,8 +12,9 @@ common/rtgui_system.c common/rtgui_theme.c common/rtgui_xml.c common/dc.c -common/dc_buffer.c common/dc_hw.c +common/dc_buffer.c +common/dc_client.c common/filerw.c common/image.c common/image_xpm.c @@ -44,6 +46,7 @@ widgets/label.c widgets/progressbar.c widgets/radiobox.c widgets/slider.c +widgets/scrollbar.c widgets/staticline.c widgets/textbox.c widgets/listbox.c diff --git a/examples/gui/SConscript b/examples/gui/SConscript index 435bcf01d4..1f198c3018 100644 --- a/examples/gui/SConscript +++ b/examples/gui/SConscript @@ -21,8 +21,10 @@ demo_view_progressbar.c demo_view_radiobox.c demo_view_listbox.c demo_view_slider.c +demo_view_scrollbar.c demo_view_textbox.c demo_view_window.c +demo_view_benchmark.c demo_workbench.c gui_init.c mywidget.c diff --git a/examples/gui/demo_workbench.c b/examples/gui/demo_workbench.c index 241939cd80..d628f4fe51 100644 --- a/examples/gui/demo_workbench.c +++ b/examples/gui/demo_workbench.c @@ -51,6 +51,7 @@ static void workbench_entry(void* parameter) rtgui_widget_set_event_handler(RTGUI_WIDGET(workbench), demo_workbench_event_handler); /* 初始化各个例子的视图 */ + demo_view_benchmark(workbench); demo_view_dc(workbench); #ifdef RTGUI_USING_TTF demo_view_ttf(workbench);