Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 118) sorted by relevance

12345

/lvgl-3.5.0/src/draw/sdl/
Dlv_draw_sdl_utils.c70 void lv_area_to_sdl_rect(const lv_area_t * in, SDL_Rect * out) in lv_area_to_sdl_rect() argument
72 out->x = in->x1; in lv_area_to_sdl_rect()
73 out->y = in->y1; in lv_area_to_sdl_rect()
74 out->w = in->x2 - in->x1 + 1; in lv_area_to_sdl_rect()
75 out->h = in->y2 - in->y1 + 1; in lv_area_to_sdl_rect()
78 void lv_color_to_sdl_color(const lv_color_t * in, SDL_Color * out) in lv_color_to_sdl_color() argument
81 out->a = in->ch.alpha; in lv_color_to_sdl_color()
82 out->r = in->ch.red; in lv_color_to_sdl_color()
83 out->g = in->ch.green; in lv_color_to_sdl_color()
84 out->b = in->ch.blue; in lv_color_to_sdl_color()
[all …]
Dlv_draw_sdl_utils.h41 void lv_area_to_sdl_rect(const lv_area_t * in, SDL_Rect * out);
43 void lv_color_to_sdl_color(const lv_color_t * in, SDL_Color * out);
45 void lv_area_zoom_to_sdl_rect(const lv_area_t * in, SDL_Rect * out, uint16_t zoom, const lv_point_t…
/lvgl-3.5.0/src/extra/libs/png/
Dlodepng.h132 const unsigned char* in, size_t insize,
137 const unsigned char* in, size_t insize);
141 const unsigned char* in, size_t insize);
219 const unsigned char* in, size_t insize,
222 const std::vector<unsigned char>& in,
239 const unsigned char* in, unsigned w, unsigned h,
242 const std::vector<unsigned char>& in, unsigned w, unsigned h,
251 const unsigned char* in, unsigned w, unsigned h,
254 const std::vector<unsigned char>& in, unsigned w, unsigned h,
634 unsigned lodepng_convert(unsigned char* out, const unsigned char* in,
[all …]
Dlodepng.c301 static char* alloc_string_sized(const char* in, size_t insize) { in alloc_string_sized() argument
304 lodepng_memcpy(out, in, insize); in alloc_string_sized()
311 static char* alloc_string(const char* in) { in alloc_string() argument
312 return alloc_string_sized(in, lodepng_strlen(in)); in alloc_string()
1388 const unsigned char* in, size_t insize, in lodepng_inflatev() argument
1392 unsigned error = LodePNGBitReader_init(&reader, in, insize); in lodepng_inflatev()
1413 const unsigned char* in, size_t insize, in lodepng_inflate() argument
1416 unsigned error = lodepng_inflatev(&v, in, insize, settings); in lodepng_inflate()
1422 static unsigned inflatev(ucvector* out, const unsigned char* in, size_t insize, in inflatev() argument
1425 unsigned error = settings->custom_inflate(&out->data, &out->size, in, insize, settings); in inflatev()
[all …]
/lvgl-3.5.0/env_support/rt-thread/
DSConscript18 for file_dir in file_dirs:
19 if os.path.splitext(file_dir)[1] in ['.h', '.hpp']:
27 for root, dirs, files in os.walk(lvgl_src_cwd):
28 for dir in dirs:
38 for root, dirs, files in os.walk(lvgl_src_cwd):
39 for dir in dirs:
48 for root, dirs, files in os.walk(lvgl_src_cwd):
49 for dir in dirs:
64 for d in list:
/lvgl-3.5.0/docs/layouts/
Dflex.md12 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 …]
Dgrid.md9 The track's size can be set in pixel, to the largest item (`LV_GRID_CONTENT`) or in "Free unit" (FR…
13 Note that the grid layout feature of LVGL needs to be globally enabled with `LV_USE_GRID` in `lv_co…
17 - free unit (FR): if set on track's size is set in `FR` it will grow to fill the remaining space on…
26 …rows and columns. It can be done by declaring 2 arrays and the track sizes in them. The last eleme…
36 Besides simple settings the size in pixel you can use two special values:
45 `column_align` and `row_align` determine how to align the children in its cell. The possible values…
61 - `LV_GRID_ALIGN_SPACE_AROUND` items are evenly distributed in the track with equal space around th…
64 - `LV_GRID_ALIGN_SPACE_BETWEEN` items are evenly distributed in the track: first item is on the sta…
/lvgl-3.5.0/docs/get-started/platforms/
Dtasmota-berry.md11 …the code is written in ANSI C99. Berry offers a syntax very similar to Python, and is inspired fro…
17 - Lightweight: A well-optimized interpreter with very little resources. Ideal for use in microproce…
20 - Flexible: Berry is a dynamic type script, and it's intended for embedding in applications. It can…
22 - RAM saving: With compile-time object construction, most of the constant objects are stored in rea…
24 All features are detailed in the [Berry Reference Manual](https://github.com/berry-lang/berry/wiki/…
30 …y scripting language, a small-footprint language similar to Python and fully integrated in Tasmota.
32in Berry language is now available, similar to the mapping of Micropython. It allows to use +98% o…
40 - Modelling the GUI in a more abstract way by defining reusable composite objects, taking advantage…
61 label = lv.label(btn) # create a label in the button
67 You can start in less than 10 minutes on a M5Stack or equivalent device in less than 10 minutes in
Dnxp.md14 simultaneously (in LVGL multithreading mode).
17 Several drawing features in LVGL can be offloaded to the PXP engine. The CPU is available for other…
21 Supported draw callbacks are available in "src/draw/nxp/pxp/lv_draw_pxp.c":
29 All operations can be used in conjunction with optional transparency.
42 That is achieved by PXP in two steps:
54 - Select NXP PXP engine in lv_conf.h: Set `LV_USE_GPU_NXP_PXP` to 1
61 …SE_GPU_NXP_PXP_AUTO_INIT` is enabled, no user code is required; PXP is initialized automatically in
93 provided in lv_gpu_nxp_pxp_osa.c
100 PXP. The threshold is defined as a macro in lv_draw_pxp.c
104 Extra drawing features in LVGL can be handled by the VGLite engine. The CPU is available for other …
[all …]
/lvgl-3.5.0/docs/overview/
Dfont.md4 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…
67 ![](/misc/symbols.png "Built-in Symbols in LVGL")
[all …]
Dimage.md6 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 …e* is a collection of functions (*open*, *read*, *close*, etc.) registered in LVGL to make file op…
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…
35 …`LV_IMG_CF_TRUE_COLOR` but if a pixel has the `LV_COLOR_TRANSP` color (set in *lv_conf.h*) it will…
[all …]
Dstyle.md3 … 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 …]
/lvgl-3.5.0/docs/porting/
Dtick.md5 …v_tick_inc(tick_period)` function periodically and provide the call period in milliseconds. For ex…
7 `lv_tick_inc` should be called in a higher priority routine than `lv_task_handler()` (e.g. in an in…
9 With FreeRTOS `lv_tick_inc` can be called in `vApplicationTickHook`.
11 On Linux based operating systems (e.g. on Raspberry Pi) `lv_tick_inc` can be called in a thread lik…
Dos.md5 However, in the following conditions it's valid to call LVGL related functions:
6 - In *events*. Learn more in [Events](/overview/event).
7 - In *lv_timer*. Learn more in [Timers](/overview/timer).
12 Also, you have to use the same mutex in other tasks and threads around every LVGL (`lv_...`) relate…
13 This way you can use LVGL in a real multitasking environment. Just make use of a mutex to avoid the…
50 …a better approach to simply set a flag or some value in the interrupt, and periodically check it i…
Ddisplay.md10 …f the draw buffer is sent to the display using the `flush_cb` function set in the display driver (…
27 …fer may be smaller than the screen. In this case, larger areas are redrawn in smaller segments tha…
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 …refresh` bit will force LVGL to always redraw the whole screen. This works in both *one buffer* an…
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.5.0/docs/others/
Dime_pinyin.md3 …nput modes. You can think of `lv_ime_pinyin` as a Pinyin input method plug-in for keyboard objects.
20 Enable `LV_USE_IME_PINYIN` in `lv_conf.h`.
22 … method plug-in, then use `lv_ime_pinyin_set_keyboard(pinyin_ime, kb)` to add the `keyboard` you c…
23 …ry (if you don't want to use the built-in dictionary at first, you can disable `LV_IME_PINYIN_USE_…
25 The built-in thesaurus is customized based on the **LV_FONT_SIMSUN_16_CJK** font library, which cur…
27 In the process of using the Pinyin input method plug-in, you can change the keyboard and dictionary…
47 If you don't want to use the built-in Pinyin dictionary, you can use the custom dictionary.
48 Or if you think that the built-in phonetic dictionary consumes a lot of memory, you can also use a …
52 First, set `LV_IME_PINYIN_USE_DEFAULT_DICT` to `0` in `lv_conf.h`
54 Then, write a dictionary in the following format.
Dimgfont.md2 Draw image in label or span obj with imgfont.
3 This is often used to display Unicode emoji icons in text.
7 Enable `LV_USE_IMGFONT` in `lv_conf.h`.
/lvgl-3.5.0/docs/libs/
Dbmp.md4 This extension allows the use of BMP images in LVGL.
8 If enabled in `lv_conf.h` by `LV_USE_BMP` LVGL will register a new image decoder automatically so B…
13 …(https://docs.lvgl.io/master/overview/file-system.html) or just enable one in `lv_conf.h` with `LV…
17 - BMP files can be loaded only from file. If you want to store them in flash it's better to convert…
18 - The BMP files color format needs to match with `LV_COLOR_DEPTH`. Use GIMP to save the image in th…
21 - Because not the whole image is read in can not be zoomed or rotated.
/lvgl-3.5.0/docs/widgets/extra/
Dimgbtn.md5 …utton' object. The only difference is that it displays user-defined images in each state instead o…
17 To set the image in a state, use the `lv_imgbtn_set_src(imgbtn, LV_IMGBTN_STATE_..., src_left, src_…
19 The image sources work the same as described in the [Image object](/widgets/core/img) except that "…
30 If you set sources only in `LV_IMGBTN_STATE_RELEASED`, these sources will be used in other states t…
31 If you set e.g. `LV_IMGBTN_STATE_PRESSED` they will be used in pressed state instead of the release…
/lvgl-3.5.0/src/extra/libs/rlottie/
Dlv_rlottie.c209 uint32_t in = src[x]; in convert_to_rgba5658() local
211 … uint16_t r = (uint16_t)(((in & 0xF80000) >> 8) | ((in & 0xFC00) >> 5) | ((in & 0xFF) >> 3)); in convert_to_rgba5658()
214 …uint16_t r = (uint16_t)(((in & 0xF80000) >> 16) | ((in & 0xFC00) >> 13) | ((in & 0x1C00) << 3) | (… in convert_to_rgba5658()
218 dest[sizeof(r)] = (uint8_t)(in >> 24); in convert_to_rgba5658()
/lvgl-3.5.0/demos/
DREADME.md4 1. demos can be found in the 'demos' folder once you clone the lvgl.
42 4. Include "***demos/lv_demos.h***" in your application source file, for example:
56 Shows how the widgets look like out of the box using the built-in material theme.
58 See in [widgets](https://github.com/lvgl/lvgl/tree/master/demos/widgets) folder.
73 See in [music](https://github.com/lvgl/lvgl/tree/master/demos/music) folder.
81 See in [keypad_encoder](https://github.com/lvgl/lvgl/tree/master/demos/keypad_encoder) folder.
83 …r/screenshot1.png?raw=true" width=600px alt="Keypad and encoder navigation in LVGL embedded GUI li…
87 See in [benchmark](https://github.com/lvgl/lvgl/tree/master/demos/benchmark) folder.
92 See in [stress](https://github.com/lvgl/lvgl/tree/master/demos/stress) folder.
96 For contribution and coding style guidelines, please refer to the file docs/CONTRIBUTING.md in the …
/lvgl-3.5.0/docs/
DCONTRIBUTING.md6 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
54 8. Describe what is in the update. An example code is welcome if applicable.
[all …]
/lvgl-3.5.0/docs/intro/
Dindex.md18 - Written in C for maximal compatibility (C++ compatible)
36     Set by <em>LV_MEM_SIZE</em> in <em>lv_conf.h</em>. </li>
38 <li> One frame buffer in the MCU or in an external display controller</li>
45 <a href="https://www.geeksforgeeks.org/callbacks-in-c/">callbacks</a>.</li>
51 This means you can use it even in commercial projects.
53 It's not mandatory, but we highly appreciate it if you write a few words about your project in the …
55 … behind it. It's created by a group of volunteers who made it available for you in their free time.
95 The changes are recorded in [CHANGELOG.md](/CHANGELOG).
114 You can ask questions in the forum: [https://forum.lvgl.io/](https://forum.lvgl.io/).
149 - Enable asserts in `lv_conf.h` (`LV_USE_ASSERT_...`)
[all …]
/lvgl-3.5.0/demos/benchmark/
DREADME.md5 The benchmark demo tests the performance in various cases.
17 …`LV_LOG_LEVEL` to `LV_LOG_LEVEL_USER` or higher, benchmark results are printed out in `csv` format.
25 - in the display driver's `monitor_cb` accumulate the time-to-render and the number of cycles
29 Note that it can result in very high FPS results for simple cases.
30 E.g. if some simple rectangles are drawn in 5 ms, the benchmark will tell it's 200 FPS.
34in 1 ms the benchmark will show 1000 FPS. To measure the performance with full screen refresh unco…
113 3. Alternatively, you can use trace output to get the benchmark results in csv format by:
131 Below this in the "All cases section" all the results are shown. The < 10 FPS results are shown wit…
/lvgl-3.5.0/scripts/
DDoxyfile6 # 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 …]

12345