ui/common/context.h

branch
newapi
changeset 192
bcacd00ea955
parent 187
24ce2c326d85
equal deleted inserted replaced
191:6113ed66d258 192:bcacd00ea955
115 UiVar* uic_get_var(UiContext *ctx, const char *name); 115 UiVar* uic_get_var(UiContext *ctx, const char *name);
116 UiVar* uic_create_var(UiContext *ctx, const char *name, UiVarType type); 116 UiVar* uic_create_var(UiContext *ctx, const char *name, UiVarType type);
117 UiVar* uic_create_value_var(UiContext *ctx, void *value); 117 UiVar* uic_create_value_var(UiContext *ctx, void *value);
118 void* uic_create_value(UiContext *ctx, UiVarType type); 118 void* uic_create_value(UiContext *ctx, UiVarType type);
119 119
120 UiVar* uic_widget_var(UiContext* toplevel, UiContext* current, void* value, const char* varname, UiVarType type);
121
120 void uic_copy_binding(UiVar *from, UiVar *to, UiBool copytodoc); 122 void uic_copy_binding(UiVar *from, UiVar *to, UiBool copytodoc);
121 void uic_save_var2(UiVar *var); 123 void uic_save_var2(UiVar *var);
122 void uic_unbind_var(UiVar *var); 124 void uic_unbind_var(UiVar *var);
123 125
124 void uic_reg_var(UiContext *ctx, char *name, UiVarType type, void *value); 126 void uic_reg_var(UiContext *ctx, char *name, UiVarType type, void *value);

mercurial