Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 55) sorted by relevance

123

/lvgl-3.7.0/src/misc/
Dlv_printf.c550 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 …]
Dlv_log.c66 …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()
Dlv_printf.h87 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(…
Dlv_types.h83 #define LV_FORMAT_ATTRIBUTE(fmtstr, vararg) __attribute__((format(gnu_printf, fmtstr, vararg)))
85 #define LV_FORMAT_ATTRIBUTE(fmtstr, vararg) __attribute__((format(printf, fmtstr, vararg)))
Dlv_log.h72 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/
DROADMAP.md10 - Reconsider color format management for run time color format setting, and custom color format usa…
14 - Consider direct binary font format support
DCODING_STYLE.md3 ## 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/
Dlv_example.py46 …ph_node = nodes.raw(text=f"<p>{self.human_language_name(language)} code &nbsp;</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/
Dlv_draw_sdl_texture_cache.c107 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/
Dlv_example_flex_1.py23 label.set_text("Item: {:d}".format(i))
31 label.set_text("Item: {:d}".format(i))
Dlv_example_flex_2.py20 label.set_text("{:d}".format(i))
/lvgl-3.7.0/docs/overview/
Dimage.md13 - *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/
Dlv_example_scroll_3.py13 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))
Dlv_example_scroll_2.py30 label.set_text("Panel {:d}\nno snap".format(i))
33 label.set_text("Panel {:d}".format(i))
/lvgl-3.7.0/docs/libs/
Dsjpg.md4 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
Dbmp.md16 …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…
Dgif.md11 …rter](https://lvgl.io/tools/imageconverter). Select "Raw" color format and "C array" Output format.
/lvgl-3.7.0/examples/widgets/menu/
Dlv_example_menu_4.py11 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/
Desp.cmake18 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/
Dime_pinyin.md54 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/
Dlv_example_slider_1.py7 slider_label.set_text("{:d}%".format(slider.get_value()))
/lvgl-3.7.0/examples/layouts/grid/
Dlv_example_grid_6.py25 label.set_text("{:d},{:d}".format(col, row))
Dlv_example_grid_4.py30 label.set_text("{:d}{:d}".format(col, row))
/lvgl-3.7.0/.github/
Dpull_request_template.md7 - [ ] Run `code-format.py` from the `scripts` folder. [astyle](http://astyle.sourceforge.net/instal…
/lvgl-3.7.0/examples/widgets/win/
Dlv_example_win_1.py5 print("Button {:d} clicked".format(obj.get_child_id()))

123