Lines Matching refs:rect_dsc
176 lv_draw_rect_dsc_t rect_dsc; in lv_led_event() local
177 lv_draw_rect_dsc_init(&rect_dsc); in lv_led_event()
178 lv_obj_init_draw_rect_dsc(obj, LV_PART_MAIN, &rect_dsc); in lv_led_event()
181 …rect_dsc.bg_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bg_col… in lv_led_event()
182 rect_dsc.bg_grad.stops[0].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event()
183 … lv_color_brightness(rect_dsc.bg_grad.stops[0].color)); in lv_led_event()
184 rect_dsc.bg_grad.stops[1].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event()
185 … lv_color_brightness(rect_dsc.bg_grad.stops[1].color)); in lv_led_event()
186 …rect_dsc.shadow_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.sh… in lv_led_event()
187 …rect_dsc.border_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bo… in lv_led_event()
188 …rect_dsc.outline_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.o… in lv_led_event()
191 rect_dsc.bg_color = lv_color_mix(rect_dsc.bg_color, lv_color_black(), led->bright); in lv_led_event()
192 …rect_dsc.bg_grad.stops[0].color = lv_color_mix(rect_dsc.bg_grad.stops[0].color, lv_color_black()… in lv_led_event()
193 …rect_dsc.bg_grad.stops[1].color = lv_color_mix(rect_dsc.bg_grad.stops[1].color, lv_color_black()… in lv_led_event()
194 rect_dsc.border_color = lv_color_mix(rect_dsc.border_color, lv_color_black(), led->bright); in lv_led_event()
195 rect_dsc.shadow_color = lv_color_mix(rect_dsc.shadow_color, lv_color_black(), led->bright); in lv_led_event()
196 … rect_dsc.outline_color = lv_color_mix(rect_dsc.outline_color, lv_color_black(), led->bright); in lv_led_event()
200 rect_dsc.shadow_width = ((led->bright - LV_LED_BRIGHT_MIN) * rect_dsc.shadow_width) / in lv_led_event()
202 rect_dsc.shadow_spread = ((led->bright - LV_LED_BRIGHT_MIN) * rect_dsc.shadow_spread) / in lv_led_event()
212 part_draw_dsc.rect_dsc = &rect_dsc; in lv_led_event()
216 lv_draw_rect(draw_ctx, &rect_dsc, &obj->coords); in lv_led_event()