Lines Matching refs:label_draw_dsc
803 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()
816 label_draw_dsc.sel_color = lv_obj_get_style_text_color_filtered(obj, LV_PART_SELECTED); in draw_main()
817 label_draw_dsc.sel_bg_color = lv_obj_get_style_bg_color(obj, LV_PART_SELECTED); in draw_main()
823 … (label_draw_dsc.align == LV_TEXT_ALIGN_CENTER || label_draw_dsc.align == LV_TEXT_ALIGN_RIGHT)) { in draw_main()
825 …lv_txt_get_size(&size, label->text, label_draw_dsc.font, label_draw_dsc.letter_space, label_draw_d… in draw_main()
828 label_draw_dsc.align = LV_TEXT_ALIGN_LEFT; in draw_main()
853 lv_draw_label(draw_ctx, &label_draw_dsc, &txt_coords, label->text, hint); in draw_main()
857 lv_draw_label(draw_ctx, &label_draw_dsc, &txt_coords, label->text, hint); in draw_main()
865 …lv_txt_get_size(&size, label->text, label_draw_dsc.font, label_draw_dsc.letter_space, label_draw_d… in draw_main()
870 label_draw_dsc.ofs_x = label->offset.x + size.x + in draw_main()
871 … lv_font_get_glyph_width(label_draw_dsc.font, ' ', ' ') * LV_LABEL_WAIT_CHAR_COUNT; in draw_main()
872 label_draw_dsc.ofs_y = label->offset.y; in draw_main()
874 lv_draw_label(draw_ctx, &label_draw_dsc, &txt_coords, label->text, hint); in draw_main()
879 label_draw_dsc.ofs_x = label->offset.x; in draw_main()
880 … label_draw_dsc.ofs_y = label->offset.y + size.y + lv_font_get_line_height(label_draw_dsc.font); in draw_main()
882 lv_draw_label(draw_ctx, &label_draw_dsc, &txt_coords, label->text, hint); in draw_main()