Searched refs:old_parent (Results 1 – 1 of 1) sorted by relevance
166 lv_obj_t * old_parent = obj->parent; in lv_obj_set_parent() local169 for(i = lv_obj_get_index(obj); i <= (int32_t)lv_obj_get_child_count(old_parent) - 2; i++) { in lv_obj_set_parent()170 old_parent->spec_attr->children[i] = old_parent->spec_attr->children[i + 1]; in lv_obj_set_parent()172 old_parent->spec_attr->child_cnt--; in lv_obj_set_parent()173 if(old_parent->spec_attr->child_cnt) { in lv_obj_set_parent()174 old_parent->spec_attr->children = lv_realloc(old_parent->spec_attr->children, in lv_obj_set_parent()175 … old_parent->spec_attr->child_cnt * (sizeof(lv_obj_t *))); in lv_obj_set_parent()178 lv_free(old_parent->spec_attr->children); in lv_obj_set_parent()179 old_parent->spec_attr->children = NULL; in lv_obj_set_parent()191 lv_obj_scrollbar_invalidate(old_parent); in lv_obj_set_parent()[all …]