/lvgl-3.6.0/src/extra/libs/png/ |
D | lodepng.h | 7 warranty. In no event will the authors be held liable for any damages 16 in a product, an acknowledgment in the product documentation would be 41 In addition to those below, you can also define LODEPNG_NO_COMPILE_CRC to 44 /*deflate & zlib. If disabled, you must specify alternative zlib functions in 65 /*the optional built in harddisk file loading and saving functions*/ 81 you can define the functions lodepng_free, lodepng_malloc and lodepng_realloc in your 108 byte value from 0 to 255 that could be present in an invalid PNG file header. Do 117 Converts PNG data in memory to raw pixel data. 125 in: Memory buffer with the PNG file. 126 insize: size of the in buffer. [all …]
|
D | lodepng.c | 7 warranty. In no event will the authors be held liable for any damages 16 in a product, an acknowledgment in the product documentation would be 27 The manual and changelog are in the header file "lodepng.h" 50 This source file is built up in the following large parts. The code sections 51 with the "LODEPNG_COMPILE_" #defines divide this up further in an intermixed way. 64 /*The malloc, realloc and free functions defined here with "lodepng_" in front 66 platform if needed. Everything else in the code calls these. Pass 68 #define LODEPNG_COMPILE_ALLOCATORS in the header, to disable the ones here and 69 define them in your own project's source files without needing to change 100 /* inline is not available in C90, but use it when supported by the compiler */ [all …]
|
/lvgl-3.6.0/scripts/ |
D | Doxyfile | 6 # All text after a double hash (##) is considered a comment and is placed in 20 # This tag specifies the encoding used for all characters in the config file 31 # project for which the documentation is generated. This name is used in the 32 # title of most generated pages and in a few other places. 50 # in the documentation. The maximum height of the logo should not exceed 55 64 # directories (in 2 levels) under the output directory of each output format and 67 # putting all generated files in the same directory would otherwise causes 74 # characters to appear in the names of generated files. If set to NO, non-ASCII 81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 83 # information to generate all constant output in the proper language. [all …]
|
D | style_api_gen.py | 55 …'dsc': "Move the object with this value in X direction. Applied after layouts, aligns and other po… 59 …'dsc': "Move the object with this value in Y direction. Applied after layouts, aligns and other po… 67 'dsc': "Rotate an objects. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg."}, 77 …s sides and the children and among the children. Very similar to the padding properties in HTML."}, 80 'dsc': "Sets the padding on the top. It makes the content area smaller in this direction."}, 84 'dsc': "Sets the padding on the bottom. It makes the content area smaller in this direction."}, 88 'dsc': "Sets the padding on the left. It makes the content area smaller in this direction."}, 92 'dsc': "Sets the padding on the right. It makes the content area smaller in this direction."}, 179 'dsc': "Set the width of the outline in pixels. "}, 196 'dsc': "Set the width of the shadow in pixels. The value should be >= 0."}, [all …]
|
/lvgl-3.6.0/docs/ |
D | CHANGELOG.md | 18 - fix(ime_pinyin): keep cursor in the textarea when a candidate is pressed [`4731`](https://github.… 22 - fix(draw): fix compiler error in lv_draw_sw_transform.c #2 [`4612`](https://github.com/lvgl/lvgl/… 23 - fix(dropdown): avoid partial match in lv_dropdown_get_option_index [`4598`](https://github.com/lv… 27 - fix: fix warning in lv_draw_sw_letter.c [`d22cda3`](https://github.com/lvgl/lvgl/commit/d22cda3cd… 59 - fix(docs): dropdown: fix function name in description of static options [`4535`](https://github.c… 61 - fix(sdl): add missing parameter in lv_draw_sdl_composite_texture_obtain [`4490`](https://github.c… 62 - fix(dropdown): position to the selected item in lv_dropdown_set_selected [`f174589`](https://gith… 63 - fix(vglite): be sure end_angle > start_angle in arc drawing [`01cd1fe`](https://github.com/lvgl/l… 64 - fix(btnmatrix): fix tapping just outside a button in a buttonmatrix [`8063fac`](https://github.co… 91 - fix(config): fix typo in LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR [`4403`](https://github.com/l… [all …]
|
D | CONTRIBUTING.md | 6 Join LVGL's community and leave your footprint in the library! 18 - Ask questions in the [Forum](https://forum.lvgl.io/) and use [GitHub](https://github.com/lvgl/) f… 19 - Always fill out the post or issue templates in the Forum or GitHub (or at least provide equivalen… 20 - If possible send an absolute minimal but buildable code example in order to reproduce the issue. … 21 …dam-p/markdown-here/wiki/Markdown-Cheatsheet) to format your posts. You can learn it in 10 minutes. 22 - Speak about one thing in one issue or topic. It makes your post easier to find later for someone … 35 …add the updates in your favorite editor/IDE and use git to publish the changes (recommended for mo… 39 2. Click the Edit button in the top right-hand corner. 47 1. Fork the [lvgl repository](https://github.com/lvgl/lvgl). To do this click the "Fork" button in … 53 7. Set the base branch. It means where you want to merge your update. In the `lvgl` repo both the f… [all …]
|
/lvgl-3.6.0/docs/overview/ |
D | image.md | 6 You can store images in two places 7 - as a variable in internal memory (RAM or ROM) 11 Images stored internally in a variable are composed mainly of an `lv_img_dsc_t` structure with the … 14 - *w* width in pixels (<= 2048) 15 - *h* height in pixels (<= 2048) 19 - **data_size** length of `data` in bytes 24 …d a storage *Drive* to LVGL. In short, a *Drive* is a collection of functions (*open*, *read*, *cl… 26 In every case, a *Drive* is just an abstraction to read and/or write data to memory. 32 Various built-in color formats are supported: 33 - **LV_IMG_CF_TRUE_COLOR** Simply stores the RGB colors (in whatever color depth LVGL is configured… [all …]
|
D | style.md | 3 … are used to set the appearance of objects. Styles in lvgl are heavily inspired by CSS. The concep… 4 …hich can hold properties like border width, text color and so on. It's similar to a `class` in CSS. 5 …hange their appearance. Upon assignment, the target part (*pseudo-element* in CSS) and target stat… 6 For example one can add `style_blue` to the knob of a slider when it's in pressed state. 9 Therefore, not all properties have to be specified in a style. LVGL will search for a property unti… 10 For example `style_btn` can result in a default gray button and `style_btn_red` can add only a `bac… 11 …as higher precedence. This means if a property is specified in two styles the newest style in the … 12 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in an o… 14 - Unlike CSS (where pseudo-classes describe different states, e.g. `:focus`), in LVGL a property is… 19 The objects can be in the combination of the following states: [all …]
|
D | font.md | 3 In LVGL fonts are collections of bitmaps and other information required to render images of individ… 4 A font is stored in a `lv_font_t` variable and can be set in a style's *text_font* field. For examp… 9 …per pixel)** property. It shows how many bits are used to describe a pixel in a font. The value st… 17 …is the default) and be sure that, `LV_TXT_ENC` is set to `LV_TXT_ENC_UTF8` in *lv_conf.h*. (This i… 27 ## Built-in fonts 29 There are several built-in fonts in different sizes, which can be enabled in `lv_conf.h` with *LV_F… 31 …cters, the degree symbol (U+00B0), the bullet symbol (U+2022) and the built-in symbols (see below). 61 The built-in fonts are **global variables** with names like `lv_font_montserrat_16` for a 16 px hei… 63 The built-in fonts with *bpp = 4* contain the ASCII characters and use the [Montserrat](https://fon… 65 In addition to the ASCII range, the following symbols are also added to the built-in fonts from the… [all …]
|
D | drawing.md | 5 However, it can be useful to have a basic understanding of how drawing happens in LVGL to add custo… 9 The draw buffer can be smaller than a display's size. LVGL will simply render in "tiles" that fit i… 13 2. It's faster to modify a buffer in internal RAM and finally write one pixel only once than readin… 25 LVGL refreshes the screen in the following steps: 26 1. Something happens in the UI which requires redrawing. For example, a button is pressed, a chart … 27 …new area into a buffer, called an *Invalid area buffer*. For optimization, in some cases, objects … 32 3. In every `LV_DISP_DEF_REFR_PERIOD` (set in `lv_conf.h`) the following happens: 45 …t to `flush_cb` because the flushing should be done by DMA (or similar hardware) in the background. 51 Knowing about masking comes in handy if you want to customize drawing. 58 … and doesn't require masks, go to #5. Otherwise, create the required masks in the draw function. (… [all …]
|
D | coords.md | 6 In short this means: 7 - Explicitly set coordinates are stored in styles (size, position, layouts, etc.) 15 - pixel: Simply a position in pixels. An integer always means pixels. E.g. `lv_obj_set_x(btn, 10)` 17 …th/height of an object to involve all the children. It's similar to `auto` in CSS. E.g. `lv_obj_se… 34 This section describes special cases in which LVGL's behavior might be unexpected. 40 In other words, if you need to get the coordinate of an object and the coordinates were just change… 46 As it's described in the [Using styles](#using-styles) section, coordinates can also be set via sty… 47 … as a style property. If you use `lv_obj_set_x(obj, 20)` LVGL saves `x=20` in the local style of t… 49 …hanism and doesn't matter much as you use LVGL. However, there is one case in which you need to be… 62 /*The size of obj1 will be set back to the default in the end*/ [all …]
|
/lvgl-3.6.0/src/draw/nxp/pxp/ |
D | lv_draw_pxp_blend.h | 13 * in the Software without restriction, including without limitation the rights to 19 * shall be included in all copies or substantial portions of the Software. 23 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 25 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 26 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 62 * @param[in/out] dest_buf Destination buffer 63 * @param[in] dest_area Area with relative coordinates of destination buffer 64 * @param[in] dest_stride Stride of destination buffer in pixels 65 * @param[in] color Color [all …]
|
D | lv_draw_pxp_blend.c | 13 * in the Software without restriction, including without limitation the rights to 19 * shall be included in all copies or substantial portions of the Software. 23 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 25 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 26 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 82 * @param[in/out] dest_buf Destination buffer 83 * @param[in] dest_area Area with relative coordinates of destination buffer 84 * @param[in] dest_stride Stride of destination buffer in pixels 85 * @param[in] src_buf Source buffer [all …]
|
/lvgl-3.6.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_blend.h | 13 * in the Software without restriction, including without limitation the rights to 19 * shall be included in all copies or substantial portions of the Software. 23 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 25 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 26 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 76 * @param[in] dest_area Area with relative coordinates of destination buffer 77 * @param[in] color Color 78 * @param[in] opa Opacity (255 = full, 128 = 50% background/50% color, 0 = no fill) 90 * @param[in/out] dest_buf Destination buffer [all …]
|
D | lv_draw_vglite_blend.c | 13 * in the Software without restriction, including without limitation the rights to 19 * shall be included in all copies or substantial portions of the Software. 23 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 25 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 26 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 44 /** Stride in px required by VG-Lite HW*/ 50 * in multiple steps. Value must be 16-aligned. Don't change. 66 * @param[in] src_area Source area with relative coordinates of source buffer 67 * @param[in] opa Opacity [all …]
|
/lvgl-3.6.0/docs/porting/ |
D | display.md | 10 …f the draw buffer is sent to the display using the `flush_cb` function set in the display driver (… 27 … above, the draw buffer may be smaller than the screen. In this case, larger areas are redrawn in … 30 A larger buffer results in better performance but above 1/10 screen sized buffer(s) there is no sig… 41 … to wait until the content of the buffer is sent to the display before drawing something new in it. 44 …raw into one buffer while the content of the other buffer is sent to the display in the background. 49 In the display driver (`lv_disp_drv_t`) enabling the `full_refresh` bit will force LVGL to always r… 55 If the `direct_mode` flag is enabled in the display driver LVGL will draw directly into a **screen … 59 Therefore the 2 buffers needs to synchronized in `flush_cb` like this: 67 `disp->inv_p` number of valid elements in `inv_areas` 74 3. it needs to be registered in LVGL with `lv_disp_drv_register(&disp_drv)` [all …]
|
/lvgl-3.6.0/src/extra/libs/qrcode/ |
D | qrcodegen.h | 8 * this software and associated documentation files (the "Software"), to deal in 13 * - The above copyright notice and this permission notice shall be included in 17 * fitness for a particular purpose and noninfringement. In no event shall the 19 * liability, whether in an action of contract, tort or otherwise, arising from, 20 * out of or in connection with the Software or the use or other dealings in the 38 * Invented by Denso Wave and described in the ISO/IEC 18004 standard. 55 * The error correction level in a QR Code symbol. 58 // Must be declared in ascending order of error protection 68 * The mask pattern used in a QR Code symbol. 99 * A segment of character/binary/control data in a QR Code symbol. [all …]
|
D | qrcodegen.c | 8 * this software and associated documentation files (the "Software"), to deal in 13 * - The above copyright notice and this permission notice shall be included in 17 * fitness for a particular purpose and noninfringement. In no event shall the 19 * liability, whether in an action of contract, tort or otherwise, arising from, 20 * out of or in connection with the Software or the use or other dealings in the 39 // Regarding all public and private functions defined in this source file: 49 // - They run in at most quadratic time with respect to input arguments. 50 // Most functions run in linear time, and some in constant time. 91 // The set of all legal characters in alphanumeric mode, where each character 92 // value maps to the index in the string. For checking text and encoding segments. [all …]
|
/lvgl-3.6.0/ |
D | Kconfig | 72 …bool "If true use custom malloc/free, otherwise use the built-in `lv_mem_alloc()` and `lv_mem_free… 75 int "Size of the memory used by `lv_mem_alloc` in kilobytes (>= 2kB)" 107 Can be changed in the display driver (`lv_disp_drv_t`). 122 int "Default Dots Per Inch (in px)." 171 … If only the built-in image formats are used there is no real advantage of caching. 190 LV_GRAD_CACHE_DEF_SIZE sets the size of this cache in bytes. 199 …The increase in memory consumption is (32 bits * object width) plus 24 bits * object width if usin… 206 The increase in memory consumption is (24 bits * object's width) 212 Only used if software rotation is enabled in the display driver. 261 Note that symbol SDK_OS_FREE_RTOS has to be defined in order [all …]
|
D | lv_conf_template.h | 48 /*1: use custom malloc/free, 0: use the built-in `lv_mem_alloc()` and `lv_mem_free()`*/ 51 /*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/ 54 …/*Set an address for the memory pool instead of allocating it as a normal array. Can be in externa… 83 /*Input device read period in milliseconds*/ 86 /*Use a custom tick source that tells the elapsed time in milliseconds. 91 …e LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/ 130 * The widget can be buffered in smaller chunks to avoid using large buffers. 135 * Both buffer sizes are in bytes. 137 * and can't be drawn in chunks. So these settings affects only widgets with opacity. 143 …*If only the built-in image formats are used there is no real advantage of caching. (I.e. if no ne… [all …]
|
/lvgl-3.6.0/src/misc/ |
D | lv_txt.c | 142 * If the word cannot fit in the max_width space, obey LV_TXT_LINE_BREAK_LONG_* rules. 159 * max_width is reached. In current usage, this has no impact. 166 * @param[out] word_w_ptr width (in pixels) of the parsed word. May be NULL. 168 * @param force Force return the fraction of the word that can fit in the provided space. 169 …* @return the index of the first char of the next word (in byte index not letter index. With UTF-8… 185 uint32_t word_len = 0; /*Number of characters in the transversed word*/ in lv_txt_get_next_word() 192 /*Obtain the full word, regardless if it fits or not in max_width*/ in lv_txt_get_next_word() 224 *Must do this here in case first letter is a break character.*/ in lv_txt_get_next_word() 238 /*Entire Word fits in the provided space*/ in lv_txt_get_next_word() 245 /*Word doesn't fit in provided space, but isn't "long"*/ in lv_txt_get_next_word() [all …]
|
/lvgl-3.6.0/env_support/cmsis-pack/ |
D | lv_conf_cmsis.h | 41 /*1: use custom malloc/free, 0: use the built-in `lv_mem_alloc()` and `lv_mem_free()`*/ 44 /*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/ 47 …/*Set an address for the memory pool instead of allocating it as a normal array. Can be in externa… 76 /*Input device read period in milliseconds*/ 80 /*Use a custom tick source that tells the elapsed time in milliseconds. 93 …e LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/ 134 * The widget can be buffered in smaller chunks to avoid using large buffers. 139 * Both buffer sizes are in bytes. 141 * and can't be drawn in chunks. So these settings affects only widgets with opacity. 147 …*If only the built-in image formats are used there is no real advantage of caching. (I.e. if no ne… [all …]
|
/lvgl-3.6.0/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 9 // This library does no range checking of the offsets found in the file, 74 // 1.14 (2017-01-16) num-fonts-in-TTC function 82 // variant PackFontRanges to pack and render in separate phases; 84 // fixed an assert() bug in the new rasterizer 85 // replace assert() with STBTT_assert() in new rasterizer 95 // Include this file in whatever places need to refer to it. In ONE C/C++ 134 // accurately measures pixel coverage for anti-aliasing, except in the case 135 // where multiple shapes overlap, in which case it overestimates the AA pixel 176 // Font Size in Pixels or Points 177 // The preferred interface for specifying font sizes in stb_truetype [all …]
|
/lvgl-3.6.0/docs/layouts/ |
D | flex.md | 12 Note that the flex layout feature of LVGL needs to be globally enabled with `LV_USE_FLEX` in `lv_co… 16 - main direction: row or column, the direction in which the items are placed 18 - wrap: if there is no more space in the track a new track is started 32 - `LV_FLEX_FLOW_ROW` Place the children in a row without wrapping 33 - `LV_FLEX_FLOW_COLUMN` Place the children in a column without wrapping 34 - `LV_FLEX_FLOW_ROW_WRAP` Place the children in a row with wrapping 35 - `LV_FLEX_FLOW_COLUMN_WRAP` Place the children in a column with wrapping 36 - `LV_FLEX_FLOW_ROW_REVERSE` Place the children in a row without wrapping but in reversed order 37 - `LV_FLEX_FLOW_COLUMN_REVERSE` Place the children in a column without wrapping but in reversed ord… 38 - `LV_FLEX_FLOW_ROW_WRAP_REVERSE` Place the children in a row with wrapping but in reversed order [all …]
|
/lvgl-3.6.0/src/core/ |
D | lv_obj_pos.h | 45 * @note The values can be set in pixel or in percentage of parent size with `lv_pct(v)` 56 * @note The values can be set in pixel or in percentage of parent size with `lv_pct(v)` 67 * @note The values can be set in pixel or in percentage of parent size with `lv_pct(v)` 78 * LV_SIZE_CONTENT set the size to involve all children in the given direction 79 …* LV_SIZE_PCT(x) to set size in percentage of the parent's content area size … 80 * x should be in [0..1000]% range 97 * LV_SIZE_CONTENT set the size to involve all children in the given direction 98 …* lv_pct(x) to set size in percentage of the parent's content area size… 99 * x should be in [0..1000]% range 109 * LV_SIZE_CONTENT set the size to involve all children in the given direction [all …]
|