Searched refs:obj2 (Results 1 – 11 of 11) sorted by relevance
/lvgl-3.7.0/examples/widgets/obj/ |
D | lv_example_obj_1.c | 17 lv_obj_t * obj2; in lv_example_obj_1() local 18 obj2 = lv_obj_create(lv_scr_act()); in lv_example_obj_1() 19 lv_obj_add_style(obj2, &style_shadow, 0); in lv_example_obj_1() 20 lv_obj_align(obj2, LV_ALIGN_CENTER, 60, 30); in lv_example_obj_1()
|
D | lv_example_obj_1.py | 11 obj2 = lv.obj(lv.scr_act()) variable 12 obj2.add_style(style_shadow, 0) 13 obj2.align(lv.ALIGN.CENTER, 60, 30)
|
/lvgl-3.7.0/examples/anim/ |
D | lv_example_anim_timeline_1.c | 7 static lv_obj_t * obj2 = NULL; variable 47 lv_anim_set_var(&a3, obj2); in anim_timeline_create() 56 lv_anim_set_var(&a4, obj2); in anim_timeline_create() 185 obj2 = lv_obj_create(par); in lv_example_anim_timeline_1() 186 lv_obj_set_size(obj2, obj_width, obj_height); in lv_example_anim_timeline_1()
|
D | lv_example_anim_timeline_1.py | 42 self.obj2 = lv.obj(self.par) 43 self.obj2.set_size(self.obj_width, self.obj_height) 79 self.a3.set_custom_exec_cb(lambda a,v: self.set_width(self.obj2,v)) 87 self.a4.set_custom_exec_cb(lambda a,v: self.set_height(self.obj2,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 222 LV_ASSERT_OBJ(obj2, MY_CLASS); in lv_obj_swap() 225 lv_obj_t * parent2 = lv_obj_get_parent(obj2); in lv_obj_swap() 228 uint_fast32_t index2 = lv_obj_get_index(obj2); in lv_obj_swap() 230 lv_event_send(parent2, LV_EVENT_CHILD_DELETED, obj2); in lv_obj_swap() 233 parent->spec_attr->children[index1] = obj2; in lv_obj_swap() 236 lv_event_send(parent, LV_EVENT_CHILD_CHANGED, obj2); in lv_obj_swap() 237 lv_event_send(parent, LV_EVENT_CHILD_CREATED, obj2); 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 159 lv_group_t * g2 = lv_obj_get_group(obj2); 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 | 67 /*obj2 will have 200;100 size in the end */ 68 lv_obj_remove_style_all(obj2); 69 lv_obj_set_size(obj2, 200, 100);
|
/lvgl-3.7.0/docs/widgets/ |
D | obj.md | 70 You can swap the position of two objects with `lv_obj_swap(obj1, obj2)`.
|