/lvgl-latest/docs/details/other-components/ |
D | xml.rst | 20 - XML files can be loaded at runtime (e.g., from an SD card) to change the application build. 23 - XML can be used to generate LVGL code in any language. 31 - Register images and font that can be accessed by name later in the XMLs 33 - Parameters can be defined and passed and used for components 35 - Style sheets and :ref:`local styles <style_local>` that can be assigned to parts 52 Widgets are the core building blocks of the UI and are not meant to be loaded at runtime 60 - Cannot be loaded from XML at runtime because custom code cannot be loaded. 62 Components are built from other components and widgets and can be loaded at runtime. 66 - Can be used for styling widgets. 69 - Can be loaded from XML at runtime as they describe only the visuals. [all …]
|
D | observer.rst | 17 - **observers**: attached to subjects to be notified on value change 47 //Will be called when the related subject's value changes 81 Subjects have to be static or global :cpp:type:`lv_subject_t` type variables. 96 The following functions can be used to set a subject's value: 106 The following functions can be used to get a subject's value: 118 The following functions can be used to get a subject's previous value: 134 To subscribe to a subject the following function can be used: 154 In the observer callback :cpp:expr:`lv_observer_get_target(observer)` can be used to get the saved … 161 In more generic case any pointer can be saved a target: 181 lv_obj_remove_from_subject(widget, subject); /* `subject` can be NULL to unsubscribe from all */ [all …]
|
/lvgl-latest/docs/details/widgets/ |
D | textarea.rst | 12 it. Text or characters can be added to it. Long lines are wrapped and when the 13 text becomes long enough, the Text Area can be scrolled. 32 ``bg_color`` style properties can be used. ``bg_color`` should be set 36 character. A block cursor can be created by adding a background color 69 Placeholder text is text that is displayed when the Text Area is empty. This can be 86 The cursor position can be modified programmatically using 88 the zero-based index of the character the cursor should be placed in front of. 89 :cpp:enumerator:`LV_TEXTAREA_CURSOR_LAST` can be passed to mean "after the 105 The cursor is normally always visible. It it can be a good idea to style it 106 to be visible only in :cpp:enumerator:`LV_STATE_FOCUSED` state. See :ref:`styles` [all …]
|
D | line.rst | 29 A Line's points have to be stored in an :cpp:struct:`lv_point_precise_t` array and passed to 33 Their coordinates can either be specified as raw pixel coordinates 36 be set explicitly using :cpp:func:`lv_obj_set_width` and :cpp:func:`lv_obj_set_height`, 44 the size is set explicitly, parts on the Line may not be visible. 49 By default, the *y == 0* point is in the top of the Widget. It might be 50 counter-intuitive in some cases so the y coordinates can be inverted 52 be at the bottom of the Widget. *y invert* is disabled by default.
|
D | lottie.rst | 14 The animations can be downloaded from various sources, such as `https://lottiefiles.com/ <https://l… 38 :c:macro:`LV_USE_VECTOR_GRAPHIC` also needs to be enabled. 40 As ThorVG is written in C++, when using :c:macro:`LV_USE_THORVG_INTERNAL` be sure that you 46 In order to render the animation a buffer needs to be assigned to the Lottie Widget. 47 The animations are rendered in ARGB8888 format, therefore the buffer's size should be equal to 53 The buffer can be set with either :cpp:expr:`lv_lottie_set_buffer(lottie, w, h, buf)` 56 When a draw buffer is used, it must be already initialized by the user with :cpp:enumerator:`LV_COL… 67 ``lvgl/scripts/filetohex.py`` can be used to convert a Lottie file to a hex 79 Lottie animations can be opened from JSON files by using :cpp:expr:`lv_lottie_set_src_file(lottie, … 80 …er doesn't support LVGL's File System interface but a "normal path" should be used without a drive… [all …]
|
D | arc.rst | 12 (indicator) can be touch-adjusted. 39 A new value can be set using :cpp:expr:`lv_arc_set_value(arc, new_value)`. The 41 be modified with :cpp:expr:`lv_arc_set_range(arc, min, max)`. The default range 53 degrees increasing in the clockwise direction. The angle values should be in 59 An offset to the 0-degree position can be added with 65 The Arc can be one of the following modes: 72 The mode can be set by :cpp:expr:`lv_arc_set_mode(arc, LV_ARC_MODE_...)` and 81 degrees/second units and can be set with 87 Changing the knob offset allows the location of the knob to be moved 88 relative to the end of the Arc. The knob offset can be set by [all …]
|
D | imagebutton.rst | 15 You can set a left, right and middle image, and the middle image will be 25 properties are used, a rectangle will be drawn behind the Image 42 Typically the middle image should be one of the set image sources. 44 If only ``src_mid`` is specified, the width of the widget will be set automatically to the 45 width of the image. However, if all three sources are set, the width needs to be set by the user 46 (using e.g. :cpp:expr:`lv_obj_set_width`) and the middle image will be tiled to fill the given size. 60 they will be used instead when the Image Button is in that state. 77 This requires the Image Button's :cpp:enumerator:`LV_OBJ_FLAG_CHECKABLE` flag to be set.
|
D | tabview.rst | 11 The Tab View Widget can be used to organize content in tabs. The Tab 19 The tab buttons can be positioned on the top, bottom, left and right 22 A new tab can be selected either by clicking on a tab button or by 51 New tabs can be added with :cpp:expr:`lv_tabview_add_tab(tabview, "Tab name")`. 53 the tab's content can be created. 58 A tab can be renamed with 75 the tab bar can be moved to any side. 80 The size of the tab bar can be adjusted by :cpp:expr:`lv_tabview_set_tab_bar_size(tabview, size)`
|
D | table.rst | 43 Cells can store only text so numbers need to be converted to text 47 saved by the Table so the buffer containing the string can be a local variable. 49 Line breaks can be used in the text like ``"Value\n60.3"``. 63 Column width can be set with 65 the Table Widget will be set to the sum of all column widths. 73 Cells can be merged horizontally with 81 will be used to show the whole Table in the respective direction. E.g. 118 :cpp:expr:`lv_table_get_selected_cell(table, &row, &col)` can be used to get the 119 currently selected cell. Row and column will be set to
|
D | label.rst | 20 text properties. Padding values can be used to add space between 26 properties can be used. 39 dynamically, and the provided string will be copied into that buffer. 44 can be used to set the text. Example: :cpp:expr:`lv_label_set_text_fmt(label, "Value: %d", 15)`. 76 realloc() will be forced every time the length of the string changes. That 77 MCU overhead can be avoided by doing the above. 97 wider than the Label's width can be manipulated according to several 98 long mode policies. Similarly, the policies can be applied if the height 102 height will be expanded, otherwise the text will be clipped. (Default) 117 :cpp:func:`lv_label_set_text_static` must be writable if you plan to use [all …]
|
D | dropdown.rst | 35 - :cpp:enumerator:`LV_PART_INDICATOR` Typically an arrow symbol that can be an Image 44 style properties <typical bg props>`. ``max_height`` can be used to limit the 61 Alternatively the theme can be extended with new styles. 77 Each list item should be separated by ``\n``. Example: ``"First\nSecond\nThird"``. 84 To save memory the options can be set from a static (const) string as well 87 List and :cpp:func:`lv_dropdown_add_option` cannot be used. 105 The list can be created on any side. The default :cpp:enumerator:`LV_DIR_BOTTOM` can 106 be modified using :cpp:expr:`lv_dropdown_set_dir(dropdown, LV_DIR_LEFT)`. 108 If the list would be vertically out of the screen, it will be aligned to 114 A symbol (typically an arrow) can be added to the Drop-Down List with [all …]
|
D | image.rst | 14 can be supported as well. 33 To provide maximum flexibility, the source of the image can be: 55 this case, the image will be rendered as text according to the *font* 91 These options can be selected in the image converter. Learn more 97 A color can be mixed with every pixel of an image with a given 98 intensity. This can be useful to show different states (checked, 100 the same image. This feature can be enabled in the style by setting 103 :cpp:enumerator:`LV_OPA_TRANSP` causing this feature to be disabled. 114 or a "running image" effect can be created by :ref:`Animating <animation>` the x or y offset. 126 :cpp:expr:`lv_image_set_scale_y(img, factor)` can also be used to [all …]
|
/lvgl-latest/docs/details/base-widget/styles/ |
D | style.rst | 12 - Styles can be assigned to Widgets to change their appearance. Upon 14 (pseudo-class_ in CSS) can be specified. For example one can add 16 - The same style can be used by any number of Widgets. 17 - Styles can be cascaded which means multiple styles may be assigned to a Widget and 19 have to be specified in a style. LVGL will search for a property until a 25 is specified in two styles the newest style in the Widget will be used. 26 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in a Wi… 30 - Transitions can be applied when the Widget changes state. 39 The Widgets can be in the combination of the following states: 55 A Widget can be in a combination of states such as being focused and [all …]
|
/lvgl-latest/docs/details/base-widget/ |
D | scroll.rst | 15 Any Widget can be scrollable including :ref:`base_widget`, ``lv_image``, 18 The Widget can either be scrolled horizontally or vertically in one 34 - :cpp:enumerator:`LV_SCROLLBAR_MODE_AUTO`: Show scroll bars when the content is large enough to be… 56 scrolled. This allows adding different styles to the Widget that will be effective 71 (:c:macro:`LV_BASE_DIR_RTL`) the vertical scrollbar will be placed on the left. 73 can be set directly on the :cpp:enumerator:`LV_PART_SCROLLBAR` part of a Widget, or 79 If `length` is not set or left at `0` the scrollbar's length will be set automatically according to… 108 descriptor that can be modified if required. 130 The direction in which scrolling happens can be controlled by 133 The following values can be used for the direction: [all …]
|
D | coord.rst | 108 This section describes special cases in which LVGL's behavior might be 122 coordinates were just changed, LVGL needs to be forced to recalculate 137 coordinates can also be set via style properties. To be more precise, 143 However, there is one case in which you need to be aware of the 156 the earlier set coordinates will be removed as well. 162 /* The size of obj1 will be set back to the default in the end */ 211 that call, that "anchor" will be remembered until another one is established. 212 In other words, every futire x and y setting for that Widget will be relative to the 225 9 convenient "anchors" can be used with these functions: 261 where ``align`` can be done of the following: [all …]
|
/lvgl-latest/docs/ |
D | Doxyfile | 3 # This file describes the settings to be used by the documentation system 9 # All text after a single hash (#) is considered a comment and will be ignored. 12 # For lists, items can also be appended using: 14 # Values that contain spaces should be placed between quotes (\" \"). 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 38 # could be handy for archiving the generated documentation or if some version 57 # into which the generated documentation will be written. If a relative path is 58 # entered, it will be relative to the location where doxygen was started. If 59 # left blank the current directory will be used. 66 # option can be useful when feeding doxygen a huge amount of source files, where [all …]
|
/lvgl-latest/docs/intro/add-lvgl-to-your-project/ |
D | connecting_lvgl.rst | 21 This needs to be done before making any other LVGL calls. 62 be used as they are. For example: 74 ISR, it should be from either a high priority interrupt or an interrupt that 75 cannot be missed when the system is under high load. 77 .. note:: :cpp:func:`lv_tick_inc` is only one of two LVGL functions that may be 81 Either way, the writing of the ``uint32_t`` Tick value must be :ref:`atomic <atomic>`, 83 system (causing the update of the Tick value to not be atomic) and your platform uses 103 * where it can be written to any destination. */ 110 Advancing the tick value should be done in such a way that its timing is reliable and 112 what *not* to do: this can "seem" to work, but LVGL's timing will be incorrect [all …]
|
/lvgl-latest/docs/details/integration/chip/ |
D | nxp.rst | 29 Depending on the RT platform used, the acceleration can be done by NXP PXP 31 accelerator has its own context that allows them to be used individually as well 45 there will be logged just an error message via `LV_LOG_ERROR`. 47 will be used, otherwise bare metal code will be included. 61 During PXP initialization, a new draw unit `lv_draw_pxp_unit_t` will be created 72 and an addition thread `_pxp_render_thread_cb()` will be spawned in order to 81 If `LV_USE_PXP_DRAW_THREAD` is not defined, then no additional draw thread will be created 86 preferred score and the draw unit id will be set to the task. An `score` equal 100 Several drawing features in LVGL can be offloaded to the PXP engine. The CPU is 123 Additionally, the screen rotation can be handled by the PXP: [all …]
|
/lvgl-latest/scripts/built_in_font/font_license/DejaVuSans/ |
D | LICENSE | 19 be included in all copies of one or more of the Font Software typefaces. 21 The Font Software may be modified, altered, or added to, and in particular 22 the designs of glyphs or characters in the Fonts may be modified and 23 additional glyphs or characters may be added to the Fonts, only if the fonts 31 The Font Software may be sold as part of a larger software package but no 32 copy of one or more of the Font Software typefaces may be sold by itself. 45 Foundation, and Bitstream Inc., shall not be used in advertising or 66 shall be included in all copies of one or more of the Font Software 69 The Font Software may be modified, altered, or added to, and in 70 particular the designs of glyphs or characters in the Fonts may be [all …]
|
/lvgl-latest/docs/details/main-components/ |
D | display.rst | 10 In LVGL, an *lv_display_t* (not to be confused with a :ref:`Screen <screens>`) is a 34 If you set up LVGL to use more than one display, be aware that some functions use the 55 - DPI (default is configured :c:macro:`LV_DPI_DEF` in ``lv_conf.h``, but can be 80 1, 3 and 4 are independent of the :ref:`active_screen` and they will be shown (if 86 For the bottom layer to be visible, the Active Screen's background has to be 105 To set a Screen you create to be the :ref:`active_screen`, call 117 be used to create Widgets that are visible on all Screens shown on a Display. But, 118 the *System Layer* is intended for system-level things (e.g. mouse cursor will be 122 Widgets can be created in them. 126 as not scroll-able and not click-able, these behaviors can be overridden the same [all …]
|
D | fs.rst | 10 ``'S'``, a file can be reached using ``"S:/path/to/file.txt"``. See details 41 letter must be unique among all registered file-system drivers, and in the range [A-Z] 64 Note also that the path can be a relative path or a "rooted path" (beginning with 78 - "Z:/Users/me/wip/proposal.txt" (if the default drive is known to be C:) 97 To add a driver, a :cpp:type:`lv_fs_drv_t` object needs to be initialized and 99 needs to be static, global or dynamically allocated and not a local variable, since 104 static lv_fs_drv_t drv; /* Needs to be static or global */ 126 Any of the callbacks can be ``NULL`` to indicate that operation is not 142 ``mode`` can be :cpp:enumerator:`LV_FS_MODE_WR` or :cpp:enumerator:`LV_FS_MODE_RD` to open for writ… 146 found). The returned file object will be passed to other file system [all …]
|
D | font.rst | 17 :cpp:type:`lv_font_t` variable and can be set in a style's *text_font* field. 36 to be smoother --- higher bpp values result in smoother edges. 50 be configured to save your code/text as UTF-8 (usually this the default) 51 and be sure that :c:macro:`LV_TXT_ENC` is set to :c:macro:`LV_TXT_ENC_UTF8` in 61 If all works well, a '\ |check|\ ' character should be displayed. 93 There are several built-in fonts in different sizes, which can be 150 The symbols can be used singly as: 192 a general property which can be set for every Widget. If not set then it 193 will be inherited from the parent. This means it's enough to set the 196 The default base direction for screens can be set by [all …]
|
/lvgl-latest/examples/libs/freetype/ |
D | OFL.txt | 16 open framework in which fonts may be shared and improved in partnership 19 The OFL allows the licensed fonts to be used, studied, modified and 21 fonts, including any derivative works, can be bundled, embedded, 24 however, cannot be released under any other type of license. The 54 in Original or Modified Versions, may be sold by itself. 56 2) Original or Modified Versions of the Font Software may be bundled, 58 contains the above copyright notice and this license. These can be 61 binary files as long as those fields can be easily viewed by the user. 69 Software shall not be used to promote, endorse or advertise any 75 must be distributed entirely under this license, and must not be
|
/lvgl-latest/tests/src/test_files/fonts/noto/ |
D | OFL.txt | 16 open framework in which fonts may be shared and improved in partnership 19 The OFL allows the licensed fonts to be used, studied, modified and 21 fonts, including any derivative works, can be bundled, embedded, 24 however, cannot be released under any other type of license. The 54 in Original or Modified Versions, may be sold by itself. 56 2) Original or Modified Versions of the Font Software may be bundled, 58 contains the above copyright notice and this license. These can be 61 binary files as long as those fields can be easily viewed by the user. 69 Software shall not be used to promote, endorse or advertise any 75 must be distributed entirely under this license, and must not be
|
/lvgl-latest/scripts/built_in_font/font_license/Montserrat/ |
D | OFL.txt | 16 open framework in which fonts may be shared and improved in partnership 19 The OFL allows the licensed fonts to be used, studied, modified and 21 fonts, including any derivative works, can be bundled, embedded, 24 however, cannot be released under any other type of license. The 54 in Original or Modified Versions, may be sold by itself. 56 2) Original or Modified Versions of the Font Software may be bundled, 58 contains the above copyright notice and this license. These can be 61 binary files as long as those fields can be easily viewed by the user. 69 Software shall not be used to promote, endorse or advertise any 75 must be distributed entirely under this license, and must not be
|