ui/common/types.c

changeset 143
d499b29d7cb6
parent 142
46448d38885c
child 145
853685152c1d
equal deleted inserted replaced
142:46448d38885c 143:d499b29d7cb6
283 to->obj = from->obj; 283 to->obj = from->obj;
284 } 284 }
285 285
286 286
287 void uic_int_save(UiInteger *i) { 287 void uic_int_save(UiInteger *i) {
288 if(!i->obj) return;
288 i->value = i->get(i); 289 i->value = i->get(i);
289 } 290 }
290 291
291 void uic_string_save(UiString *s) { 292 void uic_string_save(UiString *s) {
293 if(!s->obj) return;
292 s->get(s); 294 s->get(s);
293 } 295 }
294 296
295 void uic_text_save(UiText *t) { 297 void uic_text_save(UiText *t) {
298 if(!t->obj) return;
296 t->get(t); 299 t->get(t);
297 t->position(t); 300 t->position(t);
298 } 301 }
299 302
300 void uic_range_save(UiRange *r) { 303 void uic_range_save(UiRange *r) {
304 if(!r->obj) return;
301 r->get(r); 305 r->get(r);
302 } 306 }
303 307
304 308
305 void uic_int_unbind(UiInteger *i) { 309 void uic_int_unbind(UiInteger *i) {

mercurial