Searched refs:stops (Results 1 – 12 of 12) sorted by relevance
/lvgl-3.4.0/examples/styles/ |
D | lv_example_style_2.c | 18 grad.stops[0].color = lv_palette_lighten(LV_PALETTE_GREY, 1); in lv_example_style_2() 19 grad.stops[1].color = lv_palette_main(LV_PALETTE_BLUE); in lv_example_style_2() 22 grad.stops[0].frac = 128; in lv_example_style_2() 23 grad.stops[1].frac = 192; in lv_example_style_2()
|
/lvgl-3.4.0/src/extra/widgets/led/ |
D | lv_led.c | 181 rect_dsc.bg_grad.stops[0].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event() 182 … lv_color_brightness(rect_dsc.bg_grad.stops[0].color)); in lv_led_event() 183 rect_dsc.bg_grad.stops[1].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event() 184 … lv_color_brightness(rect_dsc.bg_grad.stops[1].color)); in lv_led_event() 190 …rect_dsc.bg_grad.stops[0].color = lv_color_mix(rect_dsc.bg_grad.stops[0].color, lv_color_black()… in lv_led_event() 191 …rect_dsc.bg_grad.stops[1].color = lv_color_mix(rect_dsc.bg_grad.stops[1].color, lv_color_black()… in lv_led_event()
|
/lvgl-3.4.0/src/draw/ |
D | lv_draw_rect.c | 42 dsc->bg_grad.stops[0].color = lv_color_white(); in lv_draw_rect_dsc_init() 44 dsc->bg_grad.stops[1].color = lv_color_black(); in lv_draw_rect_dsc_init() 45 dsc->bg_grad.stops[1].frac = 0xFF; in lv_draw_rect_dsc_init()
|
/lvgl-3.4.0/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 311 int32_t min = (dsc->stops[0].frac * range) >> 8; in lv_gradient_calculate() 313 GRAD_CONV(tmp, dsc->stops[0].color); in lv_gradient_calculate() 317 int32_t max = (dsc->stops[dsc->stops_count - 1].frac * range) >> 8; in lv_gradient_calculate() 319 GRAD_CONV(tmp, dsc->stops[dsc->stops_count - 1].color); in lv_gradient_calculate() 326 int32_t cur = (dsc->stops[i].frac * range) >> 8; in lv_gradient_calculate() 328 one.full = lv_color_to32(dsc->stops[i - 1].color); in lv_gradient_calculate() 329 two.full = lv_color_to32(dsc->stops[i].color); in lv_gradient_calculate() 330 min = (dsc->stops[i - 1].frac * range) >> 8; in lv_gradient_calculate() 331 max = (dsc->stops[i].frac * range) >> 8; in lv_gradient_calculate()
|
D | lv_draw_sw_gradient.h | 24 #error LVGL needs at least 2 stops for gradients. Please increase the LV_GRADIENT_MAX_STOPS
|
D | lv_draw_sw_rect.c | 119 …lv_color_t bg_color = grad_dir == LV_GRAD_DIR_NONE ? dsc->bg_color : dsc->bg_grad.stops[0].colo… in draw_bg() 120 if(bg_color.full == dsc->bg_grad.stops[1].color.full) grad_dir = LV_GRAD_DIR_NONE; in draw_bg()
|
/lvgl-3.4.0/examples/widgets/canvas/ |
D | lv_example_canvas_1.c | 15 rect_dsc.bg_grad.stops[0].color = lv_palette_main(LV_PALETTE_RED); in lv_example_canvas_1() 16 rect_dsc.bg_grad.stops[1].color = lv_palette_main(LV_PALETTE_BLUE); in lv_example_canvas_1()
|
D | lv_example_canvas_1.py | 10 rect_dsc.bg_grad.stops[0].color = lv.palette_main(lv.PALETTE.RED) 11 rect_dsc.bg_grad.stops[1].color = lv.palette_main(lv.PALETTE.BLUE)
|
/lvgl-3.4.0/src/core/ |
D | lv_obj_draw.c | 68 … draw_dsc->bg_grad.stops[0].color = lv_obj_get_style_bg_color_filtered(obj, part); in lv_obj_init_draw_rect_dsc() 69 … draw_dsc->bg_grad.stops[1].color = lv_obj_get_style_bg_grad_color_filtered(obj, part); in lv_obj_init_draw_rect_dsc() 70 draw_dsc->bg_grad.stops[0].frac = lv_obj_get_style_bg_main_stop(obj, part); in lv_obj_init_draw_rect_dsc() 71 draw_dsc->bg_grad.stops[1].frac = lv_obj_get_style_bg_grad_stop(obj, part); in lv_obj_init_draw_rect_dsc()
|
/lvgl-3.4.0/src/misc/ |
D | lv_style.h | 137 lv_gradient_stop_t stops[LV_GRADIENT_MAX_STOPS]; /**< A gradient stop array */ member
|
/lvgl-3.4.0/docs/overview/ |
D | scroll.md | 95 If chaining is disabled the propagation stops on the object and the parent(s) won't be scrolled.
|
/lvgl-3.4.0/ |
D | Kconfig | 171 int "Number of stops allowed per gradient." 174 Increase this to allow more stops.
|