Home
last modified time | relevance | path

Searched refs:base_dir (Results 1 – 13 of 13) sorted by relevance

/lvgl-3.5.0/src/misc/
Dlv_bidi.h56 void _lv_bidi_process(const char * str_in, char * str_out, lv_base_dir_t base_dir);
77 …v_bidi_get_logical_pos(const char * str_in, char ** bidi_txt, uint32_t len, lv_base_dir_t base_dir,
92 …lv_bidi_get_visual_pos(const char * str_in, char ** bidi_txt, uint16_t len, lv_base_dir_t base_dir,
105 …v_bidi_process_paragraph(const char * str_in, char * str_out, uint32_t len, lv_base_dir_t base_dir,
114 void lv_bidi_calculate_align(lv_text_align_t * align, lv_base_dir_t * base_dir, const char * txt);
129 static inline void lv_bidi_calculate_align(lv_text_align_t * align, lv_base_dir_t * base_dir, const… in lv_bidi_calculate_align() argument
132 LV_UNUSED(base_dir); in lv_bidi_calculate_align()
Dlv_bidi.c44 static lv_base_dir_t get_next_run(const char * txt, lv_base_dir_t base_dir, uint32_t max_len, uint3…
50 lv_base_dir_t base_dir);
77 void _lv_bidi_process(const char * str_in, char * str_out, lv_base_dir_t base_dir) in _lv_bidi_process() argument
79 if(base_dir == LV_BASE_DIR_AUTO) base_dir = _lv_bidi_detect_base_dir(str_in); in _lv_bidi_process()
91 … _lv_bidi_process_paragraph(&str_in[par_start], &str_out[par_start], par_len, base_dir, NULL, 0); in _lv_bidi_process()
137 …v_bidi_get_logical_pos(const char * str_in, char ** bidi_txt, uint32_t len, lv_base_dir_t base_dir, in _lv_bidi_get_logical_pos() argument
152 …_lv_bidi_process_paragraph(str_in, bidi_txt ? *bidi_txt : NULL, len, base_dir, pos_conv_buf, pos_c… in _lv_bidi_get_logical_pos()
174 …lv_bidi_get_visual_pos(const char * str_in, char ** bidi_txt, uint16_t len, lv_base_dir_t base_dir, in _lv_bidi_get_visual_pos() argument
189 …_lv_bidi_process_paragraph(str_in, bidi_txt ? *bidi_txt : NULL, len, base_dir, pos_conv_buf, pos_c… in _lv_bidi_get_visual_pos()
216 …v_bidi_process_paragraph(const char * str_in, char * str_out, uint32_t len, lv_base_dir_t base_dir, in _lv_bidi_process_paragraph() argument
[all …]
/lvgl-3.5.0/scripts/
Dstyle_api_gen.py478 base_dir = os.path.abspath(os.path.dirname(__file__)) variable
479 sys.stdout = open(base_dir + '/../src/core/lv_obj_style_gen.h', 'w')
487 sys.stdout = open(base_dir + '/../src/core/lv_obj_style_gen.c', 'w')
493 sys.stdout = open(base_dir + '/../src/misc/lv_style_gen.c', 'w')
499 sys.stdout = open(base_dir + '/../src/misc/lv_style_gen.h', 'w')
507 sys.stdout = open(base_dir + '/../docs/overview/style-props.md', 'w')
/lvgl-3.5.0/src/widgets/
Dlv_label.c351 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in lv_label_get_letter_pos() local
352 if(base_dir == LV_BASE_DIR_AUTO) base_dir = _lv_bidi_detect_base_dir(txt); in lv_label_get_letter_pos()
357 visual_byte_pos = base_dir == LV_BASE_DIR_RTL ? 0 : byte_id - line_start; in lv_label_get_letter_pos()
365 base_dir, line_char_id, &is_rtl); in lv_label_get_letter_pos()
936 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in lv_label_refr_text() local
938 if(base_dir == LV_BASE_DIR_AUTO) in lv_label_refr_text()
939 base_dir = _lv_bidi_detect_base_dir(label->text); in lv_label_refr_text()
941 if(base_dir == LV_BASE_DIR_RTL) { in lv_label_refr_text()
1036 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in lv_label_refr_text() local
1038 if(base_dir == LV_BASE_DIR_AUTO) in lv_label_refr_text()
[all …]
Dlv_slider.c139 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in lv_slider_event() local
143 …if((base_dir != LV_BASE_DIR_RTL && p.x > slider->right_knob_area.x2) || (base_dir == LV_BASE_DIR_R… in lv_slider_event()
147 …else if((base_dir != LV_BASE_DIR_RTL && p.x < slider->left_knob_area.x1) || (base_dir == LV_BASE_D… in lv_slider_event()
Dlv_bar.c339 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in draw_indic() local
340 if(hor && base_dir == LV_BASE_DIR_RTL) { in draw_indic()
Dlv_btnmatrix.c104 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, LV_PART_MAIN); in lv_btnmatrix_set_map() local
157 if(base_dir == LV_BASE_DIR_RTL) { in lv_btnmatrix_set_map()
/lvgl-3.5.0/src/draw/
Dlv_draw_label.c105 lv_base_dir_t base_dir = dsc->bidi_dir; in lv_draw_label() local
107 lv_bidi_calculate_align(&align, &base_dir, txt); in lv_draw_label()
223 … _lv_bidi_process_paragraph(txt + line_start, bidi_txt, line_end - line_start, base_dir, NULL, 0); in lv_draw_label()
234 …cal_char_pos += _lv_bidi_get_logical_pos(bidi_txt, NULL, line_end - line_start, base_dir, t, NULL); in lv_draw_label()
/lvgl-3.5.0/src/core/
Dlv_obj_style.c494 lv_base_dir_t base_dir = lv_obj_get_style_base_dir(obj, part); in lv_obj_calculate_style_text_align() local
495 lv_bidi_calculate_align(&align, &base_dir, txt); in lv_obj_calculate_style_text_align()
/lvgl-3.5.0/docs/overview/
Dscroll.md47 Note that, the `base_dir` style property is inherited. Therefore, it can be set directly on the `LV…
Dfont.md102 To set an object's base direction use `lv_obj_set_base_dir(obj, base_dir)`. The possible base dire…
Dstyle-props.md783 ### base_dir subsection
/lvgl-3.5.0/docs/
DCHANGELOG.md1532 - Decide text animation's direction based on base_dir (when using LV_USE_BIDI)