Home
last modified time | relevance | path

Searched refs:label_draw_dsc (Results 1 – 7 of 7) sorted by relevance

/lvgl-3.7.0/examples/widgets/slider/
Dlv_example_slider_3.c48 lv_draw_label_dsc_t label_draw_dsc; in slider_event_cb() local
49 lv_draw_label_dsc_init(&label_draw_dsc); in slider_event_cb()
50 label_draw_dsc.color = lv_color_hex3(0x888); in slider_event_cb()
51 lv_draw_label(dsc->draw_ctx, &label_draw_dsc, &label_area, buf, NULL); in slider_event_cb()
Dlv_example_slider_3.py24 label_draw_dsc = lv.draw_label_dsc_t()
25 label_draw_dsc.init()
27 dsc.draw_ctx.label(label_draw_dsc, label_area, label_text, None)
/lvgl-3.7.0/src/widgets/
Dlv_label.c803 lv_draw_label_dsc_t label_draw_dsc; in draw_main() local
804 lv_draw_label_dsc_init(&label_draw_dsc); in draw_main()
806 label_draw_dsc.ofs_x = label->offset.x; in draw_main()
807 label_draw_dsc.ofs_y = label->offset.y; in draw_main()
809 label_draw_dsc.flag = flag; in draw_main()
810 lv_obj_init_draw_label_dsc(obj, LV_PART_MAIN, &label_draw_dsc); in draw_main()
811 lv_bidi_calculate_align(&label_draw_dsc.align, &label_draw_dsc.bidi_dir, label->text); in draw_main()
813 label_draw_dsc.sel_start = lv_label_get_text_selection_start(obj); in draw_main()
814 label_draw_dsc.sel_end = lv_label_get_text_selection_end(obj); in draw_main()
815 …if(label_draw_dsc.sel_start != LV_DRAW_LABEL_NO_TXT_SEL && label_draw_dsc.sel_end != LV_DRAW_LABEL… in draw_main()
[all …]
Dlv_roller.c526 lv_draw_label_dsc_t label_draw_dsc; in draw_label() local
527 lv_draw_label_dsc_init(&label_draw_dsc); in draw_label()
528 lv_obj_init_draw_label_dsc(roller, LV_PART_MAIN, &label_draw_dsc); in draw_label()
529 if(lv_label_get_recolor(label_obj)) label_draw_dsc.flag |= LV_TEXT_FLAG_RECOLOR; in draw_label()
552 … lv_draw_label(draw_ctx, &label_draw_dsc, &label_obj->coords, lv_label_get_text(label_obj), NULL); in draw_label()
563 … lv_draw_label(draw_ctx, &label_draw_dsc, &label_obj->coords, lv_label_get_text(label_obj), NULL); in draw_label()
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c796 lv_draw_label_dsc_t label_draw_dsc; in lv_draw_span() local
797 lv_draw_label_dsc_init(&label_draw_dsc); in lv_draw_span()
932 label_draw_dsc.color = lv_span_get_style_text_color(obj, pinfo->span); in lv_draw_span()
933 label_draw_dsc.opa = lv_span_get_style_text_opa(obj, pinfo->span); in lv_draw_span()
934 label_draw_dsc.font = lv_span_get_style_text_font(obj, pinfo->span); in lv_draw_span()
935 label_draw_dsc.blend_mode = lv_span_get_style_text_blend_mode(obj, pinfo->span); in lv_draw_span()
937 label_draw_dsc.opa = (uint16_t)((uint16_t)label_draw_dsc.opa * obj_opa) >> 8; in lv_draw_span()
970 lv_draw_letter(draw_ctx, &label_draw_dsc, &pos, '.'); in lv_draw_span()
979 lv_draw_letter(draw_ctx, &label_draw_dsc, &pos, letter); in lv_draw_span()
991 line_dsc.color = label_draw_dsc.color; in lv_draw_span()
[all …]
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_rect.c545 lv_draw_label_dsc_t label_draw_dsc; in draw_bg_img() local
546 lv_draw_label_dsc_init(&label_draw_dsc); in draw_bg_img()
547 label_draw_dsc.font = dsc->bg_img_symbol_font; in draw_bg_img()
548 label_draw_dsc.color = dsc->bg_img_recolor; in draw_bg_img()
549 label_draw_dsc.opa = dsc->bg_img_opa; in draw_bg_img()
550 lv_draw_label((lv_draw_ctx_t *) ctx, &label_draw_dsc, &a, dsc->bg_img_src, NULL); in draw_bg_img()
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_rect.c347 lv_draw_label_dsc_t label_draw_dsc; in draw_bg_img() local
348 lv_draw_label_dsc_init(&label_draw_dsc); in draw_bg_img()
349 label_draw_dsc.font = dsc->bg_img_symbol_font; in draw_bg_img()
350 label_draw_dsc.color = dsc->bg_img_recolor; in draw_bg_img()
351 label_draw_dsc.opa = dsc->bg_img_opa; in draw_bg_img()
352 lv_draw_label(draw_ctx, &label_draw_dsc, &a, dsc->bg_img_src, NULL); in draw_bg_img()