Home
last modified time | relevance | path

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

12345

/lvgl-3.7.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.7.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.7.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 …]
/lvgl-3.7.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.7.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
/lvgl-3.7.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.7.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.7.0/docs/libs/
Dtiny_ttf.md5 Use https://github.com/nothings/stb to render TrueType fonts in LVGL.
7 When enabled in `lv_conf.h` with `LV_USE_TINY_TTF`
12 By default, the TTF or OTF file must be embedded as an array, either in
13 a header, or loaded into RAM in order to function.
21 After a font is created, you can change the font size in pixels by using
28 available). The cache size is indicated in bytes.
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.7.0/env_support/rt-thread/squareline/
DSConscript10 for file_dir in file_dirs:
11 if os.path.splitext(file_dir)[1] in ['.h', '.hpp']:
16 for root, dirs, files in os.walk(sls_src_cwd):
17 for dir in dirs:
/lvgl-3.7.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.7.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.7.0/src/extra/libs/rlottie/
Dlv_rlottie.c208 uint32_t in = src[x]; in convert_to_rgba5658() local
210 … uint16_t r = (uint16_t)(((in & 0xF80000) >> 8) | ((in & 0xFC00) >> 5) | ((in & 0xFF) >> 3)); in convert_to_rgba5658()
213 …uint16_t r = (uint16_t)(((in & 0xF80000) >> 16) | ((in & 0xFC00) >> 13) | ((in & 0x1C00) << 3) | (… in convert_to_rgba5658()
217 dest[sizeof(r)] = (uint8_t)(in >> 24); in convert_to_rgba5658()
/lvgl-3.7.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.7.0/docs/widgets/core/
Droller.md9 … will scroll to the nearest valid option automatically in `anim_time` milliseconds as specified in
10 …ted option in the middle. Besides the typical background properties it uses the text style propert…
21 … especially in infinite mode the rendered options of the display might look scrambled. In this cas…
/lvgl-3.7.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.7.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.7.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…

12345