/lvgl-3.7.0/src/misc/ |
D | lv_async.c | 48 lv_async_info_t * info = lv_mem_alloc(sizeof(lv_async_info_t)); in lv_async_call() local 50 if(info == NULL) in lv_async_call() 54 lv_timer_t * timer = lv_timer_create(lv_async_timer_cb, 0, info); in lv_async_call() 57 lv_mem_free(info); in lv_async_call() 61 info->cb = async_xcb; in lv_async_call() 62 info->user_data = user_data; in lv_async_call() 79 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_call_cancel() local 82 if(info->cb == async_xcb && info->user_data == user_data) { in lv_async_call_cancel() 84 lv_mem_free(info); in lv_async_call_cancel() 101 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_timer_cb() local [all …]
|
/lvgl-3.7.0/examples/libs/freetype/ |
D | lv_example_freetype_1.c | 11 static lv_ft_info_t info; in lv_example_freetype_1() local 13 info.name = "./lvgl/examples/libs/freetype/Lato-Regular.ttf"; in lv_example_freetype_1() 14 info.weight = 24; in lv_example_freetype_1() 15 info.style = FT_FONT_STYLE_NORMAL; in lv_example_freetype_1() 16 info.mem = NULL; in lv_example_freetype_1() 17 if(!lv_ft_font_init(&info)) { in lv_example_freetype_1() 24 lv_style_set_text_font(&style, info.font); in lv_example_freetype_1()
|
D | lv_example_freetype_1.py | 6 info = lv.ft_info_t() variable 7 info.name ="./Lato-Regular.ttf" 8 info.weight = 24 9 info.style = lv.FT_FONT_STYLE.NORMAL 10 info.font_init() 15 style.set_text_font(info.font)
|
/lvgl-3.7.0/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 678 …BTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context * spc, const stbtt_fontinfo * info, 681 …DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context * spc, const stbtt_fontinfo * info, 760 STBTT_DEF int stbtt_InitFont(stbtt_fontinfo * info, STBTT_STREAM_TYPE data, int offset); 762 STBTT_DEF int stbtt_InitFont(stbtt_fontinfo * info, const unsigned char * data, int offset); 774 STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo * info, int unicode_codepoint); 786 STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo * info, float pixels); 794 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo * info, float pixels); 799 STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo * info, int * ascent, int * descent, int … 807 STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo * info, int * typoAscent, int * typoDe… 814 STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo * info, int * x0, int * y0, int * x1, … [all …]
|
D | lv_tiny_ttf.c | 73 stbtt_fontinfo info; member 101 int g1 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter); in ttf_get_glyph_dsc_cb() 108 stbtt_GetGlyphBitmapBox(&dsc->info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in ttf_get_glyph_dsc_cb() 111 g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); in ttf_get_glyph_dsc_cb() 114 stbtt_GetGlyphHMetrics(&dsc->info, g1, &advw, &lsb); in ttf_get_glyph_dsc_cb() 115 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb() 133 const stbtt_fontinfo * info = (const stbtt_fontinfo *)&dsc->info; in ttf_get_glyph_bitmap_cb() local 134 int g1 = stbtt_FindGlyphIndex(info, (int)unicode_letter); in ttf_get_glyph_bitmap_cb() 140 stbtt_GetGlyphBitmapBox(info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in ttf_get_glyph_bitmap_cb() 170 stbtt_MakeGlyphBitmap(info, buffer, w, h, stride, dsc->scale, dsc->scale, g1); in ttf_get_glyph_bitmap_cb() [all …]
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.c | 2670 void lodepng_color_mode_init(LodePNGColorMode* info) { in lodepng_color_mode_init() argument 2671 info->key_defined = 0; in lodepng_color_mode_init() 2672 info->key_r = info->key_g = info->key_b = 0; in lodepng_color_mode_init() 2673 info->colortype = LCT_RGBA; in lodepng_color_mode_init() 2674 info->bitdepth = 8; in lodepng_color_mode_init() 2675 info->palette = 0; in lodepng_color_mode_init() 2676 info->palettesize = 0; in lodepng_color_mode_init() 2680 static void lodepng_color_mode_alloc_palette(LodePNGColorMode* info) { in lodepng_color_mode_alloc_palette() argument 2684 if(!info->palette) info->palette = (unsigned char*)lodepng_malloc(1024); in lodepng_color_mode_alloc_palette() 2685 if(!info->palette) return; /*alloc fail*/ in lodepng_color_mode_alloc_palette() [all …]
|
D | lodepng.h | 381 void lodepng_color_mode_init(LodePNGColorMode* info); 382 void lodepng_color_mode_cleanup(LodePNGColorMode* info); 388 void lodepng_palette_clear(LodePNGColorMode* info); 390 unsigned lodepng_palette_add(LodePNGColorMode* info, 394 unsigned lodepng_get_bpp(const LodePNGColorMode* info); 397 unsigned lodepng_get_channels(const LodePNGColorMode* info); 399 unsigned lodepng_is_greyscale_type(const LodePNGColorMode* info); 401 unsigned lodepng_is_alpha_type(const LodePNGColorMode* info); 403 unsigned lodepng_is_palette_type(const LodePNGColorMode* info); 406 unsigned lodepng_has_palette_alpha(const LodePNGColorMode* info); [all …]
|
/lvgl-3.7.0/src/extra/libs/freetype/ |
D | lv_freetype.c | 54 static bool lv_ft_font_init_cache(lv_ft_info_t * info); 57 static FT_Face face_find_in_list(lv_ft_info_t * info); 61 static bool lv_ft_font_init_nocache(lv_ft_info_t * info); 161 bool lv_ft_font_init(lv_ft_info_t * info) in lv_ft_font_init() argument 164 return lv_ft_font_init_cache(info); in lv_ft_font_init() 166 return lv_ft_font_init_nocache(info); in lv_ft_font_init() 353 static bool lv_ft_font_init_cache(lv_ft_info_t * info) in lv_ft_font_init_cache() argument 361 dsc->mem = info->mem; in lv_ft_font_init_cache() 362 dsc->mem_size = info->mem_size; in lv_ft_font_init_cache() 363 dsc->name = name_refer_save(info->name); in lv_ft_font_init_cache() [all …]
|
D | lv_freetype.h | 65 bool lv_ft_font_init(lv_ft_info_t * info);
|
/lvgl-3.7.0/tests/src/test_cases/ |
D | test_slider.c | 184 lv_hit_test_info_t info = { in test_normal_mode_slider_hit_test() local 190 lv_event_send(sliderNormalMode, LV_EVENT_HIT_TEST, (void *) &info); in test_normal_mode_slider_hit_test() 193 TEST_ASSERT(info.res); in test_normal_mode_slider_hit_test() 204 lv_hit_test_info_t info = { in test_slider_range_event_hit_test() local 208 lv_event_send(sliderRangeMode, LV_EVENT_HIT_TEST, (void *) &info); in test_slider_range_event_hit_test() 211 TEST_ASSERT(info.res); in test_slider_range_event_hit_test()
|
/lvgl-3.7.0/src/extra/libs/fsdrv/ |
D | lv_fs_littlefs.c | 287 struct lfs_info info; in fs_dir_read() local 290 info.name[0] = '\0'; in fs_dir_read() 293 result = lfs_dir_read(lfs_p, rddir_p, &info); in fs_dir_read() 295 if(info.type == LFS_TYPE_DIR) { in fs_dir_read() 297 strcpy(&fn[1], info.name); in fs_dir_read() 299 else strcpy(fn, info.name); in fs_dir_read()
|
/lvgl-3.7.0/src/widgets/ |
D | lv_img.c | 479 lv_hit_test_info_t * info = lv_event_get_param(e); in lv_img_event() local 495 info->res = _lv_area_is_point_on(&coords, info->point, 0); in lv_img_event() 500 info->res = _lv_area_is_point_on(&a, info->point, 0); in lv_img_event() 524 lv_cover_check_info_t * info = lv_event_get_param(e); in draw_img() local 525 if(info->res == LV_COVER_RES_MASKED) return; in draw_img() 527 info->res = LV_COVER_RES_NOT_COVER; in draw_img() 533 info->res = LV_COVER_RES_NOT_COVER; in draw_img() 539 info->res = LV_COVER_RES_NOT_COVER; in draw_img() 544 info->res = LV_COVER_RES_NOT_COVER; in draw_img() 551 info->res = LV_COVER_RES_NOT_COVER; in draw_img() [all …]
|
D | lv_slider.c | 112 lv_hit_test_info_t * info = lv_event_get_param(e); in lv_slider_event() local 119 info->res = _lv_area_is_point_on(&a, info->point, 0); in lv_slider_event() 122 if((info->res == false) && (type == LV_SLIDER_MODE_RANGE)) { in lv_slider_event() 125 info->res = _lv_area_is_point_on(&a, info->point, 0); in lv_slider_event()
|
D | lv_arc.c | 596 lv_hit_test_info_t * info = lv_event_get_param(e); in lv_arc_event() local 611 if(_lv_area_is_point_on(&a, info->point, LV_RADIUS_CIRCLE)) { in lv_arc_event() 612 info->res = false; in lv_arc_event() 618 info->res = _lv_area_is_point_on(&a, info->point, LV_RADIUS_CIRCLE); in lv_arc_event()
|
/lvgl-3.7.0/src/core/ |
D | lv_refr.c | 814 lv_cover_check_info_t info; in lv_refr_get_top_obj() local 815 info.res = LV_COVER_RES_COVER; in lv_refr_get_top_obj() 816 info.area = area_p; in lv_refr_get_top_obj() 817 lv_event_send(obj, LV_EVENT_COVER_CHECK, &info); in lv_refr_get_top_obj() 818 if(info.res == LV_COVER_RES_MASKED) return NULL; in lv_refr_get_top_obj() 833 if(found_p == NULL && info.res == LV_COVER_RES_COVER) { in lv_refr_get_top_obj() 945 lv_cover_check_info_t info; in layer_alpha_test() local 946 info.res = LV_COVER_RES_COVER; in layer_alpha_test() 947 info.area = &layer_ctx->area_act; in layer_alpha_test() 948 lv_event_send(obj, LV_EVENT_COVER_CHECK, &info); in layer_alpha_test() [all …]
|
D | lv_obj.c | 488 lv_cover_check_info_t * info = lv_event_get_param(e); in lv_obj_draw() local 489 if(info->res == LV_COVER_RES_MASKED) return; in lv_obj_draw() 491 info->res = LV_COVER_RES_MASKED; in lv_obj_draw() 506 if(_lv_area_is_in(info->area, &coords, r) == false) { in lv_obj_draw() 507 info->res = LV_COVER_RES_NOT_COVER; in lv_obj_draw() 512 info->res = LV_COVER_RES_NOT_COVER; in lv_obj_draw() 517 info->res = LV_COVER_RES_NOT_COVER; in lv_obj_draw() 521 info->res = LV_COVER_RES_COVER; in lv_obj_draw()
|
/lvgl-3.7.0/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 523 lv_hit_test_info_t * info = lv_event_get_param(e);; in lv_colorwheel_event() local 526 info->res = _lv_area_is_point_on(&obj->coords, info->point, LV_RADIUS_CIRCLE); in lv_colorwheel_event() 533 lv_cover_check_info_t * info = lv_event_get_param(e); in lv_colorwheel_event() local 534 if(info->res != LV_COVER_RES_MASKED) info->res = LV_COVER_RES_NOT_COVER; in lv_colorwheel_event()
|
/lvgl-3.7.0/src/extra/widgets/meter/ |
D | lv_meter.c | 603 lv_img_header_t info; in draw_needles() local 604 lv_img_decoder_get_info(indic->type_data.needle_img.src, &info); in draw_needles() 608 a.x2 = a.x1 + info.w - 1; in draw_needles() 609 a.y2 = a.y1 + info.h - 1; in draw_needles() 682 lv_img_header_t info; in inv_line() local 683 lv_img_decoder_get_info(indic->type_data.needle_img.src, &info); in inv_line() 691 …_lv_img_buf_get_transformed_area(&a, info.w, info.h, angle, LV_IMG_ZOOM_NONE, &indic->type_data.ne… in inv_line()
|
/lvgl-3.7.0/src/extra/widgets/imgbtn/ |
D | lv_imgbtn.c | 190 lv_cover_check_info_t * info = lv_event_get_param(e); in lv_imgbtn_event() local 191 if(info->res != LV_COVER_RES_MASKED) info->res = LV_COVER_RES_NOT_COVER; in lv_imgbtn_event()
|
/lvgl-3.7.0/docs/overview/ |
D | image.md | 132 - **info** get some basic info about the image (width, height and color format). 171 * Get info about a PNG image 174 * @param header store the info here 175 * @return LV_RES_OK: no error; LV_RES_INV: can't get the info 194 * @return LV_RES_OK: no error; LV_RES_INV: can't get the info
|
D | font.md | 210 my_font.get_glyph_dsc = my_get_glyph_dsc_cb; /*Set a callback to get info about glyphs*/ 219 /* Get info about glyph of `unicode_letter` in `font` font.
|
/lvgl-3.7.0/docs/widgets/core/ |
D | textarea.md | 66 By default, if the `•` ([Bullet, U+2022](http://www.fileformat.info/info/unicode/char/2022/index.ht…
|
/lvgl-3.7.0/docs/libs/ |
D | fsdrv.md | 18 …to attach a `lfs_t` object's pointer to a registered driver-letter. See its comments for more info.
|
/lvgl-3.7.0/ |
D | Kconfig | 779 … bool "Store extra some info in labels (12 bytes) to speed up drawing of very long texts."
|
/lvgl-3.7.0/docs/_static/css/ |
D | fontawesome.min.css | 5 …e{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-cir…
|