Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 15 of 15) sorted by relevance

/lvgl-2.7.6/src/lv_widgets/
Dlv_label.c605 lv_txt_flag_t flag = LV_TXT_FLAG_NONE; in lv_label_get_letter_pos() local
607 if(ext->recolor != 0) flag |= LV_TXT_FLAG_RECOLOR; in lv_label_get_letter_pos()
608 if(ext->expand != 0) flag |= LV_TXT_FLAG_EXPAND; in lv_label_get_letter_pos()
609 if(ext->long_mode == LV_LABEL_LONG_EXPAND) flag |= LV_TXT_FLAG_FIT; in lv_label_get_letter_pos()
611 if(align == LV_LABEL_ALIGN_CENTER) flag |= LV_TXT_FLAG_CENTER; in lv_label_get_letter_pos()
612 if(align == LV_LABEL_ALIGN_RIGHT) flag |= LV_TXT_FLAG_RIGHT; in lv_label_get_letter_pos()
618 new_line_start += _lv_txt_get_next_line(&txt[line_start], font, letter_space, max_w, flag); in lv_label_get_letter_pos()
661 lv_coord_t x = _lv_txt_get_width(bidi_txt, visual_byte_pos, font, letter_space, flag); in lv_label_get_letter_pos()
666 line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_pos()
672 line_w = _lv_txt_get_width(bidi_txt, new_line_start - line_start, font, letter_space, flag); in lv_label_get_letter_pos()
[all …]
Dlv_canvas.c816 lv_txt_flag_t flag; in lv_canvas_draw_text() local
819 flag = LV_TXT_FLAG_NONE; in lv_canvas_draw_text()
822 flag = LV_TXT_FLAG_RIGHT; in lv_canvas_draw_text()
825 flag = LV_TXT_FLAG_CENTER; in lv_canvas_draw_text()
828 flag = LV_TXT_FLAG_NONE; in lv_canvas_draw_text()
832 label_draw_dsc->flag = flag; in lv_canvas_draw_text()
Dlv_table.c830 label_dsc[cell_type].flag = 0; in lv_table_design()
840 label_dsc[cell_type].flag |= LV_TXT_FLAG_NONE; in lv_table_design()
843 label_dsc[cell_type].flag |= LV_TXT_FLAG_RIGHT; in lv_table_design()
846 label_dsc[cell_type].flag |= LV_TXT_FLAG_CENTER; in lv_table_design()
Dlv_btnmatrix.c670 draw_label_rel_dsc.flag = txt_flag; in lv_btnmatrix_design()
722 draw_label_chk_dsc.flag = txt_flag; in lv_btnmatrix_design()
738 draw_label_ina_dsc.flag = txt_flag; in lv_btnmatrix_design()
754 draw_label_tmp_dsc.flag = txt_flag; in lv_btnmatrix_design()
Dlv_dropdown.c753 label_dsc.flag); in lv_dropdown_design()
773 label_dsc.flag); in lv_dropdown_design()
1198 if(align == LV_LABEL_ALIGN_CENTER) label_dsc.flag |= LV_TXT_FLAG_CENTER; in draw_box_label()
1199 else if(align == LV_LABEL_ALIGN_RIGHT) label_dsc.flag |= LV_TXT_FLAG_RIGHT; in draw_box_label()
Dlv_calendar.c713 label_dsc.flag = LV_TXT_FLAG_CENTER; in draw_header()
781 label_dsc.flag = LV_TXT_FLAG_CENTER; in draw_day_names()
906 label_dsc.flag = LV_TXT_FLAG_CENTER; in draw_dates()
Dlv_roller.c468 label_dsc.flag |= LV_TXT_FLAG_CENTER; in lv_roller_design()
471 label_dsc.flag |= LV_TXT_FLAG_RIGHT; in lv_roller_design()
503 label_dsc.flag |= LV_TXT_FLAG_EXPAND; in lv_roller_design()
Dlv_textarea.c1340 ph_dsc.flag |= LV_TXT_FLAG_CENTER; in lv_textarea_scrollable_design()
1343 ph_dsc.flag |= LV_TXT_FLAG_RIGHT; in lv_textarea_scrollable_design()
1349 if(ext->one_line) ph_dsc.flag |= LV_TXT_FLAG_EXPAND; in lv_textarea_scrollable_design()
Dlv_win.c550 label_dsc.flag); in lv_win_header_design()
/lvgl-2.7.6/src/lv_misc/
Dlv_txt.c94 lv_coord_t line_space, lv_coord_t max_width, lv_txt_flag_t flag) in _lv_txt_get_size() argument
102 if(flag & LV_TXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in _lv_txt_get_size()
110 … new_line_start += _lv_txt_get_next_line(&text[line_start], font, letter_space, max_width, flag); in _lv_txt_get_size()
123 flag); in _lv_txt_get_size()
174 … lv_txt_flag_t flag, uint32_t * word_w_ptr, lv_txt_cmd_state_t * cmd_state, bool force) in lv_txt_get_next_word() argument
179 if(flag & LV_TXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in lv_txt_get_next_word()
199 if((flag & LV_TXT_FLAG_RECOLOR) != 0) { in lv_txt_get_next_word()
294 lv_coord_t letter_space, lv_coord_t max_width, lv_txt_flag_t flag) in _lv_txt_get_next_line() argument
301 if((flag & LV_TXT_FLAG_EXPAND) || (flag & LV_TXT_FLAG_FIT)) { in _lv_txt_get_next_line()
310 if(flag & LV_TXT_FLAG_EXPAND) max_width = LV_COORD_MAX; in _lv_txt_get_next_line()
[all …]
Dlv_txt.h74 lv_coord_t line_space, lv_coord_t max_width, lv_txt_flag_t flag);
88 lv_txt_flag_t flag);
101 lv_txt_flag_t flag);
/lvgl-2.7.6/src/lv_draw/
Dlv_draw_label.c132 if((dsc->flag & LV_TXT_FLAG_EXPAND) == 0) { in lv_draw_label()
140 dsc->flag); in lv_draw_label()
177 …_end = line_start + _lv_txt_get_next_line(&txt[line_start], font, dsc->letter_space, w, dsc->flag); in lv_draw_label()
183 line_end += _lv_txt_get_next_line(&txt[line_start], font, dsc->letter_space, w, dsc->flag); in lv_draw_label()
197 if(dsc->flag & LV_TXT_FLAG_CENTER) { in lv_draw_label()
198 …h = _lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, dsc->flag); in lv_draw_label()
204 else if(dsc->flag & LV_TXT_FLAG_RIGHT) { in lv_draw_label()
205 …h = _lv_txt_get_width(&txt[line_start], line_end - line_start, font, dsc->letter_space, dsc->flag); in lv_draw_label()
270 if((dsc->flag & LV_TXT_FLAG_RECOLOR) != 0) { in lv_draw_label()
359 line_end += _lv_txt_get_next_line(&txt[line_start], font, dsc->letter_space, w, dsc->flag); in lv_draw_label()
[all …]
Dlv_draw_label.h41 lv_txt_flag_t flag; member
/lvgl-2.7.6/
DCHANGELOG.md136 - Add LV_BIG_ENDIAN_SYSTEM flag to lv_conf.h in order to fix displaying images on big endian system…
145 - Add LV_BIG_ENDIAN_SYSTEM flag to lv_conf.h in order to fix displaying images on big endian system…
/lvgl-2.7.6/scripts/
DDoxyfile172 # using the -I flag.
466 # This flag is only useful for Objective-C code. If set to YES, local methods,
474 # If this flag is set to YES, the members of anonymous namespaces will be
739 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
1305 # The GENERATE_CHI flag controls if a separate .chi index file is generated
1318 # The BINARY_TOC flag controls whether a binary table of contents is generated
1326 # The TOC_EXPAND flag can be set to YES to add extra items for group members to