/lvgl-latest/examples/widgets/roller/ |
D | lv_example_roller_3.c | 19 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in mask_event_cb() local 29 rect_area.y2 = roller_coords.y1 + (lv_obj_get_height(obj) - font_h - line_space) / 2; in mask_event_cb() 35 rect_area.y1 = rect_area.y2 + font_h + line_space - 1; in mask_event_cb()
|
D | lv_example_roller_3.py | 67 line_space = obj.get_style_text_line_space(lv.PART.MAIN) 77 rect_area.y2 = roller_coords.y1 + (obj.get_height() - font_h - line_space) // 2 83 rect_area.y1 = rect_area.y2 + font_h + line_space - 1
|
/lvgl-latest/src/widgets/ |
D | lv_roller.c | 196 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_roller_set_visible_row_count() local 198 … lv_obj_set_height(obj, (lv_font_get_line_height(font) + line_space) * row_cnt + 2 * border_width); in lv_roller_set_visible_row_count() 480 …ize(&res_p, lv_label_get_text(label), label_dsc.font, label_dsc.letter_space, label_dsc.line_space, in draw_main() 577 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in get_sel_area() local 578 lv_coord_t d = (font_sel_h + font_main_h) / 2 + line_space; in get_sel_area() 615 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in refr_position() local 627 lv_coord_t sel_y1 = id * (font_h + line_space); in refr_position() 698 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in release_handler() local 701 lv_coord_t label_unit = font_h + line_space; in release_handler() 740 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in inf_normalize() local [all …]
|
D | lv_dropdown.c | 813 …e, dropdown->symbol, symbol_dsc.font, symbol_dsc.letter_space, symbol_dsc.line_space, LV_COORD_MAX, 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() 944 lv_coord_t line_space = lv_obj_get_style_text_line_space(list_obj, LV_PART_SELECTED); in draw_box() local 951 rect_area.y1 += id * (font_h + line_space); in draw_box() 952 rect_area.y1 -= line_space / 2; in draw_box() 954 rect_area.y2 = rect_area.y1 + font_h + line_space - 1; in draw_box() 984 label_dsc.line_space = lv_obj_get_style_text_line_space(list_obj, 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() [all …]
|
D | lv_label.c | 318 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_label_get_letter_pos() local 336 y += letter_height + line_space; in lv_label_get_letter_pos() 343 y += letter_height + line_space; in lv_label_get_letter_pos() 417 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_label_get_letter_on() local 444 y += letter_height + line_space; in lv_label_get_letter_on() 537 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_label_is_char_under_pos() local 554 y += letter_height + line_space; in lv_label_is_char_under_pos() 769 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_label_event() local 778 lv_txt_get_size(&size, label->text, font, letter_space, line_space, w, flag); in lv_label_event() 825 …ze(&size, label->text, label_draw_dsc.font, label_draw_dsc.letter_space, label_draw_dsc.line_space, in draw_main() [all …]
|
D | lv_checkbox.c | 167 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_checkbox_event() local 171 …lv_txt_get_size(&txt_size, cb->txt, font, letter_space, line_space, LV_COORD_MAX, LV_TEXT_FLAG_NON… in lv_checkbox_event() 245 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_checkbox_draw() local 249 …lv_txt_get_size(&txt_size, cb->txt, font, letter_space, line_space, LV_COORD_MAX, LV_TEXT_FLAG_NON… in lv_checkbox_draw()
|
D | lv_table.c | 37 lv_coord_t letter_space, lv_coord_t line_space, 834 label_dsc_act.letter_space, label_dsc_act.line_space, in draw_main() 872 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_ITEMS); in refr_size_form_row() local 881 lv_coord_t calculated_height = get_row_height(obj, i, font, letter_space, line_space, in refr_size_form_row() 898 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_ITEMS); in refr_cell_size() local 905 lv_coord_t calculated_height = get_row_height(obj, row, font, letter_space, line_space, in refr_cell_size() 925 lv_coord_t letter_space, lv_coord_t line_space, in get_row_height() argument 977 letter_space, line_space, txt_w, LV_TEXT_FLAG_NONE); in get_row_height()
|
D | lv_textarea.c | 760 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_textarea_cursor_down() local 763 pos.y += font_h + line_space + 1; in lv_textarea_cursor_down() 788 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_textarea_cursor_up() local 791 pos.y -= font_h + line_space - 1; in lv_textarea_cursor_up() 1054 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in refr_cursor_area() local 1081 letter_pos.y += letter_h + line_space; in refr_cursor_area()
|
D | lv_btnmatrix.c | 813 lv_coord_t line_space = draw_label_dsc_act.line_space; in draw_main() local 826 line_space, lv_area_get_width(&area_obj), draw_label_dsc_act.flag); in draw_main()
|
D | lv_img.c | 141 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_img_set_src() local 143 … lv_txt_get_size(&size, src, font, letter_space, line_space, LV_COORD_MAX, LV_TEXT_FLAG_NONE); in lv_img_set_src()
|
/lvgl-latest/src/draw/ |
D | lv_draw_label.h | 37 lv_coord_t line_space; member
|
D | lv_draw_label.c | 116 lv_txt_get_size(&p, txt, dsc->font, dsc->letter_space, dsc->line_space, LV_COORD_MAX, in lv_draw_label() 122 int32_t line_height = line_height_font + dsc->line_space; in lv_draw_label()
|
/lvgl-latest/src/extra/widgets/span/ |
D | lv_span.c | 401 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN); in lv_spangroup_get_expand_height() local 443 snippet.line_h = lv_font_get_line_height(snippet.font) + line_space; in lv_spangroup_get_expand_height() 492 txt_pos.y -= line_space; in lv_spangroup_get_expand_height() 778 lv_coord_t line_space = lv_obj_get_style_text_line_space(obj, LV_PART_MAIN);; in lv_draw_span() local 826 snippet.line_h = lv_font_get_line_height(snippet.font) + line_space; in lv_draw_span() 885 … next_line_h = lv_font_get_line_height(lv_span_get_style_text_font(obj, next_span)) + line_space; in lv_draw_span() 888 …if(txt_pos.y + max_line_h + next_line_h - line_space > coords.y2 + 1) { /* for overflow if is end … in lv_draw_span() 1000 p1.y = pos.y + ((pinfo->line_h - line_space) >> 1) + (line_dsc.width >> 1); in lv_draw_span() 1010 …p1.y = pos.y + pinfo->line_h - line_space - pinfo->font->base_line - pinfo->font->underline_positi… in lv_draw_span()
|
/lvgl-latest/src/misc/ |
D | lv_txt.c | 92 lv_coord_t line_space, lv_coord_t max_width, lv_text_flag_t flag) in lv_txt_get_size() argument 110 …if((unsigned long)size_res->y + (unsigned long)letter_height + (unsigned long)line_space > LV_MAX_… in lv_txt_get_size() 116 size_res->y += line_space; in lv_txt_get_size() 129 size_res->y += letter_height + line_space; in lv_txt_get_size() 136 size_res->y -= line_space; in lv_txt_get_size()
|
D | lv_txt.h | 84 lv_coord_t line_space, lv_coord_t max_width, lv_text_flag_t flag);
|
/lvgl-latest/examples/widgets/bar/ |
D | lv_example_bar_6.c | 24 …lv_txt_get_size(&txt_size, buf, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_C… in event_cb()
|
D | test.py | 20 …txt_size, value_txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, lv.COORD.MAX, l…
|
D | lv_example_bar_6.py | 17 …txt_size, value_txt, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, lv.COORD.MAX, l…
|
/lvgl-latest/src/core/ |
D | lv_obj_draw.c | 208 draw_dsc->line_space = lv_obj_get_style_text_line_space(obj, part); in lv_obj_init_draw_label_dsc()
|
/lvgl-latest/src/extra/widgets/meter/ |
D | lv_meter.c | 517 label_dsc_tmp.line_space, in draw_ticks_and_labels()
|
/lvgl-latest/src/extra/widgets/chart/ |
D | lv_chart.c | 1477 …ze, part_draw_dsc.text, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, in draw_y_ticks() 1615 …ze, part_draw_dsc.text, label_dsc.font, label_dsc.letter_space, label_dsc.line_space, LV_COORD_MAX, in draw_x_ticks()
|