Searched refs:obj1 (Results 1 – 12 of 12) sorted by relevance
/lvgl-3.7.0/examples/widgets/obj/ |
D | lv_example_obj_1.c | 6 lv_obj_t * obj1; in lv_example_obj_1() local 7 obj1 = lv_obj_create(lv_scr_act()); in lv_example_obj_1() 8 lv_obj_set_size(obj1, 100, 50); in lv_example_obj_1() 9 lv_obj_align(obj1, LV_ALIGN_CENTER, -60, -30); in lv_example_obj_1()
|
D | lv_example_obj_1.py | 1 obj1 = lv.obj(lv.scr_act()) variable 2 obj1.set_size(100, 50) 3 obj1.align(lv.ALIGN.CENTER, -60, -30)
|
/lvgl-3.7.0/examples/anim/ |
D | lv_example_anim_timeline_1.c | 6 static lv_obj_t * obj1 = NULL; variable 28 lv_anim_set_var(&a1, obj1); in anim_timeline_create() 37 lv_anim_set_var(&a2, obj1); in anim_timeline_create() 182 obj1 = lv_obj_create(par); in lv_example_anim_timeline_1() 183 lv_obj_set_size(obj1, obj_width, obj_height); in lv_example_anim_timeline_1()
|
D | lv_example_anim_timeline_1.py | 39 self.obj1 = lv.obj(self.par) 40 self.obj1.set_size(self.obj_width, self.obj_height) 62 self.a1.set_custom_exec_cb(lambda a,v: self.set_width(self.obj1,v)) 70 self.a2.set_custom_exec_cb(lambda a,v: self.set_height(self.obj1,v))
|
/lvgl-3.7.0/src/core/ |
D | lv_obj_tree.c | 219 void lv_obj_swap(lv_obj_t * obj1, lv_obj_t * obj2) in lv_obj_swap() argument 221 LV_ASSERT_OBJ(obj1, MY_CLASS); in lv_obj_swap() 224 lv_obj_t * parent = lv_obj_get_parent(obj1); in lv_obj_swap() 227 uint_fast32_t index1 = lv_obj_get_index(obj1); in lv_obj_swap() 231 lv_event_send(parent, LV_EVENT_CHILD_DELETED, obj1); in lv_obj_swap() 234 parent2->spec_attr->children[index2] = obj1; in lv_obj_swap() 238 lv_event_send(parent2, LV_EVENT_CHILD_CHANGED, obj1); in lv_obj_swap() 239 lv_event_send(parent2, LV_EVENT_CHILD_CREATED, obj1); in lv_obj_swap() 246 lv_group_swap_obj(obj1, obj2); in lv_obj_swap()
|
D | lv_group.c | 156 void lv_group_swap_obj(lv_obj_t * obj1, lv_obj_t * obj2) in lv_group_swap_obj() argument 158 lv_group_t * g1 = lv_obj_get_group(obj1); in lv_group_swap_obj() 166 if((*obj_i) == obj1)(*obj_i) = obj2; in lv_group_swap_obj() 167 else if((*obj_i) == obj2)(*obj_i) = obj1; in lv_group_swap_obj() 171 if(focused == obj1) lv_group_focus_obj(obj2); in lv_group_swap_obj() 172 else if(focused == obj2) lv_group_focus_obj(obj1); in lv_group_swap_obj()
|
D | lv_obj_tree.h | 93 void lv_obj_swap(struct _lv_obj_t * obj1, struct _lv_obj_t * obj2);
|
D | lv_group.h | 131 void lv_group_swap_obj(struct _lv_obj_t * obj1, struct _lv_obj_t * obj2);
|
/lvgl-3.7.0/docs/overview/ |
D | layer.md | 42 - Use `lv_obj_swap(obj1, obj2)` to swap the relative layer position of two objects.
|
D | coords.md | 62 /*The size of obj1 will be set back to the default in the end*/ 63 lv_obj_set_size(obj1, 200, 100); /*Now obj1 has 200;100 size*/ 64 lv_obj_remove_style_all(obj1); /*It removes the set sizes*/
|
D | object.md | 66 lv_obj_t * obj1 = lv_obj_create(parent); /*Create an object on the previously created pare… 67 lv_obj_set_pos(obj1, 10, 10); /*Set the position of the new object*/ 87 lv_obj_set_x(obj1, -30); /*Move the child a little bit off the parent*/
|
/lvgl-3.7.0/docs/widgets/ |
D | obj.md | 70 You can swap the position of two objects with `lv_obj_swap(obj1, obj2)`.
|