/lvgl-3.7.0/src/misc/ |
D | lv_printf.c | 550 static int _vsnprintf(out_fct_type out, char * buffer, const size_t maxlen, const char * format, va… in _vsnprintf() argument 560 while(*format) { in _vsnprintf() 562 if(*format != '%') { in _vsnprintf() 564 out(*format, buffer, idx++, maxlen); in _vsnprintf() 565 format++; in _vsnprintf() 570 format++; in _vsnprintf() 576 switch(*format) { in _vsnprintf() 579 format++; in _vsnprintf() 584 format++; in _vsnprintf() 589 format++; in _vsnprintf() [all …]
|
D | lv_log.c | 66 …add(lv_log_level_t level, const char * file, int line, const char * func, const char * format, ...) in _lv_log_add() argument 74 va_start(args, format); in _lv_log_add() 91 vprintf(format, args); in _lv_log_add() 98 lv_vsnprintf(msg, sizeof(msg), format, args); in _lv_log_add() 102 lv_vaformat_t vaf = {format, &args}; in _lv_log_add() 115 void lv_log(const char * format, ...) in lv_log() argument 120 va_start(args, format); in lv_log() 123 vprintf(format, args); in lv_log() 128 lv_vsnprintf(buf, sizeof(buf), format, args); in lv_log() 130 lv_vaformat_t vaf = {format, &args}; in lv_log()
|
D | lv_printf.h | 87 int lv_snprintf(char * buffer, size_t count, const char * format, ...) LV_FORMAT_ATTRIBUTE(3, 4); 88 int lv_vsnprintf(char * buffer, size_t count, const char * format, va_list va) LV_FORMAT_ATTRIBUTE(…
|
D | lv_types.h | 83 #define LV_FORMAT_ATTRIBUTE(fmtstr, vararg) __attribute__((format(gnu_printf, fmtstr, vararg))) 85 #define LV_FORMAT_ATTRIBUTE(fmtstr, vararg) __attribute__((format(printf, fmtstr, vararg)))
|
D | lv_log.h | 72 void lv_log(const char * format, ...) LV_FORMAT_ATTRIBUTE(1, 2); 84 const char * func, const char * format, ...) LV_FORMAT_ATTRIBUTE(5, 6);
|
/lvgl-3.7.0/docs/ |
D | ROADMAP.md | 10 - Reconsider color format management for run time color format setting, and custom color format usa… 14 - Consider direct binary font format support
|
D | CODING_STYLE.md | 3 ## File format 47 Always use `/*Something*/` format and NOT `//Something` 89 You can use **astyle** to format the code. Run `code-formatter.sh` from the `scrips` folder. 106 The `format-source` local hook (see `.pre-commit-config.yaml`) runs **astyle** on all the staged so…
|
/lvgl-3.7.0/docs/_ext/ |
D | lv_example.py | 46 …ph_node = nodes.raw(text=f"<p>{self.human_language_name(language)} code </p>", format='html') 48 …example-link-button' onclick=\"event.stopPropagation();\" href='{url}'>{text}</a>", format='html')) 77 …raw(text=f"<div class='lv-example-container'>{iframe_html}{description_html}</div>", format='html') 85 trailing_node = nodes.raw(text=f"<hr/>", format='html')
|
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_texture_cache.c | 107 Uint32 format; in lv_draw_sdl_texture_cache_put_advanced() local 109 if(SDL_QueryTexture(texture, &format, &access, &width, &height) != 0) { in lv_draw_sdl_texture_cache_put_advanced() 112 LV_LOG_INFO("cache texture %p, %d*%d@%dbpp", texture, width, height, SDL_BITSPERPIXEL(format)); in lv_draw_sdl_texture_cache_put_advanced() 113 …return lv_lru_set(lru, key, key_length, value, width * height * SDL_BITSPERPIXEL(format) / 8) == L… in lv_draw_sdl_texture_cache_put_advanced()
|
/lvgl-3.7.0/examples/layouts/flex/ |
D | lv_example_flex_1.py | 23 label.set_text("Item: {:d}".format(i)) 31 label.set_text("Item: {:d}".format(i))
|
D | lv_example_flex_2.py | 20 label.set_text("{:d}".format(i))
|
/lvgl-3.7.0/docs/overview/ |
D | image.md | 13 - *cf* Color format. See [below](#color-format) 57 You can store images in a *Raw* format to indicate that it's not encoded with one of the built-in c… 76 3. Select the [Color format](#color-formats). 82 In the case of binary files, you need to specify the color format you want: 99 .header.cf = LV_IMG_CF_TRUE_COLOR, /*Set the color format*/ 105 If the color format is `LV_IMG_CF_TRUE_COLOR_ALPHA` you can set `data_size` like `80 * 60 * LV_IMG_… 132 - **info** get some basic info about the image (width, height and color format). 137 …tered image decoders until it finds one which can open the image, i.e. one which knows that format. 143 … converter and select `Raw`, `Raw with alpha` or `Raw with chroma-keyed` format. It will just take… 145 … `LV_IMG_CF_RAW_CHROMA_KEYED` accordingly. You should choose the correct format according to your … [all …]
|
/lvgl-3.7.0/examples/scroll/ |
D | lv_example_scroll_3.py | 13 list.add_btn(lv.SYMBOL.AUDIO,"Track {:d}".format(btn_cnt)) 29 list_btn = list.add_btn(lv.SYMBOL.AUDIO, "Track {:d}".format(self.btn_cnt))
|
D | lv_example_scroll_2.py | 30 label.set_text("Panel {:d}\nno snap".format(i)) 33 label.set_text("Panel {:d}".format(i))
|
/lvgl-3.7.0/docs/libs/ |
D | sjpg.md | 4 Allow the use of JPG images in LVGL. Besides that it also allows the use of a custom format, called… 9 - SJPG is a custom format based on "normal" JPG and specially made for LVGL. 32 - Color format = RAW, output format = C Array
|
D | bmp.md | 16 …e is no practical differences between how the BMP files and LVGL's image format stores the image d… 18 - The BMP files color format needs to match with `LV_COLOR_DEPTH`. Use GIMP to save the image in th…
|
D | gif.md | 11 …rter](https://lvgl.io/tools/imageconverter). Select "Raw" color format and "C array" Output format.
|
/lvgl-3.7.0/examples/widgets/menu/ |
D | lv_example_menu_4.py | 11 label.set_text("Hello, I am hiding inside {:d}".format(btn_cnt)) 15 label.set_text("Item {:d}".format(btn_cnt))
|
/lvgl-3.7.0/env_support/cmake/ |
D | esp.cmake | 18 set_source_files_properties(${EXAMPLE_SOURCES} COMPILE_FLAGS "-Wno-unused-variable -Wno-format") 40 set_source_files_properties(${DEMO_MUSIC_SOURCES} COMPILE_FLAGS "-Wno-format")
|
/lvgl-3.7.0/docs/others/ |
D | ime_pinyin.md | 54 Then, write a dictionary in the following format. 69 ### Dictionary format 73 Then, write your own dictionary according to the following format: 105 After writing a dictionary according to the above dictionary format, you only need to call this fun…
|
/lvgl-3.7.0/examples/widgets/slider/ |
D | lv_example_slider_1.py | 7 slider_label.set_text("{:d}%".format(slider.get_value()))
|
/lvgl-3.7.0/examples/layouts/grid/ |
D | lv_example_grid_6.py | 25 label.set_text("{:d},{:d}".format(col, row))
|
D | lv_example_grid_4.py | 30 label.set_text("{:d}{:d}".format(col, row))
|
/lvgl-3.7.0/.github/ |
D | pull_request_template.md | 7 - [ ] Run `code-format.py` from the `scripts` folder. [astyle](http://astyle.sourceforge.net/instal…
|
/lvgl-3.7.0/examples/widgets/win/ |
D | lv_example_win_1.py | 5 print("Button {:d} clicked".format(obj.get_child_id()))
|