Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 224) sorted by relevance

123456789

/lvgl-latest/src/libs/thorvg/
DtvgSvgCssStyle.cpp42 static void _copyStyle(SvgStyleProperty* to, const SvgStyleProperty* from) in _copyStyle() argument
46 if ((from->curColorSet && !(to->flags & SvgStyleFlags::Color)) || in _copyStyle()
47 _isImportanceApplicable(to->flagsImportance, from->flagsImportance, SvgStyleFlags::Color)) { in _copyStyle()
48 to->color = from->color; in _copyStyle()
49 to->curColorSet = true; in _copyStyle()
50 to->flags = (to->flags | SvgStyleFlags::Color); in _copyStyle()
52 to->flagsImportance = (to->flagsImportance | SvgStyleFlags::Color); in _copyStyle()
55 if (((from->flags & SvgStyleFlags::PaintOrder) && !(to->flags & SvgStyleFlags::PaintOrder)) || in _copyStyle()
56 … _isImportanceApplicable(to->flagsImportance, from->flagsImportance, SvgStyleFlags::PaintOrder)) { in _copyStyle()
57 to->paintOrder = from->paintOrder; in _copyStyle()
[all …]
/lvgl-latest/docs/
DDoxyfile3 # This file describes the settings to be used by the documentation system
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
52 # the logo to the output directory.
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
58 # entered, it will be relative to the location where doxygen was started. If
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
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 …]
/lvgl-latest/docs/details/main-components/
Dfs.rst7 LVGL has a "File system" abstraction module that enables you to attach
10 ``'S'``, a file can be reached using ``"S:/path/to/file.txt"``. See details
15 If you want to skip the drive-letter prefix in Unix-like paths, you can use the
20 Ready-to-use drivers
35 This identifier is merely a way for the LVGL File System abtraction logic to look up
44 Later, when using paths to files on your file system, you prefix the path with that
54 then the path strings you pass to ``lv_fs_...()`` functions would look like this::
59 | +-- This part gets passed to the OS-level file-system functions.
61 +-- This part LVGL strips from path string, and uses it to find the appropriate
62 driver (i.e. set of functions) that apply to that file system.
[all …]
Dindev.rst18 …lv_indev_t * indev = lv_indev_create(); /* Create input device connected to Default Display…
22 If you have multiple displays, you will need to ensure the Default Display is set
23 to the display your input device is "connected to" before making the above calls.
32 ``my_input_read`` is a function pointer which will be called periodically to
33 report the current state of an input device to LVGL.
40 Input devices that can click points on the display belong to the POINTER
75 … lv_indev_set_cursor(mouse_indev, cursor_obj); /* Connect image to Input Device. */
88 gestures to their parents so they can be detected on the Screen Widget in the
117 To prevent passing the gesture event to the parent from a Widget, use
123 :cpp:expr:`lv_indev_wait_release(lv_indev_active())` in the event handler to
[all …]
Dtimer.rst7 LVGL has a built-in Timer system. You can register a function to have it
9 :cpp:func:`lv_timer_handler`, which needs to be called every few milliseconds.
12 By default, LVGL itself uses Timers to:
21 :c:macro:`LV_DEF_REFR_PERIOD`. That Timer causes that input device to be read and
24 - update system-monitor values --- if :c:macro:`LV_USE_SYSMON` is set to ``1`` in
25 ``lv_conf.h``, one or more timers are created to periodically compute and
38 :cpp:type:`lv_timer_t` ``*`` which can be used later to modify the
40 :cpp:func:`lv_timer_create_basic` can also be used to create a new Timer without
94 When a Timer is created, its repeat-count is set to ``-1`` to cause it to repeat
100 to instead be paused after it has run ``count`` times. This can be handy if you
[all …]
Dimage.rst31 - *always zero*: 3 bits which need to be always zero
33 - **data**: pointer to an array where the image itself is stored
44 To deal with files you need to add a storage *Drive* to LVGL. In short,
46 registered in LVGL to make file operations. You can add an interface to
48 system to read data from an SPI Flash memory. In every case, a *Drive*
49 is just an abstraction to read and/or write data to memory. See the
50 :ref:`File system <overview_file_system>` section to learn more.
55 easier to replace without needing to rebuild the main program.
70 the set opacity. The source image has to be an alpha channel. This is
71 ideal for bitmaps similar to fonts where the whole image is one color
[all …]
/lvgl-latest/docs/intro/add-lvgl-to-your-project/
Dconnecting_lvgl.rst4 Connecting LVGL to Your Hardware
15 - added the appropriate LVGL files to your project, and
18 you will need to complete a few more steps to get your project up and running with LVGL.
21 This needs to be done before making any other LVGL calls.
32 milliseconds to manage LVGL timers. See :ref:`timer_handler` for different ways
33 to do this.
37 8. Thereafter #include "lvgl/lvgl.h" in source files wherever you need to use LVGL
56 There are two ways to provide this information to LVGL:
58 1. Supply LVGL with a callback function to retrieve elapsed system milliseconds by
60 :cpp:expr:`my_get_milliseconds()` needs to return the number of milliseconds
[all …]
Dconfiguration.rst18 When setting up your project for the first time, copy ``lvgl/lv_conf_template.h`` to
19 ``lv_conf.h`` next to the ``lvgl`` folder. Change the first ``#if 0`` to ``1`` to
20 enable the file's content and set the :c:macro:`LV_COLOR_DEPTH` define to align with
30 Alternatively, ``lv_conf.h`` can be copied to another place but then you
31 should add the :c:macro:`LV_CONF_INCLUDE_SIMPLE` define to your compiler
34 will attempt to include ``lv_conf.h`` simply with ``#include "lv_conf.h"``.
39 is set :c:macro:`LV_CONF_SKIP` is assumed to be ``0``. Please notice,
40 when defining the :c:macro:`LV_CONF_PATH`, you need to make sure it is
43 If :c:macro:`LV_CONF_SKIP` is defined, LVGL will not try to include
61 Once the ``lv_conf.h`` file is in place, you can modify this header to configure
[all …]
/lvgl-latest/docs/details/integration/renderers/
Dvg_lite.rst7 This is a generic VG-Lite rendering backend implementation that is designed to utilize
8 `VeriSilicon <https://verisilicon.com/>`_'s generic API to operate GPU hardware as much as possible.
17 1. Set :c:macro:`LV_USE_DRAW_VG_LITE` to 1 in ``lv_conf.h`` to enabled the VG-Lite rendering backen…
18 …Make sure that your hardware has been adapted to the VG-Lite API and that the absolute path to ``v…
22 …em startup, and the GPU is available when LVGL starts; set :c:macro:`LV_VG_LITE_USE_GPU_INIT` to 0.
23 …- LVGL actively calls the GPU initialization function, and the SDK needs to implement the public f…
24 …LVGL will call it to complete the GPU hardware initialization during startup; set :c:macro:`LV_VG_…
26 3. Set the :c:macro:`LV_VG_LITE_USE_ASSERT` configuration to enable GPU call parameter checking.
27 …Due to the complexity of the parameters used in GPU calls, incorrect parameters can result in abno…
28 to the path or not meeting the alignment requirements for buffer stride.
[all …]
Darm2d.rst7 Arm-2D is not a GPU but **an abstraction layer for 2D GPUs dedicated to
9 Cortex-M0 to the latest Cortex-M85.
15 to use **Synchronous Mode** to accelerate LVGL.
17 GPUs**, it is recommend to use **Asynchronous Mode** to accelerate LVGL.
19 Arm-2D is an open-source project on GitHub. For more, please refer to:
23 How to Use
28 - you can set the macro :c:macro:`LV_USE_DRAW_ARM2D_SYNC` to ``1`` and
29 :c:macro:`LV_DRAW_SW_ASM` to ``LV_DRAW_SW_ASM_HELIUM`` in ``lv_conf.h`` to
32 the macro :c:macro:`LV_USE_DRAW_ARM2D_ASYNC` to ``1`` in ``lv_conf.h`` to enable
37 to deploy the LVGL. You don't have to define the macro
/lvgl-latest/docs/details/integration/os/
Dtorizon_os.rst6 Torizon OS is an open-source software platform that aims to simplify the
9 By using docker containers it allows developers to focus on the application
12 This guide explains how to create a docker image containing LVGL and a simple demo
18 To follow this guide you obviously need to have a Toradex SoM along with a carrier board.
24 You need to be familiar with some Docker fundamentals to be able to understand and follow
25 this guide. Also Docker needs to be present on the development host.
28 to it.
36 In the Easy Installer, select TorizonCore as the operating system to install.
38 Copy the IP address that was assigned to the device by the DHCP server on your network.
46 …n/application-development/ide-extension/>`_ that offers a collection of templates used to configure
[all …]
Dqnx.rst23 - Up to 64 cores, up to 16TB of RAM
26 - Safety certification to various automotive, industrial and medical standards
28 How to run LVGL on QNX?
31 There are two ways to use LVGL in your QNX project. The first is similar to how
32 LVGL is used on other systems. The second is to build LVGL as either a shared or
39 `lv_conf_template.h` to `lv_conf.h` make the following changes to the latter:
47 2. Set colour depth to 32:
62 **Note that this method is an alternative to including LVGL in your project. If
63 you choose to build a library then you do not need to follow the instructions in
75 If you prefer to build for a specific architecture and variant, go to the
[all …]
/lvgl-latest/docs/details/other-components/
Dfile_explorer.rst7 ``lv_file_explorer`` provides a UI enabling the end user to browse the contents of a
12 convenient way to reach parts of the file system that are frequently accessed.
22 You specify what paths these lead to during ``lv_file_explorer``\ 's initialization.
26 Client code must hook various events and decide what to do when they are emitted
27 (e.g. a click or double-click on a file). The actions taken might to open the file,
28 display it, send it to some other part of the application, etc..
29 ``lv_file_explorer`` passes the full path and name of file that was clicked to the
30 event callback functions. What happens next is up to the application designer.
34 :c:macro:`LV_USE_TABLE` macro must be set to a non-zero value in ``lv_conf.h`` in
35 order to use ``lv_file_explorer``, and and :c:macro:`LV_USE_LIST` must be set to a
[all …]
Dmonkey.rst10 will crash. This module provides this service as simulated random input to stress
22 Next, declare a variable (it can be local) of type :c:type:`lv_monkey_config_t` to
24 :cpp:expr:`lv_monkey_config_init(cfg)` then set its ``type`` member to the desired
26 ``period_range`` and ``input_range`` members to set the time ranges (in milliseconds)
27 and input ranges the Monkey module will use to generate random input at random times.
29 Next, call :cpp:expr:`lv_monkey_create(cfg)` to create the Monkey. It returns a
30 pointer to the ``lv_monkey_t`` created.
32 Finally call :cpp:expr:`lv_monkey_set_enable(monkey, true)` to enable Monkey.
34 If you want to pause the monkey, call
43 Use :cpp:func:`lv_monkey_get_indev` to get the input device, and use
[all …]
Dfont_manager.rst8 facilities for high-level applications to manage and use vector fonts. Currently
13 - Font resource recycling mechanism (buffers recently deleted font resources to
24 :c:macro:`LV_USE_FREETYPE` and :c:macro:`LV_USE_FONT_MANAGER` macros to non-zero
25 values, and configure :c:macro:`LV_FONT_MANAGER_NAME_MAX_LEN` to set the maximum
31 Use :cpp:func:`lv_font_manager_create` to create a font manager, where the
32 :cpp:func:`recycle_cache_size` parameter is used to set the number of font recycling
35 Use :cpp:func:`lv_font_manager_add_path_static` to add a mapping between the font
38 (assigned from a local variable), use :cpp:func:`lv_font_manager_add_path` to
41 Use :cpp:func:`lv_font_manager_remove_path` to remove the font path mapping.
52 /* Add font path mapping to font manager */
[all …]
/lvgl-latest/docs/details/integration/framework/
Darduino.rst7 Note that you need to choose a board powerful enough to run LVGL and
10 For example ESP32 is a good candidate to create UI's with LVGL.
20 the latest version of LVGL from GitHub and simply copy it to Arduino's
26 To get started it's recommended to use `TFT_eSPI <https://github.com/Bodmer/TFT_eSPI>`__ library as…
27 driver to simplify testing. To make it work, setup ``TFT_eSPI``
28 according to your TFT display type via editing either:
42 1. Go to the directory of the installed Arduino libraries
43 2. Go to ``lvgl`` and copy ``lv_conf_template.h`` as ``lv_conf.h`` into the Arduino Libraries direc…
44 3. Open ``lv_conf.h`` and change the first ``#if 0`` to ``#if 1`` to enable the content of the file
63 to see how to initialize LVGL. ``TFT_eSPI`` is used as the display driver.
[all …]
/lvgl-latest/scripts/built_in_font/font_license/FontAwesome5/
DLICENSE.txt16 Attribution 4.0 International License and applies to all icons packaged
23 In the Font Awesome Free download, the SIL OFL license applies to all icons
37 The goals of the Open Font License (OFL) are to stimulate worldwide
38 development of collaborative font projects, to support the font creation
39 efforts of academic and linguistic communities, and to provide a free and
43 The OFL allows the licensed fonts to be used, studied, modified and
49 requirement for fonts to remain under this license does not apply
50 to any document created using the fonts or their derivatives.
53 "Font Software" refers to the set of files released by the Copyright
57 "Reserved Font Name" refers to any names specified as such after the
[all …]
/lvgl-latest/docs/details/widgets/
Dspinbox.rst14 :ref:`lv_textarea` with behaviors extended to enable a numeric value
15 to be viewed and modified with configurable constraints.
24 Spinbox's parts are identical to those of :ref:`Text Area <lv_textarea_parts_and_styles>`.
31 increments/decrements the value of the Spinbox according to the currently-selected digit.
36 - :cpp:expr:`lv_spinbox_set_step(spinbox, 100)` sets which digit to change on
38 - :cpp:expr:`lv_spinbox_set_cursor_pos(spinbox, 1)` sets the cursor to a specific
39 digit to change on increment/decrement. Position '0' sets the cursor to
42 If an encoder is used as input device, the selected digit is shifted to
43 the right by default whenever the encoder button is clicked. To change this behaviour to shifting
44 to the left, the :cpp:expr:`lv_spinbox_set_digit_step_direction(spinbox, LV_DIR_LEFT)` can be used
[all …]
Dtextarea.rst12 it. Text or characters can be added to it. Long lines are wrapped and when the
26 style properties including ``text_align`` to align the text to the left,
37 and background opacity to :cpp:enumerator:`LV_PART_CURSOR`\ 's style. To create
40 - :cpp:enumerator:`LV_PART_TEXTAREA_PLACEHOLDER` Unique to Text Area; allows styling
53 You can insert text or characters to the current cursor's position with:
70 a handy way to provide the end user with a hint about what to type there.
78 To delete the character to the left of the current cursor position, use
81 To delete to the right, use :cpp:expr:`lv_textarea_delete_char_forward(textarea)`
89 :cpp:enumerator:`LV_TEXTAREA_CURSOR_LAST` can be passed to mean "after the
100 cursor will jump to the position where the Text Area was clicked.
[all …]
Dspangroup.rst11 The Spangroup Widget is used to display rich text. Different
17 own text and style properties for that text. You add 1 Span (as a child) to the
19 appended to the end of the list. The list sequence determines the order in which the
20 Spans are displayed. Spans can be added to, and removed from, the Spangroup
43 Add each needed Span to a Spangroup like this:
49 After a Span is created, use the following functions to set its text
59 Spans to ensure it is redrawn appropriately.
68 :cpp:expr:`lv_spangroup_get_child(spangroup, id)` will return a pointer to the
69 child Span at index ``id``. In addition, ``id`` can be negative to index
82 Use :cpp:expr:`lv_spangroup_get_span_count(spangroup)` to get
[all …]
/lvgl-latest/docs/details/base-widget/
Dlayer.rst7 When the term "layer" is used in LVGL documentation, it may refer to one of several
26 For example, assume we add a button to a parent Widget named button1 and
46 /* Add labels to the buttons */
61 There are four explicit ways to bring a Widget to the foreground:
63 - Use :cpp:expr:`lv_obj_move_foreground(widget)` to bring a Widget to the foreground.
64 Similarly, use :cpp:expr:`lv_obj_move_background(widget)` to move it to the background.
65 - Use :cpp:expr:`lv_obj_move_to_index(widget, idx)` to move a Widget to a given index in the order …
69 …- ``< 0``: count from the top, to move forward (up): :cpp:expr:`lv_obj_move_to_index(widget, lv_ob…
71 - Use :cpp:expr:`lv_obj_swap(widget1, widget2)` to swap the relative layer position of two Widgets.
80 Some style properties cause LVGL to allocate a buffer and render a Widget and its
[all …]
/lvgl-latest/scripts/built_in_font/font_license/DejaVuSans/
DLICENSE10 Permission is hereby granted, free of charge, to any person obtaining a copy
12 documentation files (the "Font Software"), to reproduce and distribute the
13 Font Software, including without limitation the rights to use, copy, merge,
14 publish, distribute, and/or sell copies of the Font Software, and to permit
15 persons to whom the Font Software is furnished to do so, subject to the
21 The Font Software may be modified, altered, or added to, and in particular
23 additional glyphs or characters may be added to the Fonts, only if the fonts
24 are renamed to names not containing either the words "Bitstream" or the word
27 This License becomes null and void to the extent applicable to Fonts or Font
46 otherwise to promote the sale, use or other dealings in this Font Software
[all …]
/lvgl-latest/docs/details/integration/driver/display/
Dlcd_stm32_guide.rst4 Step-by-step Guide: How to use the LVGL v9 LCD drivers with STM32 devices
10 This guide is intended to be a step-by-step instruction of how to configure the STM32Cube HAL with …
15to use API to implement LCD support for your LVGL-based project on any platform. Moreover, even in…
17 … whether SPI, parallel i8080 bus or other. It is the user's responsibility to implement – and opti…
19 …eed to configure LVGL to use the driver corresponding to your hardware (if it is other than the ST…
23 …ity over performance. Despite of this the performance is very good, thanks to the efficient, DMA-b…
34 In this example we'll use the SPI1 peripheral to connect the microcontroller to the LCD panel. Besi…
52 #. Set Targeted Project Type to STM32Cube and press Finish.
53 #. Say "Yes" to Initialize peripherals with their default Mode? After the project is created, the c…
54 #. Switch to the Pinout & Configuration tab.
[all …]
/lvgl-latest/docs/details/libs/
Drlottie.rst12 LVGL provides the interface to `Samsung/rlottie <https://github.com/Samsung/rlottie>`__ library's C
13 API. That is the actual Lottie player is not part of LVGL, it needs to
38 And finally add the ``-lrlottie`` flag to your linker.
40 On embedded systems you need to take care of integrating Rlottie to the
52 first you need to enable :c:macro:`LV_USE_RLOTTIE` in ``lv_conf.h``.
64 lv_obj_t * lottie = lv_rlottie_create_from_file(parent, width, height, "path/to/lottie.json");
79 ``lvgl/scripts/filetohex.py`` can be used to convert a Lottie file a hex
84 ./filetohex.py path/to/lottie.json --filter-character --null-terminate > out.txt
86 …cters and ``--null-terminate`` makes sure that a trailing zero is appended to properly close the s…
107 LVGL provides two functions to control the animation mode:
[all …]
/lvgl-latest/examples/libs/freetype/
DOFL.txt13 The goals of the Open Font License (OFL) are to stimulate worldwide
14 development of collaborative font projects, to support the font creation
15 efforts of academic and linguistic communities, and to provide a free and
19 The OFL allows the licensed fonts to be used, studied, modified and
25 requirement for fonts to remain under this license does not apply
26 to any document created using the fonts or their derivatives.
29 "Font Software" refers to the set of files released by the Copyright
33 "Reserved Font Name" refers to any names specified as such after the
36 "Original Version" refers to the collection of Font Software components as
39 "Modified Version" refers to any derivative made by adding to, deleting,
[all …]

123456789