diff --git a/examples/gui/SConscript b/examples/gui/SConscript index ac702a1b0c..babecec5b7 100644 --- a/examples/gui/SConscript +++ b/examples/gui/SConscript @@ -16,6 +16,7 @@ demo_view_button.c demo_view_checkbox.c demo_view_dc.c demo_view_image.c +demo_view_module.c demo_view_label.c demo_view_mywidget.c demo_view_progressbar.c diff --git a/examples/gui/demo_workbench.c b/examples/gui/demo_workbench.c index 4dad64c5e9..aab0aca87f 100644 --- a/examples/gui/demo_workbench.c +++ b/examples/gui/demo_workbench.c @@ -80,6 +80,9 @@ static void workbench_entry(void* parameter) demo_view_slider(workbench); demo_view_mywidget(workbench); demo_view_image(workbench); +#ifdef RT_USING_MODULE + demo_view_module(workbench); +#endif demo_listview_view(workbench); demo_listview_icon_view(workbench); demo_fn_view(workbench);