Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 33) sorted by relevance

12

/lvgl-latest/src/core/
Dlv_obj_tree.c150 old_parent->spec_attr->children[i] = old_parent->spec_attr->children[i + 1]; in lv_obj_set_parent()
154 old_parent->spec_attr->children = lv_mem_realloc(old_parent->spec_attr->children, in lv_obj_set_parent()
158 lv_mem_free(old_parent->spec_attr->children); in lv_obj_set_parent()
159 old_parent->spec_attr->children = NULL; in lv_obj_set_parent()
164 parent->spec_attr->children = lv_mem_realloc(parent->spec_attr->children, in lv_obj_set_parent()
166 parent->spec_attr->children[lv_obj_get_child_cnt(parent) - 1] = obj; in lv_obj_set_parent()
203 parent->spec_attr->children[i] = parent->spec_attr->children[i - 1]; in lv_obj_move_to_index()
209 parent->spec_attr->children[i] = parent->spec_attr->children[i + 1]; in lv_obj_move_to_index()
214 parent->spec_attr->children[index] = obj; in lv_obj_move_to_index()
233 parent->spec_attr->children[index1] = obj2; in lv_obj_swap()
[all …]
Dlv_obj_class.c88 if(parent->spec_attr->children == NULL) { in lv_obj_class_create_obj()
89 parent->spec_attr->children = lv_mem_alloc(sizeof(lv_obj_t *)); in lv_obj_class_create_obj()
90 parent->spec_attr->children[0] = obj; in lv_obj_class_create_obj()
95 parent->spec_attr->children = lv_mem_realloc(parent->spec_attr->children, in lv_obj_class_create_obj()
97 parent->spec_attr->children[parent->spec_attr->child_cnt - 1] = obj; in lv_obj_class_create_obj()
Dlv_obj.c469 if(obj->spec_attr->children) { in lv_obj_destructor()
470 lv_mem_free(obj->spec_attr->children); in lv_obj_destructor()
471 obj->spec_attr->children = NULL; in lv_obj_destructor()
751 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_event()
851 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_event()
963 lv_obj_t * child = parent->spec_attr->children[i]; in obj_valid_child()
Dlv_obj.h155 struct _lv_obj_t ** children; /**< Store the pointer of the children in an array.*/ member
Dlv_obj_pos.c785 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_move_children_by()
1005 lv_obj_t * child = obj->spec_attr->children[i]; in calc_content_width()
1037 lv_obj_t * child = obj->spec_attr->children[i]; in calc_content_width()
1087 lv_obj_t * child = obj->spec_attr->children[i]; in calc_content_height()
1129 lv_obj_t * child = obj->spec_attr->children[i]; in layout_update_core()
Dlv_obj_scroll.c142 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_get_scroll_bottom()
183 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_get_scroll_left()
220 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_get_scroll_right()
Dlv_refr.c181 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_redraw()
823 lv_obj_t * child = obj->spec_attr->children[i]; in lv_refr_get_top_obj()
868 lv_obj_t * child = parent->spec_attr->children[i]; in refr_obj_and_children()
Dlv_indev_scroll.c465 lv_obj_t * child = obj->spec_attr->children[i]; in find_snap_point_x()
520 lv_obj_t * child = obj->spec_attr->children[i]; in find_snap_point_y()
Dlv_obj_style.c685 report_style_change_core(style, obj->spec_attr->children[i]); in report_style_change_core()
699 lv_obj_t * child = obj->spec_attr->children[i]; in refresh_children_style()
/lvgl-latest/docs/layouts/
Dflex.md32 - `LV_FLEX_FLOW_ROW` Place the children in a row without wrapping
33 - `LV_FLEX_FLOW_COLUMN` Place the children in a column without wrapping
34 - `LV_FLEX_FLOW_ROW_WRAP` Place the children in a row with wrapping
35 - `LV_FLEX_FLOW_COLUMN_WRAP` Place the children in a column with wrapping
36 - `LV_FLEX_FLOW_ROW_REVERSE` Place the children in a row without wrapping but in reversed order
37 - `LV_FLEX_FLOW_COLUMN_REVERSE` Place the children in a column without wrapping but in reversed ord…
38 - `LV_FLEX_FLOW_ROW_WRAP_REVERSE` Place the children in a row with wrapping but in reversed order
39 - `LV_FLEX_FLOW_COLUMN_WRAP_REVERSE` Place the children in a column with wrapping but in reversed o…
42 To manage the placement of the children use `lv_obj_set_flex_align(obj, main_place, cross_place, t…
61 Flex grow can be used to make one or more children fill the available space on the track. When more…
Dgrid.md37 - `LV_GRID_CONTENT` set the width to the largest children on this track
41 By default, the children are not added to the grid. They need to be added manually to a cell.
45 `column_align` and `row_align` determine how to align the children in its cell. The possible values…
/lvgl-latest/docs/_static/js/
Dcustom.js44 const children = newDiv.querySelectorAll('*');
47 children.forEach(child => {
/lvgl-latest/docs/others/
Dgridnav.md5 If the children are arranged into a grid-like layout then the up, down, left and right arrows move …
8 It doesn't matter how the children are positioned, as only the current x and y coordinates are cons…
9 This means that gridnav works with manually positioned children, as well as [Flex](/layouts/flex) a…
11 Gridnav also works if the children are arranged into a single row or column.
Dsnapshot.md3 Snapshot provides APIs to take snapshot image for LVGL object together with its children. The image…
/lvgl-latest/docs/overview/
Dscroll.md105 The children of an object can be snapped according to specific rules when scrolling ends. Children …
107 An object can align snapped children in four ways:
109 - `LV_SCROLL_SNAP_START` Align the children to the left/top side of a scrolled object
110 - `LV_SCROLL_SNAP_END` Align the children to the right/bottom side of a scrolled object
111 - `LV_SCROLL_SNAP_CENTER` Align the children to the center of a scrolled object
123 This requires making the children snappable and setting a scroll snap alignment different from `LV_…
129 …focus" feature is enabled LVGL will automatically scroll objects to bring their children into view.
171 This means not only the children can make an object scrollable but a larger self size will too.
Dcoords.md17 - `LV_SIZE_CONTENT`: Special value to set the width/height of an object to involve all the children
24 - padding: space between the sides of the object and its children.
29 …he bounding box. Inside the border LVGL keeps a "padding margin" when placing an object's children.
121 If the parent's size changes, the set alignment and position of the children is updated automatical…
165 …T`. It means the object's size in the respective direction will be set to the size of its children.
166 Note that only children on the right and bottom sides will be considered and children on the top an…
305 …update the position and size of an object's children. They can be used to automatically arrange th…
310 For further settings of the parent and children see the documentation of the given layout.
341 /*Will be called automatically if it's required to reposition/resize the children of "obj" */
Dobject.md52 …e container of its children. Every object has exactly one parent object (except screens), but a pa…
57 If the position of a parent changes, the children will move along with it.
90 …h `lv_obj_add_flag(obj, LV_OBJ_FLAG_OVERFLOW_VISIBLE);` which allow the children to be drawn out o…
111 …s a common **delete** function for all object types. It deletes the object and all of its children.
121 You can remove all the children of an object (but not the object itself) using `lv_obj_clean(obj)`.
223 A snapshot image can be generated for an object together with its children. Check details in [Snaps…
Dlayer.md8 …with its child object(s)) will be in the background and can be covered by button2 and its children.
41 - Use `lv_obj_move_to_index(obj, idx)` to move an object to a given index in the order of children.…
Devent.md94 - `LV_EVENT_DRAW_POST_BEGIN` Starting the post draw phase (when all children are drawn)
95 - `LV_EVENT_DRAW_POST` Perform the post draw phase (when all children are drawn)
96 - `LV_EVENT_DRAW_POST_END` Finishing the post draw phase (when all children are drawn)
Ddrawing.md75 - **clip corner** To clip overflowing content (usually children) on rounded corners, a rounded rect…
130 …the children of an object are drawn. For example LVGL use the post drawing phase to draw scrollbar…
/lvgl-latest/docs/widgets/
Dobj.md8 - children
47 ### Parents and children
55 The children can be iterated lke this:
64 …ndex of the object in its parent. It is equivalent to the number of younger children in the parent.
110 - `LV_OBJ_FLAG_SCROLL_ONE` Allow scrolling only one snappable children
123 - `LV_OBJ_FLAG_OVERFLOW_VISIBLE` Do not clip the children's content to the parent's boundary
/lvgl-latest/docs/widgets/extra/
Dspan.md19 Spangroups store their children differently from normal objects, so normal functions for getting ch…
/lvgl-latest/src/extra/layouts/flex/
Dlv_flex.c386 item = cont->spec_attr->children[item_id]; in find_track_end()
586 if(*item_id >= 0) return cont->spec_attr->children[*item_id]; in get_next_item()
591 … if((*item_id) < (int32_t)cont->spec_attr->child_cnt) return cont->spec_attr->children[*item_id]; in get_next_item()
/lvgl-latest/docs/get-started/
Dquick-overview.md91 The child object moves with the parent and if the parent is deleted the children will be deleted to…
93 …y within their parent's bounding area. In other words, the parts of the children outside the paren…
/lvgl-latest/src/extra/libs/png/
Dlodepng.c3114 ColorTree* children[16]; /*up to 16 pointers to ColorTree of next level*/ member
3119 lodepng_memset(tree->children, 0, 16 * sizeof(*tree->children)); in color_tree_init()
3126 if(tree->children[i]) { in color_tree_cleanup()
3127 color_tree_cleanup(tree->children[i]); in color_tree_cleanup()
3128 lodepng_free(tree->children[i]); in color_tree_cleanup()
3138 if(!tree->children[i]) return -1; in color_tree_get()
3139 else tree = tree->children[i]; in color_tree_get()
3158 if(!tree->children[i]) { in color_tree_add()
3159 tree->children[i] = (ColorTree*)lodepng_malloc(sizeof(ColorTree)); in color_tree_add()
3160 if(!tree->children[i]) return 83; /*alloc fail*/ in color_tree_add()
[all …]

12