Lines Matching refs:label_dsc
859 lv_draw_label_dsc_t label_dsc; in draw_main() local
860 lv_draw_label_dsc_init(&label_dsc); in draw_main()
861 lv_obj_init_draw_label_dsc(obj, LV_PART_MAIN, &label_dsc); in draw_main()
864 …lv_txt_get_size(&size, opt_txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_C… in draw_main()
865 label_dsc.flag); in draw_main()
886 lv_draw_label(draw_ctx, &label_dsc, &txt_area, opt_txt, NULL); in draw_main()
980 lv_draw_label_dsc_t label_dsc; in draw_box_label() local
981 lv_draw_label_dsc_init(&label_dsc); in draw_box_label()
982 lv_obj_init_draw_label_dsc(list_obj, LV_PART_SELECTED, &label_dsc); in draw_box_label()
984 label_dsc.line_space = lv_obj_get_style_text_line_space(list_obj, in draw_box_label()
990 lv_coord_t font_h = lv_font_get_line_height(label_dsc.font); in draw_box_label()
994 area_sel.y1 += id * (font_h + label_dsc.line_space); in draw_box_label()
995 area_sel.y1 -= label_dsc.line_space / 2; in draw_box_label()
997 area_sel.y2 = area_sel.y1 + font_h + label_dsc.line_space - 1; in draw_box_label()
1006 lv_draw_label(draw_ctx, &label_dsc, &label->coords, lv_label_get_text(label), NULL); in draw_box_label()