rtgui_type_t *rtgui_radiobox_type_get(void) { static rtgui_type_t *radiobox_type = RT_NULL; if (!radiobox_type) { radiobox_type = rtgui_type_create("radiobox", RTGUI_WIDGET_TYPE, sizeof(rtgui_radiobox_t), RTGUI_CONSTRUCTOR(_rtgui_radiobox_constructor), RT_NULL); } return radiobox_type; }
rtgui_type_t *rtgui_list_view_type_get(void) { static rtgui_type_t *list_view_type = RT_NULL; if (!list_view_type) { list_view_type = rtgui_type_create("listview", RTGUI_VIEW_TYPE, sizeof(rtgui_list_view_t), RTGUI_CONSTRUCTOR(_rtgui_list_view_constructor), RT_NULL); } return list_view_type; }
rtgui_type_t *rtgui_scrollbar_type_get(void) { static rtgui_type_t *scrollbar_type = RT_NULL; if (!scrollbar_type) { scrollbar_type = rtgui_type_create("scrollbar", RTGUI_WIDGET_TYPE, sizeof(rtgui_scrollbar_t), RTGUI_CONSTRUCTOR(_rtgui_scrollbar_constructor), RT_NULL); } return scrollbar_type; }
rtgui_type_t *rtgui_listctrl_type_get(void) { static rtgui_type_t *listctrl_type = RT_NULL; if (!listctrl_type) { listctrl_type = rtgui_type_create("listctrl", RTGUI_WIDGET_TYPE, sizeof(rtgui_listctrl_t), RTGUI_CONSTRUCTOR(_rtgui_listctrl_constructor), RT_NULL); } return listctrl_type; }
rtgui_type_t *rtgui_progressbar_type_get(void) { static rtgui_type_t *progressbar_type = RT_NULL; if (!progressbar_type) { progressbar_type = rtgui_type_create("progressbar", RTGUI_WIDGET_TYPE, sizeof(rtgui_progressbar_t), RTGUI_CONSTRUCTOR(_rtgui_progressbar_constructor), RT_NULL); } return progressbar_type; }
rtgui_type_t *rtgui_menu_type_get(void) { static rtgui_type_t *menu_type = RT_NULL; if (!menu_type) { menu_type = rtgui_type_create("menu", RTGUI_WIN_TYPE, sizeof(rtgui_menu_t), RTGUI_CONSTRUCTOR(_rtgui_menu_constructor), RTGUI_DESTRUCTOR (_rtgui_menu_destructor)); } return menu_type; }
rtgui_type_t *rtgui_win_type_get(void) { static rtgui_type_t *win_type = RT_NULL; if (!win_type) { win_type = rtgui_type_create("win", RTGUI_TOPLEVEL_TYPE, sizeof(rtgui_win_t), RTGUI_CONSTRUCTOR(_rtgui_win_constructor), RTGUI_DESTRUCTOR(_rtgui_win_destructor)); } return win_type; }
rtgui_type_t *rtgui_label_type_get(void) { static rtgui_type_t *label_type = RT_NULL; if (!label_type) { label_type = rtgui_type_create("label", RTGUI_WIDGET_TYPE, sizeof(rtgui_label_t), RTGUI_CONSTRUCTOR(_rtgui_label_constructor), RTGUI_DESTRUCTOR(_rtgui_label_destructor)); } return label_type; }
rtgui_type_t *rtgui_combobox_type_get(void) { static rtgui_type_t *combobox_type = RT_NULL; if (!combobox_type) { combobox_type = rtgui_type_create("combobox", RTGUI_WIDGET_TYPE, sizeof(rtgui_combobox_t), RTGUI_CONSTRUCTOR(_rtgui_combobox_constructor), RTGUI_DESTRUCTOR(_rtgui_combobox_destructor)); } return combobox_type; }