Searched refs:blue_slider (Results 1 – 2 of 2) sorted by relevance
/lvgl-latest/examples/widgets/img/ |
D | lv_example_img_2.c | 7 static lv_obj_t * red_slider, * green_slider, * blue_slider, * intense_slider; variable 18 blue_slider = create_slider(lv_palette_main(LV_PALETTE_BLUE)); in lv_example_img_2() 23 lv_slider_set_value(blue_slider, LV_OPA_60, LV_ANIM_OFF); in lv_example_img_2() 28 lv_obj_align_to(blue_slider, green_slider, LV_ALIGN_OUT_RIGHT_MID, 25, 0); in lv_example_img_2() 29 lv_obj_align_to(intense_slider, blue_slider, LV_ALIGN_OUT_RIGHT_MID, 25, 0); in lv_example_img_2() 46 lv_slider_get_value(blue_slider)); in slider_event_cb()
|
D | lv_example_img_2.py | 36 … color = lv.color_make(red_slider.get_value(), green_slider.get_value(), blue_slider.get_value()) 47 blue_slider = create_slider(lv.palette_main(lv.PALETTE.BLUE)) variable 52 blue_slider.set_value(lv.OPA._60, lv.ANIM.OFF) 57 blue_slider.align_to(green_slider, lv.ALIGN.OUT_RIGHT_MID, 25, 0) 58 intense_slider.align_to(blue_slider, lv.ALIGN.OUT_RIGHT_MID, 25, 0)
|