ui/common/context.h

changeset 976
e2763e880938
parent 966
e411ed7c5f10
equal deleted inserted replaced
975:e0ac49797a30 976:e2763e880938
128 void uic_context_attach_context(UiContext *ctx, UiContext *doc_ctx); // TODO 128 void uic_context_attach_context(UiContext *ctx, UiContext *doc_ctx); // TODO
129 void uic_context_detach_context(UiContext *ctx, UiContext *doc_ctx); // TODO 129 void uic_context_detach_context(UiContext *ctx, UiContext *doc_ctx); // TODO
130 void uic_context_detach_all(UiContext *ctx); 130 void uic_context_detach_all(UiContext *ctx);
131 131
132 UiVar* uic_get_var(UiContext *ctx, const char *name); 132 UiVar* uic_get_var(UiContext *ctx, const char *name);
133 UiVar* uic_get_var_t(UiContext *ctx, const char *name, UiVarType type);
133 UiVar* uic_create_var(UiContext *ctx, const char *name, UiVarType type); 134 UiVar* uic_create_var(UiContext *ctx, const char *name, UiVarType type);
134 UiVar* uic_create_value_var(UiContext *ctx, void *value); 135 UiVar* uic_create_value_var(UiContext *ctx, void *value);
135 void* uic_create_value(UiContext *ctx, UiVarType type); 136 void* uic_create_value(UiContext *ctx, UiVarType type);
136 void uic_destroy_value(UiContext *ctx, UiVarType type, void *value); 137 void uic_destroy_value(UiContext *ctx, UiVarType type, void *value);
137 138

mercurial