Home
last modified time | relevance | path

Searched refs:new_dsc (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.7.0/src/extra/layouts/flex/
Dlv_flex.c346 grow_dsc_t * new_dsc = lv_mem_buf_get(sizeof(grow_dsc_t) * (t->grow_item_cnt)); in find_track_end() local
347 LV_ASSERT_MALLOC(new_dsc); in find_track_end()
348 if(new_dsc == NULL) return item_id; in find_track_end()
351 … lv_memcpy(new_dsc, t->grow_dsc, sizeof(grow_dsc_t) * (t->grow_item_cnt - 1)); in find_track_end()
354 new_dsc[t->grow_item_cnt - 1].item = item; in find_track_end()
355new_dsc[t->grow_item_cnt - 1].min_size = f->row ? lv_obj_get_style_min_width(item, in find_track_end()
357new_dsc[t->grow_item_cnt - 1].max_size = f->row ? lv_obj_get_style_max_width(item, in find_track_end()
359 new_dsc[t->grow_item_cnt - 1].grow_value = grow_value; in find_track_end()
360 new_dsc[t->grow_item_cnt - 1].clamped = 0; in find_track_end()
361 t->grow_dsc = new_dsc; in find_track_end()