ui/common/context.c

changeset 150
5cee4cb5ad79
parent 146
dd0ae1c62a72
child 154
8a4451fcb736
equal deleted inserted replaced
149:479209198de3 150:5cee4cb5ad79
294 UiList *f = fromvalue; 294 UiList *f = fromvalue;
295 UiList *t = to->value; 295 UiList *t = to->value;
296 if(!f->obj) break; 296 if(!f->obj) break;
297 uic_list_copy(f, t); 297 uic_list_copy(f, t);
298 t->update(t, -1); 298 t->update(t, -1);
299 break;
299 } 300 }
300 case UI_VAR_RANGE: { 301 case UI_VAR_RANGE: {
301 UiRange *f = fromvalue; 302 UiRange *f = fromvalue;
302 UiRange *t = to->value; 303 UiRange *t = to->value;
303 if(!f->obj) break; 304 if(!f->obj) break;
304 uic_range_copy(f, t); 305 uic_range_copy(f, t);
305 t->setextent(t, t->extent); 306 t->setextent(t, t->extent);
306 t->setrange(t, t->min, t->max); 307 t->setrange(t, t->min, t->max);
307 t->set(t, t->value); 308 t->set(t, t->value);
309 break;
308 } 310 }
309 } 311 }
310 } 312 }
311 313
312 void uic_save_var(UiVar *var) { 314 void uic_save_var(UiVar *var) {

mercurial