132 UIEXPORT void ui_model_free(UiContext *ctx, UiModel *mi); |
132 UIEXPORT void ui_model_free(UiContext *ctx, UiModel *mi); |
133 |
133 |
134 #define ui_listview(obj, ...) ui_listview_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
134 #define ui_listview(obj, ...) ui_listview_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
135 #define ui_table(obj, ...) ui_table_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
135 #define ui_table(obj, ...) ui_table_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
136 #define ui_combobox(obj, ...) ui_combobox_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
136 #define ui_combobox(obj, ...) ui_combobox_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
|
137 #define ui_breadcrumbbar(obj, ...) ui_breadcrumbbar_create(obj, (UiListArgs) { __VA_ARGS__ } ) |
137 |
138 |
138 UIEXPORT UIWIDGET ui_listview_create(UiObject* obj, UiListArgs args); |
139 UIEXPORT UIWIDGET ui_listview_create(UiObject* obj, UiListArgs args); |
139 UIEXPORT UIWIDGET ui_table_create(UiObject* obj, UiListArgs args); |
140 UIEXPORT UIWIDGET ui_table_create(UiObject* obj, UiListArgs args); |
140 UIEXPORT UIWIDGET ui_combobox_create(UiObject* obj, UiListArgs); |
141 UIEXPORT UIWIDGET ui_combobox_create(UiObject* obj, UiListArgs args); |
|
142 UIEXPORT UIWIDGET ui_breadcrumbbar_create(UiObject* obj, UiListArgs args); |
141 |
143 |
142 UIWIDGET ui_listview_deprecated(UiObject *obj, UiList *list, ui_getvaluefunc getvalue, ui_callback f, void *udata); |
|
143 UIWIDGET ui_listview_str_deprecated(UiObject *obj, UiList *list, ui_callback f, void *udata); |
|
144 UIWIDGET ui_listview_nv_deprecated(UiObject *obj, char *listname, ui_getvaluefunc getvalue, ui_callback f, void *udata); |
|
145 |
|
146 UIWIDGET ui_table_deprecated(UiObject *obj, UiList *data, UiModel *model, UiListCallbacks cb); |
|
147 UIWIDGET ui_table_nv_deprecated(UiObject *obj, char *varname, UiModel *model, UiListCallbacks cb); |
|
148 |
144 |
149 void ui_table_dragsource(UIWIDGET tablewidget, int actions, char *target0, ...); |
145 void ui_table_dragsource(UIWIDGET tablewidget, int actions, char *target0, ...); |
150 void ui_table_dragsource_a(UIWIDGET tablewidget, int actions, char **targets, int nelm); |
146 void ui_table_dragsource_a(UIWIDGET tablewidget, int actions, char **targets, int nelm); |
151 void ui_table_dragdest(UIWIDGET tablewidget, int actions, char *target0, ...); |
147 void ui_table_dragdest(UIWIDGET tablewidget, int actions, char *target0, ...); |
152 void ui_table_dragdest_a(UIWIDGET tablewidget, int actions, char **targets, int nelm); |
148 void ui_table_dragdest_a(UIWIDGET tablewidget, int actions, char **targets, int nelm); |
153 |
|
154 UIWIDGET ui_combobox_deprecated(UiObject *obj, UiList *list, ui_getvaluefunc getvalue, ui_callback f, void *udata); |
|
155 UIWIDGET ui_combobox_str_deprecated(UiObject *obj, UiList *list, ui_callback f, void *udata); |
|
156 UIWIDGET ui_combobox_nv_deprecated(UiObject *obj, char *varname, ui_getvaluefunc getvalue, ui_callback f, void *udata); |
|
157 |
149 |
158 #ifdef __cplusplus |
150 #ifdef __cplusplus |
159 } |
151 } |
160 #endif |
152 #endif |
161 |
153 |