23#ifndef LV_SPAN_SNIPPET_STACK_SIZE
24#define LV_SPAN_SNIPPET_STACK_SIZE 64
31 LV_SPAN_OVERFLOW_CLIP,
32 LV_SPAN_OVERFLOW_ELLIPSIS,
34typedef uint8_t lv_span_overflow_t;
41typedef uint8_t lv_span_mode_t;
47 uint8_t static_flag : 1;
81lv_span_t * lv_spangroup_new_span(
lv_obj_t * obj);
88void lv_spangroup_del_span(
lv_obj_t * obj, lv_span_t * span);
99void lv_span_set_text(lv_span_t * span,
const char * text);
107void lv_span_set_text_static(lv_span_t * span,
const char * text);
114void lv_spangroup_set_align(
lv_obj_t * obj, lv_text_align_t align);
121void lv_spangroup_set_overflow(
lv_obj_t * obj, lv_span_overflow_t overflow);
128void lv_spangroup_set_indent(
lv_obj_t * obj, lv_coord_t indent);
135void lv_spangroup_set_mode(
lv_obj_t * obj, lv_span_mode_t mode);
142void lv_spangroup_set_lines(
lv_obj_t * obj, int32_t lines);
160lv_span_t * lv_spangroup_get_child(
const lv_obj_t * obj, int32_t
id);
167uint32_t lv_spangroup_get_child_cnt(
const lv_obj_t * obj);
174lv_text_align_t lv_spangroup_get_align(
lv_obj_t * obj);
181lv_span_overflow_t lv_spangroup_get_overflow(
lv_obj_t * obj);
188lv_coord_t lv_spangroup_get_indent(
lv_obj_t * obj);
194lv_span_mode_t lv_spangroup_get_mode(
lv_obj_t * obj);
201int32_t lv_spangroup_get_lines(
lv_obj_t * obj);
207lv_coord_t lv_spangroup_get_max_line_h(
lv_obj_t * obj);
216uint32_t lv_spangroup_get_expand_width(
lv_obj_t * obj, uint32_t max_width);
222lv_coord_t lv_spangroup_get_expand_height(
lv_obj_t * obj, lv_coord_t width);
233void lv_spangroup_refr_mode(
lv_obj_t * obj);
Definition lv_obj_class.h:49
Definition lv_style.h:318