Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 82) sorted by relevance

1234

/lvgl-3.5.0/src/font/
Dlv_font_loader.c70 static int read_bits_signed(bit_iterator_t * it, int n_bits, lv_fs_res_t * res);
71 static unsigned int read_bits(bit_iterator_t * it, int n_bits, lv_fs_res_t * res);
187 bit_iterator_t it; in init_bit_iterator() local
188 it.fp = fp; in init_bit_iterator()
189 it.bit_pos = -1; in init_bit_iterator()
190 it.byte_value = 0; in init_bit_iterator()
191 return it; in init_bit_iterator()
194 static unsigned int read_bits(bit_iterator_t * it, int n_bits, lv_fs_res_t * res) in read_bits() argument
198 it->byte_value = it->byte_value << 1; in read_bits()
199 it->bit_pos--; in read_bits()
[all …]
/lvgl-3.5.0/docs/get-started/os/
Dnuttx.md7 The best way to think about NuttX is to think of it as a small Unix/Linux for microcontrollers.
15 …und the world. Probably you already used a product with NuttX without knowing it was running NuttX.
16 - **Predictable** - NuttX is a preemptible Realtime kernel, so you can use it to create predictable…
28 - Develop GUI in Linux first and when it is done just compile it for NuttX. Nothing more, no wastin…
30 …s and just test everything on your computer and when it is done, compile it on NuttX and that is i…
45 …ww.st.com/en/evaluation-tools/32f429idiscovery.html) as an example because it is a very popular bo…
/lvgl-3.5.0/docs/overview/
Dscroll.md4 … (the size without padding), the parent becomes scrollable and scrollbar(s) will appear. That's it.
34 An object goes to the `LV_STATE_SCROLLED` state while it's being scrolled. This allows adding diffe…
47 Note that, the `base_dir` style property is inherited. Therefore, it can be set directly on the `LV…
87 …agated to its parent. If the parent can be scrolled in that direction than it will be scrolled ins…
90 The propagation on scrolling is called "scroll chaining" and it can be enabled/disabled with `LV_OB…
94 When the user scrolls an object and releases it, LVGL can emulate inertial momentum for the scrolli…
102 When the object is released the content scrolled in it will be animated back to the valid position.
128 …a scrollable object. Pressing the "Tab" button focuses the next object but it might be outside the…
131 The object will be scrolled into view even if it's on a different page of a tabview.
140 From time to time you may need to retrieve the scroll position of an element, either to restore it
[all …]
Dtimer.md3 LVGL has a built-in timer system. You can register a function to have it be called periodically. Th…
51 …repeat_count(timer, count)`. The timer will automatically be deleted after it's called the defined…
56 …rcentage time of `lv_timer_handler` with `lv_timer_get_idle()`. Note that, it doesn't measure the …
57 It can be misleading if you use an operating system and call `lv_timer_handler` in a timer, as it w…
61 … example, you can't delete an object because something else is still using it, or you don't want t…
62 …he next invocation of `lv_timer_handler`. `data_p` will be passed to the function when it's called.
83 /*The screen is still valid so you can do other things with it*/
Dimage.md34 - **LV_IMG_CF_TRUE_COLOR_ALPHA** Like `LV_IMG_CF_TRUE_COLOR` but it also adds an alpha (transparenc…
35 …_COLOR` but if a pixel has the `LV_COLOR_TRANSP` color (set in *lv_conf.h*) it will be transparent.
57 You can store images in a *Raw* format to indicate that it's not encoded with one of the built-in c…
89 If you are generating an image at run-time, you can craft an image variable to display it using LVG…
111 The simplest way to use an image in LVGL is to display it with an [lv_img](/widgets/core/img) objec…
123 …should use `LV_IMG_DECLARE(my_icon_dsc)` to declare the image in the file where you want to use it.
133 - **open** open an image: either store a decoded image or set it to `NULL` to indicate the image ca…
137 … to be drawn, the library will try all the registered image decoders until it finds one which can …
143 …at. It will just take every byte of the binary file you uploaded and write it as an image "bitmap"…
149 …brary can draw images only in *True color* format (or *Raw* but ultimately it will be in *True col…
[all …]
Dstyle.md6 For example one can add `style_blue` to the knob of a slider when it's in pressed state.
9 … a style. LVGL will search for a property until a style defines it or use a default if it's not sp…
12 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in an o…
48 1. Initially the object is in the default state, so it's a simple case: the property is perfectly d…
58 …ite intuitive, and it's something the user would expect naturally. E.g. if an object is focused th…
59 If the focused state had a higher precedence it would overwrite the pressed color.
60 …. red background color) just set it for the default state. If the object can't find a property for…
78 In this case, when the button is released (it's in default state) it will be red because a perfect …
79 When the button is pressed the light-gray color is a better match because it describes the current …
100 …rce the default value of a property to be used, without needing to hardcode it in your application.
[all …]
Dindev.md102 Usually, it's enough to use only `LV_KEY_LEFT/RIGHT` because most objects can be fully controlled w…
108 …nty of keys, it's easy to navigate between objects and edit them using the keypad. But encoders ha…
125 …licking it via touchpad or focused via an encoder or keypad it goes to the `LV_STATE_FOCUSED` stat…
127 If an object switches to edit mode it enters the `LV_STATE_FOCUSED | LV_STATE_EDITED` states so the…
Ddrawing.md5 However, it can be useful to have a basic understanding of how drawing happens in LVGL to add custo…
34 …- Takes the first joined area, if it's smaller than the *draw buffer*, then simply renders the are…
41 …on's label has changed, the library will see that it's enough to draw the button under the text an…
50 To use LVGL it's not required to know about the mechanisms described here but you might find intere…
60 …k" according to the parameters of the mask, keep one side of the buffer as it is (255 by default) …
64 … Removes a side from a line (top, bottom, left or right). `lv_draw_line` uses four instances of it.
95 A parameter can be added and removed any number of times, but it needs to be freed when not require…
126 Called when the main drawing is finished. You can draw anything here as well and it's also a good p…
148 …ct (e.g. a slider's indicator, a table's cell or a button matrix's button) it sends events before …
198 - `LV_COVER_RES_MASKED` there is a mask on the object, so it does not fully cover the area
[all …]
/lvgl-3.5.0/docs/widgets/
Dobj.md12 In object-oriented thinking, it is the base class from which all other objects in LVGL are inherite…
16 …ect can be directly used as a simple widget: it's nothing more than a rectangle. In HTML terms, th…
66 You can bring an object to the foreground or send it to the background with `lv_obj_move_foreground…
74 …play or simulator). A display can have one or more screens associated with it. Each screen contain…
76 When you have created a screen like `lv_obj_t * screen = lv_obj_create(NULL)`, you can make it acti…
78 If you have multiple displays, it's important to know that the screen functions operate on the most…
103 - `LV_OBJ_FLAG_HIDDEN` Make the object hidden. (Like it wasn't there at all)
114 - `LV_OBJ_FLAG_SCROLL_ON_FOCUS` Automatically scroll object to make it visible when focused
116 - `LV_OBJ_FLAG_SNAPPABLE` If scroll snap is enabled on the parent it can snap to this object
176 …HT` and `LV_KEY_UP` make the object checked, and `LV_KEY_LEFT` and `LV_KEY_DOWN` make it unchecked.
[all …]
/lvgl-3.5.0/docs/widgets/core/
Ddropdown.md12 The Drop-down list is added to the default group (if it is set). Besides the Drop-down list is an e…
18 …round of the button. Uses the typical background properties and text properties for the text on it.
21 The button goes to `LV_STATE_CHECKED` when it's opened.
28 The list is hidden/shown on open/close. To add styles to it use `lv_dropdown_get_list(dropdown)` t…
42 …irst\nSecond\nThird"`. This string will be saved in the drop-down list, so it can in a local varia…
59 If the list would be vertically out of the screen, it will be aligned to the edge.
67 …ext. If a static is set with `lv_dropdown_set_text(dropdown, "Some text")` it will be shown regard…
Dcheckbox.md9 - `LV_PART_MAIN` The is the background of the Checkbox and it uses the text and all the typical bac…
14 The Checkbox is added to the default group (if it is set).
50 - `LV_KEY_ENTER` Clicks the checkbox and toggles it
/lvgl-3.5.0/docs/get-started/bindings/
Dmicropython.md6 Using Micropython, you can write Python3 code and run it even on a bare metal architecture with lim…
10 …k of code space and 16k of RAM. No OS is needed, although you can also run it with an OS, if you w…
27 In Micropython it's just **`Change code` > `Run`** ! You can even run commands interactively using …
35 …circuitpython). CircuitPython was designed with education in mind, to make it easier for new or in…
40 ## So what does it look like?
60 ## How can I use it?
65 … + Micropython that runs entirely in the browser and allows you to edit a python script and run it.
81 In the end, the goal is to run it all on an embedded platform.
/lvgl-3.5.0/docs/porting/
Dos.md5 However, in the following conditions it's valid to call LVGL related functions:
11 …u need a mutex which should be invoked before the call of `lv_timer_handler` and released after it.
50 …o simply set a flag or some value in the interrupt, and periodically check it in an LVGL timer (wh…
Dtimer-handler.md8 The timing is not critical but it should be about 5 milliseconds to keep the system responsive.
28 …In an OS environment, you can use it together with the **delay** or **sleep** provided by OS to re…
Dgpu.md2 LVGL has a flexible and extendable draw pipeline. You can hook it to do some rendering with a GPU o…
16 - `lv_res_t (*draw_img)()` Draw an image before decoding it (it bypasses LVGL's internal image deco…
27 e.g. for `draw_rect` it's called [lv_draw_rect_dsc_t](https://github.com/lvgl/lvgl/blob/master/src/…
28 for `lv_draw_line` it's called [lv_draw_line_dsc_t](https://github.com/lvgl/lvgl/blob/master/src/dr…
40 …v_register()` will allocate a `draw_ctx` based on `draw_ctx_size` and call `draw_ctx_init()` on it.
43 It makes it possible to use your own `draw_ctx` with your own callbacks.
70 …with absolute coordinates to draw on `draw_ctx->buf`. If `src_buf` is set, it's the coordinates of…
122 This way when LVGL calls `blend` it will call `my_draw_blend` and we can do custom GPU operations. …
197 … on the basic `lv_draw_ctx_t` (instead of `lv_draw_sw_ctx_t`) and extend/initialize it as you wish.
Dproject.md8 You can clone it or [Download](https://github.com/lvgl/lvgl/archive/refs/heads/master.zip) the late…
15 …lder (as Eclipse or VSCode does), you can simply copy the `lvgl` folder as it is into your project.
20 LVGL_DIR_NAME ?= lvgl #The name of the lvgl folder (change this if you have renamed it)
38 To get `lv_conf.h` **copy lvgl/lv_conf_template.h** next to the `lvgl` directory and rename it to *…
60 To use the graphics library you have to initialize it and setup required components. The order of t…
/lvgl-3.5.0/docs/get-started/platforms/
Dtasmota-berry.md20 - Flexible: Berry is a dynamic type script, and it's intended for embedding in applications. It can…
22 …ed in read-only code data segments, so the RAM usage of the interpreter is very low when it starts.
47 ## So what does it look like?
50 > Similar to MicroPython, it's very much like the C API, but Object-Oriented for LVGL components.
65 ## How can I use it?
Dpc-simulator.md7 - Hardware independent - Write code, run it on the PC and see the result on a monitor.
9 - Portability - The written code is portable, which means you can simply copy it when migrating to …
10 …mulator is also very useful to report bugs because it provides a common platform for every user. S…
14 … Choose your favorite IDE, read its README on GitHub, download the project, and load it to the IDE.
31 **Note: If you are on Windows, it's usually better to use the Visual Studio or CodeBlocks projects …
68 5. Copy _..._mingw32/bin/SDL2.dll_ to _{eclipse_workspace}/pc_simulator/Debug/_. Do it later when …
Darduino.md14 …s/heads/master.zip) the latest version of LVGL from GitHub and simply copy it to Arduino's library…
18 To get started it's recommended to use [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI) library as a …
19 To make it work, setup `TFT_eSPI` according to your TFT display type via editing either
60 Note that the `lv_examples` library is for LVGL v7 and you shouldn't install it for this version (s…
/lvgl-3.5.0/docs/libs/
Dpng.md8 Note that, a file system driver needs to registered to open images from files. Read more about it […
12 As it might take significant time to decode PNG images LVGL's [images caching](https://docs.lvgl.io…
Dgif.md7 `lv_gif_set_src(obj, src)` works very similarly to `lv_img_set_src`. As source, it also accepts ima…
20 …m driver needs to be registered to open images from files. Read more about it [here](https://docs.…
/lvgl-3.5.0/docs/widgets/extra/
Dmenu.md44 Once a menu page has been created, you can set it to the main area with `lv_menu_set_page(menu, pag…
47 Once a menu page has been created, you can set it to the sidebar with `lv_menu_set_sidebar_page(men…
50 For instance, you have created a btn obj in the main page. When you click the btn obj, you want it
53 The following objects can be created so that it is easier to style the menu:
/lvgl-3.5.0/docs/
DROADMAP.md4 This list indicates only the current intention and it can be changed.
18 - CPP binding. See [Forum](https://forum.lvgl.io/t/is-it-possible-to-officially-support-optional-cp…
DCONTRIBUTING.md20 …inimal but buildable code example in order to reproduce the issue. Be sure it contains all the req…
21 …dam-p/markdown-here/wiki/Markdown-Cheatsheet) to format your posts. You can learn it in 10 minutes.
24 - For non-trivial fixes and features, it's better to open an issue first to discuss the details ins…
32 You can see what it looks like on GitHub for LVGL here: [https://github.com/lvgl/lvgl/pulls](https:…
46 The instructions describe the main `lvgl` repository but it works the same way for the other reposi…
171 Show that you like LVGL by giving it star on GitHub!
177 This simple click makes LVGL more visible on GitHub and makes it more attractive to other people.
183 Was it easy or were there some obstacles? Are you happy with the result?
184 Showing your project to others is a win-win situation because it increases your and LVGL's reputati…
195 The blog is hosted on GitHub. If you add a post GitHub automatically turns it into a website.
[all …]
/lvgl-3.5.0/demos/benchmark/
DREADME.md29 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.
31 So it ignores `LV_DISP_REFR_PERIOD` which tells LVGL how often it should refresh the screen.
38 …ght dilute the performance results of the LVGL drawing process, hence make it harder to see your o…

1234