/lvgl-3.7.0/examples/widgets/span/ |
D | lv_example_span_1.c | 26 lv_span_t * span = lv_spangroup_new_span(spans); in lv_example_span_1() local 27 lv_span_set_text(span, "China is a beautiful country."); in lv_example_span_1() 28 lv_style_set_text_color(&span->style, lv_palette_main(LV_PALETTE_RED)); in lv_example_span_1() 29 lv_style_set_text_decor(&span->style, LV_TEXT_DECOR_UNDERLINE); in lv_example_span_1() 30 lv_style_set_text_opa(&span->style, LV_OPA_50); in lv_example_span_1() 32 span = lv_spangroup_new_span(spans); in lv_example_span_1() 33 lv_span_set_text_static(span, "good good study, day day up."); in lv_example_span_1() 35 lv_style_set_text_font(&span->style, &lv_font_montserrat_24); in lv_example_span_1() 37 lv_style_set_text_color(&span->style, lv_palette_main(LV_PALETTE_GREEN)); in lv_example_span_1() 39 span = lv_spangroup_new_span(spans); in lv_example_span_1() [all …]
|
D | lv_example_span_1.py | 21 span = spans.new_span() variable 22 span.set_text("china is a beautiful country.") 23 span.style.set_text_color(lv.palette_main(lv.PALETTE.RED)) 24 span.style.set_text_decor(lv.TEXT_DECOR.STRIKETHROUGH | lv.TEXT_DECOR.UNDERLINE) 25 span.style.set_text_opa(lv.OPA._30) 27 span = spans.new_span() variable 28 span.set_text_static("good good study, day day up.") 32 span.style.set_text_color(lv.palette_main(lv.PALETTE.GREEN)) 34 span = spans.new_span() variable 35 span.set_text_static("LVGL is an open-source graphics library.") [all …]
|
D | index.rst | 5 .. lv_example:: widgets/span/lv_example_span_1
|
/lvgl-3.7.0/src/extra/widgets/span/ |
D | lv_span.c | 24 lv_span_t * span; member 47 static const lv_font_t * lv_span_get_style_text_font(lv_obj_t * par, lv_span_t * span); 48 static lv_coord_t lv_span_get_style_text_letter_space(lv_obj_t * par, lv_span_t * span); 49 static lv_color_t lv_span_get_style_text_color(lv_obj_t * par, lv_span_t * span); 50 static lv_opa_t lv_span_get_style_text_opa(lv_obj_t * par, lv_span_t * span); 51 static lv_opa_t lv_span_get_style_text_blend_mode(lv_obj_t * par, lv_span_t * span); 52 static int32_t lv_span_get_style_text_decor(lv_obj_t * par, lv_span_t * span); 104 lv_span_t * span = _lv_ll_ins_tail(&spans->child_ll); in lv_spangroup_new_span() local 105 LV_ASSERT_MALLOC(span); in lv_spangroup_new_span() 107 lv_style_init(&span->style); in lv_spangroup_new_span() [all …]
|
D | lv_span.h | 88 void lv_spangroup_del_span(lv_obj_t * obj, lv_span_t * span); 99 void lv_span_set_text(lv_span_t * span, const char * text); 107 void lv_span_set_text_static(lv_span_t * span, const char * text);
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | span.md | 14 …span to describe text and text style. so, first we need to create `span` descriptor using `lv_span… 16 …spangroup_refr_mode()` after you have modified `span` style(eg:set text, changed the font size, de… 18 ### Retrieving a span child 21 `lv_spangroup_get_child(spangroup, id)` will return a pointer to the child span at index `id`. In a… 23 e.g. `lv_span_t* span = lv_spangroup_get_child(spangroup, 0)` will return the first child of the sp… 74 .. include:: ../../../examples/widgets/span/index.rst
|
D | index.md | 19 span
|
/lvgl-3.7.0/examples/layouts/grid/ |
D | index.rst | 7 Demonstrate cell placement and span
|
/lvgl-3.7.0/docs/_static/css/ |
D | custom.css | 9 span.pre 14 span.pre:first-child
|
/lvgl-3.7.0/docs/others/ |
D | imgfont.md | 2 Draw image in label or span obj with imgfont.
|
/lvgl-3.7.0/src/extra/libs/sjpg/ |
D | tjpgd.c | 240 unsigned int span, td, ti; in create_huffman_tbl() local 260 for (span = 1 << (HUFF_BIT - 1 - b); span; span--, tbl_ac[ti++] = (uint16_t)td) ; in create_huffman_tbl() 263 for (span = 1 << (HUFF_BIT - 1 - b); span; span--, tbl_dc[ti++] = (uint8_t)td) ; in create_huffman_tbl()
|
/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_arc.c | 387 static void get_subarc_control_points(vg_arc * arc, int32_t span) in get_subarc_control_points() argument 402 uint16_t t2 = TperDegree[arc->angle + span]; in get_subarc_control_points()
|
/lvgl-3.7.0/docs/layouts/ |
D | grid.md | 8 It can arrange items into a 2D "table" that has rows or columns (tracks). The item can span through…
|
/lvgl-3.7.0/docs/ |
D | CONTRIBUTING.md | 108 feat: add span widget 110 The span widget allows mixing different font sizes, colors and styles. 111 It's similar to HTML <span>
|
D | CHANGELOG.md | 393 - feat(span): add an interface for setting the number of lines [`3200`](https://github.com/lvgl/lvg… 395 - feat(font): add imgfont - can be used to add emojis to label/span [`3160`](https://github.com/lv… 499 - fix(span): align the baselines [`3164`](https://github.com/lvgl/lvgl/pull/3164) 587 - example(span): avoid ambiguous meaing [`7bb09e3`](https://github.com/lvgl/lvgl/commit/7bb09e35802… 657 - :warning: feat(span): lv_spangroup_get_expand_width() adds a parameter [`2968`](https://github.co… 757 - fix(span): fix align and break word [`2861`](https://github.com/littlevgl/lvgl/pull/2861) 798 - fix(span): explicitly set span->txt to the return value of lv_mem_realloc(#3005) [`a9a6cb8`](h… 935 - feat(span) indent supports percent for fix and break mode [`2693`](https://github.com/lvgl/lvgl/p… 958 - feat(span) Add missing spangroup functions [`2379`](https://github.com/lvgl/lvgl/pull/2379) 1048 - fix(span) eliminate warning in lv_get_snippet_cnt() [`2659`](https://github.com/lvgl/lvgl/pull/26… [all …]
|
/lvgl-3.7.0/ |
D | Kconfig | 859 bool "span" 862 int "Maximum number of span descriptor" 1051 bool "draw img in label or span obj"
|