| 128 |
129 |
| 129 UiVar* uic_get_var(UiContext *ctx, const char *name); |
130 UiVar* uic_get_var(UiContext *ctx, const char *name); |
| 130 UiVar* uic_create_var(UiContext *ctx, const char *name, UiVarType type); |
131 UiVar* uic_create_var(UiContext *ctx, const char *name, UiVarType type); |
| 131 UiVar* uic_create_value_var(UiContext *ctx, void *value); |
132 UiVar* uic_create_value_var(UiContext *ctx, void *value); |
| 132 void* uic_create_value(UiContext *ctx, UiVarType type); |
133 void* uic_create_value(UiContext *ctx, UiVarType type); |
| |
134 void uic_destroy_value(UiContext *ctx, UiVarType type, void *value); |
| 133 |
135 |
| 134 UiVar* uic_widget_var(UiContext *toplevel, UiContext *current, void *value, const char *varname, UiVarType type); |
136 UiVar* uic_widget_var(UiContext *toplevel, UiContext *current, void *value, const char *varname, UiVarType type); |
| 135 |
137 |
| 136 void uic_copy_binding(UiVar *from, UiVar *to, UiBool copytodoc); |
138 void uic_copy_var_binding(UiVar *from, UiVar *to, UiBool copytodoc); |
| |
139 void uic_copy_value_binding(UiVarType type, void *from, void *to); |
| 137 void uic_save_var(UiVar *var); |
140 void uic_save_var(UiVar *var); |
| 138 void uic_unbind_var(UiVar *var); |
141 void uic_unbind_var(UiVar *var); |
| |
142 const char *uic_type2str(UiVarType type); |
| 139 |
143 |
| 140 void uic_reg_var(UiContext *ctx, const char *name, UiVarType type, void *value); |
144 void uic_reg_var(UiContext *ctx, const char *name, UiVarType type, void *value); |
| 141 |
|
| 142 void uic_remove_bound_var(UiContext *ctx, UiVar *var); |
|
| 143 |
145 |
| 144 size_t uic_group_array_size(const int *groups); |
146 size_t uic_group_array_size(const int *groups); |
| 145 void uic_check_group_widgets(UiContext *ctx); |
147 void uic_check_group_widgets(UiContext *ctx); |
| 146 void uic_add_group_widget(UiContext *ctx, void *widget, ui_enablefunc enable, CxList *groups); |
148 void uic_add_group_widget(UiContext *ctx, void *widget, ui_enablefunc enable, CxList *groups); |
| 147 void uic_add_group_widget_i(UiContext *ctx, void *widget, ui_enablefunc enable, const int *groups, size_t numgroups); |
149 void uic_add_group_widget_i(UiContext *ctx, void *widget, ui_enablefunc enable, const int *groups, size_t numgroups); |