Searched refs:img1 (Results 1 – 7 of 7) sorted by relevance
/lvgl-3.7.0/examples/widgets/img/ |
D | lv_example_img_1.c | 7 lv_obj_t * img1 = lv_img_create(lv_scr_act()); in lv_example_img_1() local 8 lv_img_set_src(img1, &img_cogwheel_argb); in lv_example_img_1() 9 lv_obj_align(img1, LV_ALIGN_CENTER, 0, -20); in lv_example_img_1() 10 lv_obj_set_size(img1, 200, 200); in lv_example_img_1() 14 lv_obj_align_to(img2, img1, LV_ALIGN_OUT_BOTTOM_MID, 0, 20); in lv_example_img_1()
|
D | lv_example_img_1.py | 25 img1 = lv.img(lv.scr_act()) variable 26 img1.set_src(img_cogwheel_argb) 27 img1.align(lv.ALIGN.CENTER, 0, -20) 28 img1.set_size(200, 200) 32 img2.align_to(img1, lv.ALIGN.OUT_BOTTOM_MID, 0, 20)
|
D | lv_example_img_2.c | 8 static lv_obj_t * img1; variable 33 img1 = lv_img_create(lv_scr_act()); in lv_example_img_2() 34 lv_img_set_src(img1, &img_cogwheel_argb); in lv_example_img_2() 35 lv_obj_align(img1, LV_ALIGN_RIGHT_MID, -20, 0); in lv_example_img_2() 48 lv_obj_set_style_img_recolor_opa(img1, intense, 0); in slider_event_cb() 49 lv_obj_set_style_img_recolor(img1, color, 0); in slider_event_cb()
|
D | lv_example_img_2.py | 38 img1.set_style_img_recolor_opa(intense, 0) 39 img1.set_style_img_recolor(color, 0) 61 img1 = lv.img(lv.scr_act()) variable 62 img1.set_src(img_cogwheel_argb) 63 img1.align(lv.ALIGN.RIGHT_MID, -20, 0)
|
/lvgl-3.7.0/examples/libs/gif/ |
D | lv_example_gif_1.py | 19 img1 = lv.gif(lv.scr_act()) variable 20 img1.set_src(img_bulb_gif) 21 img1.align(lv.ALIGN.RIGHT_MID, -150, 0)
|
/lvgl-3.7.0/examples/libs/png/ |
D | lv_example_png_1.py | 18 img1 = lv.img(lv.scr_act()) variable 19 img1.set_src(img_wink_png) 20 img1.align(lv.ALIGN.RIGHT_MID, -250, 0)
|
/lvgl-3.7.0/docs/widgets/core/ |
D | img.md | 24 …econverter) and set the converted image with its pointer: `lv_img_set_src(img1, &converted_img_var… 31 …ome "letters" instead of real images. You can set symbol like `lv_img_set_src(img1, LV_SYMBOL_OK)`.
|