rtt-f030/examples/gui/demo_view_box.c

16 lines
307 B
C

#include "demo_view.h"
#ifndef RTGUI_USING_SMALL_SIZE
#include <rtgui/widgets/box.h>
rtgui_view_t* demo_view_box(rtgui_workbench_t* workbench)
{
rtgui_rect_t rect;
rtgui_view_t* view;
view = demo_view(workbench);
demo_view_get_rect(view, &rect);
return view;
}
#endif