ui/common/args.c

changeset 1154
8f44450932d5
parent 1153
f15375e0480c
equal deleted inserted replaced
1153:f15375e0480c 1154:8f44450932d5
2225 2225
2226 void ui_textarea_args_set_onchangedata(UiTextAreaArgs *args, void *onchangedata){ 2226 void ui_textarea_args_set_onchangedata(UiTextAreaArgs *args, void *onchangedata){
2227 args->onchangedata = onchangedata; 2227 args->onchangedata = onchangedata;
2228 } 2228 }
2229 2229
2230 void ui_textarea_args_set_change_action(UiTextAreaArgs *args, const char *action) { 2230 void ui_textarea_args_set_onchange_action(UiTextAreaArgs *args, const char *action) {
2231 args->onchange_action = strdup(action); 2231 args->onchange_action = strdup(action);
2232 } 2232 }
2233 2233
2234 void ui_textarea_args_set_ontextchanged(UiTextAreaArgs *args, ui_callback callback) { 2234 void ui_textarea_args_set_ontextchanged(UiTextAreaArgs *args, ui_callback callback) {
2235 args->ontextchanged = callback; 2235 args->ontextchanged = callback;

mercurial