Home
last modified time | relevance | path

Searched refs:screen (Results 1 – 25 of 32) sorted by relevance

12

/lvgl-latest/docs/overview/
Ddisplay.md40 … has its own set of [screens](overview/object#screen-the-most-basic-parent) and the objects on eac…
48 A screen's size is always equal to its display and their origin is (0;0). Therefore, a screen's coo…
50 A screen can be created from any object type but the two most typical types are [Base object](/widg…
52 To create a screen, use `lv_obj_t * scr = lv_<type>_create(NULL, copy)`. `copy` can be an existing
54screen, use `lv_scr_load(scr)`. To get the active screen, use `lv_scr_act()`. These functions work…
56 …n be deleted with `lv_obj_del(scr)`, but ensure that you do not delete the currently loaded screen.
60 Usually, the opacity of the screen is `LV_OPA_COVER` to provide a solid background for its children…
63 This configuration (transparent screen and display) could be used to create for example OSD menus w…
70 - Set the screen's opacity to `LV_OPA_TRANSP` e.g. with `lv_obj_set_style_bg_opa(lv_scr_act(), LV_O…
80 …ty using `lv_disp_trig_activity(disp)`. If `disp` is `NULL`, the default screen will be used (**an…
[all …]
Dobject.md63 lv_obj_t * parent = lv_obj_create(lv_scr_act()); /*Create a parent object on the current screen*/
97 …allows for the creation of a screen just when a button is clicked to open it, and for deletion of …
136 ### Get the active screen
137 There is always an active screen on each display. By default, the library creates and loads a "Base…
139 To get the currently active screen use the `lv_scr_act()` function.
143 To load a new screen, use `lv_scr_load(scr1)`.
150 …of the screens and they will be shown on every screen. The *top layer* is above every object on th…
158 #### Load screen with animation
160 A new screen can be loaded with animation by using `lv_scr_load_anim(scr, transition_type, time, de…
162 - `LV_SCR_LOAD_ANIM_OVER_LEFT/RIGHT/TOP/BOTTOM` Move the new screen over the current towards the gi…
[all …]
Dlayer.md14 /*Create a screen*/
16 lv_scr_load(scr); /*Load the screen*/
19 lv_obj_t * btn1 = lv_btn_create(scr, NULL); /*Create a button on the screen*/
49 …ple physical displays.** The `layer_top` is always on top of the default screen (`lv_scr_act()`), …
Dtimer.md72 /*Finally delete the screen*/
78 /*Do something with the object on the current screen*/
80 /*Delete screen on next call of `lv_timer_handler`, not right now.*/
83 /*The screen is still valid so you can do other things with it*/
Devent.md112 - `LV_EVENT_SCREEN_UNLOAD_START` A screen unload started, fired immediately when lv_scr_load/lv_scr…
113 - `LV_EVENT_SCREEN_LOAD_START` A screen load started, fired when the screen change delay is expired
114 - `LV_EVENT_SCREEN_LOADED` A screen was loaded, called when all animations are finished
115 - `LV_EVENT_SCREEN_UNLOADED` A screen was unloaded, called when all animations are finished
Dindev.md7 - External hardware buttons which are assigned to specific points on the screen
33 …e gestures to its parent, so finally the gestures can be detected on the screen object in a form o…
38 lv_obj_t * screen = lv_event_get_current_target(e);
Dscroll.md116 1. User scrolls an object and releases the screen
146 lv_obj_t* screen = lv_event_get_target(e);
147 scroll_value = lv_obj_get_scroll_top(screen);
Dcoords.md38 Instead, the objects are marked as "dirty" and before redrawing the screen LVGL checks if there are…
43 …herefore `lv_obj_update_layout` recalculates the coordinates of all objects on the screen of `obj`.
160 …sed on the parent's content area size. For example to set the object's height to the screen height:
/lvgl-latest/tests/src/test_cases/
Dtest_screen_load.c9 lv_obj_t * screen = lv_obj_create(NULL); in test_screen_load_no_crash() local
10 lv_scr_load(screen); in test_screen_load_no_crash()
/lvgl-latest/docs/porting/
Ddisplay.md9 Draw buffer(s) are simple array(s) that LVGL uses to render the screen content.
27 As you can see above, the draw buffer may be smaller than the screen. In this case, larger areas ar…
30 A larger buffer results in better performance but above 1/10 screen sized buffer(s) there is no sig…
31 Therefore it's recommended to choose the size of the draw buffer(s) to be at least 1/10 screen size…
40 If only one buffer is used LVGL draws the content of the screen into that draw buffer and sends it …
49 …abling the `full_refresh` bit will force LVGL to always redraw the whole screen. This works in bot…
50 If `full_refresh` is enabled and two screen sized draw buffers are provided, LVGL's display handlin…
52 … link. The latter will generally be too slow to maintain high frame rates with full screen redraws.
55 …river LVGL will draw directly into a **screen sized frame buffer**. That is the draw buffer(s) nee…
57 …t_mode` the frame buffer always contains the current frame as it should be displayed on the screen.
[all …]
Dindev.md23 - `LV_INDEV_TYPE_BUTTON` external buttons virtually pressing the screen
30 Input devices that can click points on the screen belong to this category.
138 …mean external "hardware" buttons next to the screen which are assigned to specific coordinates of …
/lvgl-latest/demos/benchmark/
DREADME.md11 On to top of the screen the title of the current test step, and the result of the previous step is …
31 So it ignores `LV_DISP_REFR_PERIOD` which tells LVGL how often it should refresh the screen.
34 …s the benchmark will show 1000 FPS. To measure the performance with full screen refresh uncomment …
45 /* Enable updating the screen (the flushing process) when disp_flush() is called by LVGL
52 /* Disable updating the screen (the flushing process) when disp_flush() is called by LVGL
123 On top of the summary screen, the "Weighted FPS" value is shown.
/lvgl-latest/examples/porting/
Dlv_port_disp_template.c19 …#warning Please define or replace the macro MY_DISP_HOR_RES with the actual screen width, default …
24 …#warning Please define or replace the macro MY_DISP_HOR_RES with the actual screen height, default…
/lvgl-latest/docs/widgets/
Dobj.md5 The 'Base Object' implements the basic properties of widgets on a screen, such as:
74 …ulator). A display can have one or more screens associated with it. Each screen contains a hierarc…
76screen like `lv_obj_t * screen = lv_obj_create(NULL)`, you can make it active with `lv_scr_load(sc…
78 If you have multiple displays, it's important to know that the screen functions operate on the most…
80 To get an object's screen use the `lv_obj_get_screen(obj)` function.
/lvgl-latest/docs/get-started/
Dquick-overview.md26 The buffer size can be set freely but 1/10 screen size is a good starting point.
29 …DISP_HOR_RES * DISP_VER_RES / 10]; /*Declare a buffer for 1/10 screen size*/
46 *`set_pixel` needs to be written by you to a set pixel on the screen*/
79 It will redraw the screen if required, handle input devices, animation etc.
97 To get the current screen call `lv_scr_act()`, and to load a screen use `lv_scr_load(scr1)`.
229 For example, you can set the font once in the screen's style and all text on that screen will inher…
263 # Load the screen
/lvgl-latest/tests/
DREADME.md46 - `TEST_ASSERT_EQUAL_SCREENSHOT("image1.png")` Render the active screen and compare its content wit…
52 …rence images can be taken by copy-pasting the test code in to LVGL simulator and saving the screen.
/lvgl-latest/docs/others/
Dmonkey.md15 - `LV_INDEV_TYPE_POINTER` No effect, click randomly within the pixels of the screen resolution.
/lvgl-latest/docs/widgets/extra/
Dtileview.md9 If the Tile view is screen sized, the user interface resembles what you may have seen on smartwatch…
Dmsgbox.md9 The message box can be modal (blocking clicks on the rest of the screen) or not modal.
/lvgl-latest/docs/
DCODING_STYLE.md40 * Return with the screen of an object
42 * @return pointer to a screen
/lvgl-latest/examples/arduino/LVGL_Arduino/
DLVGL_Arduino.ino12 /*Change to your screen resolution*/
/lvgl-latest/
DREADME.md84 <td> &gt; 1/10 screen size </td>
140 …obj_t * btn = lv_btn_create(lv_scr_act()); /*Add a button to the current screen*/
DREADME_zh.md143 …obj_t * btn = lv_btn_create(lv_scr_act()); /*Add a button to the current screen*/
/lvgl-latest/docs/get-started/platforms/
Dtasmota-berry.md58 scr = lv.scr_act() # get default screen
/lvgl-latest/docs/widgets/core/
Ddropdown.md59 If the list would be vertically out of the screen, it will be aligned to the edge.

12