docs(links): fix outdated links and imrpove formatting (#3698)

This commit is contained in:
Fabian
2022-09-22 22:09:16 +02:00
committed by GitHub
parent 41c5870e12
commit 46cbbd672f
9 changed files with 22 additions and 20 deletions
+2 -2
View File
@@ -1682,7 +1682,7 @@ The main new features of v7.4 are run-time font loading, style caching and arc k
## v7.0.0 (18.05.2020) ## v7.0.0 (18.05.2020)
### Documentation ### Documentation
The docs for v7 is available at https://docs.littlevgl.com/v7/en/html/index.html The docs for v7 is available at https://docs.lvgl.io/7.11/index.html
### Legal changes ### Legal changes
@@ -1721,7 +1721,7 @@ As part of these updates, a lot of objects were reworked and the APIs have been
- *value* display a text which is stored in the style. It can be used e.g. as a light-weighted text on buttons too. - *value* display a text which is stored in the style. It can be used e.g. as a light-weighted text on buttons too.
- *margin*: similar to *padding* but used to keep space outside the object - *margin*: similar to *padding* but used to keep space outside the object
Read the [Style](https://docs.littlevgl.com/v7/en/html/overview/style.html) section of the documentation to learn how the new styles system works. Read the [Style](https://docs.lvgl.io/7.11/overview/style.html) section of the documentation to learn how the new styles system works.
### GPU integration ### GPU integration
To better utilize GPUs, from this version GPU usage can be integrated into LVGL. In `lv_conf.h` any supported GPUs can be enabled with a single configuration option. To better utilize GPUs, from this version GPU usage can be integrated into LVGL. In `lv_conf.h` any supported GPUs can be enabled with a single configuration option.
+5 -5
View File
@@ -52,7 +52,7 @@ SquareLine Studio é um editor de interface do usuário de (arrasta e solta) pro
Nossa equipe está pronta para ajudá-lo com design gráfico, implementação de UI e serviços de consultoria. Entre em contato conosco se precisar de algum suporte durante o desenvolvimento de seu próximo projeto de GUI. Nossa equipe está pronta para ajudá-lo com design gráfico, implementação de UI e serviços de consultoria. Entre em contato conosco se precisar de algum suporte durante o desenvolvimento de seu próximo projeto de GUI.
## :rocket: Recursos ## :rocket: Recursos
**Gratuito e portátil** **Gratuito e portátil**
@@ -73,7 +73,7 @@ Nossa equipe está pronta para ajudá-lo com design gráfico, implementação de
- Mecanismo de renderização que suporta animações, anti-aliasing, opacidade, rolagem suave (smooth scroll), sombras, transformação de imagens, etc. - Mecanismo de renderização que suporta animações, anti-aliasing, opacidade, rolagem suave (smooth scroll), sombras, transformação de imagens, etc.
- Suporta mouse, touchpad, teclado, botões externos, dispositivos de entrada codificadores (encoders). - Suporta mouse, touchpad, teclado, botões externos, dispositivos de entrada codificadores (encoders).
- Suporta vários monitores. - Suporta vários monitores.
**Suporte de vinculação (binding) e compilação de arquivos** **Suporte de vinculação (binding) e compilação de arquivos**
- Exposição da API do LVGL com o [Micropython](https://blog.lvgl.io/2019-02-20/micropython-bindings) - Exposição da API do LVGL com o [Micropython](https://blog.lvgl.io/2019-02-20/micropython-bindings)
@@ -107,13 +107,13 @@ Se alguém implementar ou corrigir um problema rotulado como [Patrocinado](https
**Pessoas que apoiam o projeto LVGL**<br> **Pessoas que apoiam o projeto LVGL**<br>
[![Backers of LVGL](https://opencollective.com/lvgl/individuals.svg?width=600)](https://opencollective.com/lvgl) [![Backers of LVGL](https://opencollective.com/lvgl/individuals.svg?width=600)](https://opencollective.com/lvgl)
## :package: Pacotes ## :package: Pacotes
LVGL está disponível para: LVGL está disponível para:
- [Arduino library](https://docs.lvgl.io/master/get-started/platforms/arduino.html) - [Arduino library](https://docs.lvgl.io/master/get-started/platforms/arduino.html)
- [PlatformIO package](https://registry.platformio.org/libraries/lvgl/lvgl) - [PlatformIO package](https://registry.platformio.org/libraries/lvgl/lvgl)
- [Zephyr library](https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LVGL.html) - [Zephyr library](https://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LVGL)
- [ESP32 component](https://docs.lvgl.io/master/get-started/platforms/espressif.html) - [ESP32 component](https://docs.lvgl.io/master/get-started/platforms/espressif.html)
- [NXP MCUXpresso component](https://www.nxp.com/design/software/embedded-software/lvgl-open-source-graphics-library:LITTLEVGL-OPEN-SOURCE-GRAPHICS-LIBRARY) - [NXP MCUXpresso component](https://www.nxp.com/design/software/embedded-software/lvgl-open-source-graphics-library:LITTLEVGL-OPEN-SOURCE-GRAPHICS-LIBRARY)
- [NuttX library](https://docs.lvgl.io/master/get-started/os/nuttx.html) - [NuttX library](https://docs.lvgl.io/master/get-started/os/nuttx.html)
@@ -405,7 +405,7 @@ Esta lista irá guiá-lo para começar com o LVGL passo a passo.
3. Familiarize-se com o básico na página de [visão geral rápida](https://docs.lvgl.io/master/get-started/quick-overview.html) (~15 minutos) 3. Familiarize-se com o básico na página de [visão geral rápida](https://docs.lvgl.io/master/get-started/quick-overview.html) (~15 minutos)
**Começando a usar o LVGL** **Começando a usar o LVGL**
4. Configure um [simulador](https://docs.lvgl.io/master/get-started/platforms/pc-simulator.html) (~10 minutos) 4. Configure um [simulador](https://docs.lvgl.io/master/get-started/platforms/pc-simulator.html) (~10 minutos)
5. Experimente alguns [exemplos](https://github.com/lvgl/lvgl/tree/master/examples) 5. Experimente alguns [exemplos](https://github.com/lvgl/lvgl/tree/master/examples)
6. Porte o LVGL para uma placa. Veja o guia [portando o LVGL](https://docs.lvgl.io/master/porting/index.html) ou veja um projeto pronto para usar em [projetos](https://github.com/lvgl?q=lv_port_) 6. Porte o LVGL para uma placa. Veja o guia [portando o LVGL](https://docs.lvgl.io/master/porting/index.html) ou veja um projeto pronto para usar em [projetos](https://github.com/lvgl?q=lv_port_)
+2 -2
View File
@@ -121,8 +121,8 @@ LVGL本身并不依赖特定的硬件平台,任何满足LVGL硬件配置要求
LVGL也支持: LVGL也支持:
- [Arduino library](https://docs.lvgl.io/master/get-started/platforms/arduino.html) - [Arduino library](https://docs.lvgl.io/master/get-started/platforms/arduino.html)
- [PlatformIO package](https://platformio.org/lib/show/12440/lvgl) - [PlatformIO package](https://registry.platformio.org/libraries/lvgl/lvgl)
- [Zephyr library](https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LVGL.html) - [Zephyr library](https://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LVGL)
- [ESP32 component](https://docs.lvgl.io/master/get-started/platforms/espressif.html) - [ESP32 component](https://docs.lvgl.io/master/get-started/platforms/espressif.html)
- [NXP MCUXpresso component](https://www.nxp.com/design/software/embedded-software/lvgl-open-source-graphics-library:LITTLEVGL-OPEN-SOURCE-GRAPHICS-LIBRARY) - [NXP MCUXpresso component](https://www.nxp.com/design/software/embedded-software/lvgl-open-source-graphics-library:LITTLEVGL-OPEN-SOURCE-GRAPHICS-LIBRARY)
- [NuttX library](https://docs.lvgl.io/master/get-started/os/nuttx.html) - [NuttX library](https://docs.lvgl.io/master/get-started/os/nuttx.html)
+1 -1
View File
@@ -58,7 +58,7 @@ On **Linux** you can easily install SDL2 using a terminal:
4. If build essentials are not installed yet: `sudo apt-get install build-essential` 4. If build essentials are not installed yet: `sudo apt-get install build-essential`
#### Windows #### Windows
If you are using **Windows** firstly you need to install MinGW ([64 bit version](http://mingw-w64.org/doku.php/download)). After installing MinGW, do the following steps to add SDL2: If you are using **Windows** firstly you need to install MinGW ([64 bit version](https://www.mingw-w64.org/downloads/#msys2)). After installing MinGW, do the following steps to add SDL2:
1. Download the development libraries of SDL. 1. Download the development libraries of SDL.
Go to [https://www.libsdl.org/download-2.0.php](https://www.libsdl.org/download-2.0.php) and download _Development Libraries: SDL2-devel-2.0.5-mingw.tar.gz_ Go to [https://www.libsdl.org/download-2.0.php](https://www.libsdl.org/download-2.0.php) and download _Development Libraries: SDL2-devel-2.0.5-mingw.tar.gz_
+1 -1
View File
@@ -115,7 +115,7 @@ Along with the basic attributes, widgets can have type specific parameters which
lv_slider_set_value(slider1, 70, LV_ANIM_ON); lv_slider_set_value(slider1, 70, LV_ANIM_ON);
``` ```
To see the full API visit the documentation of the widgets or the related header file (e.g. [lvgl/src/widgets/lv_slider.h](https://github.com/lvgl/lvgl/blob/master/src/widgets/lv_slider.h)). To see the full API visit the documentation of the widgets or the related header file (e.g. [lvgl/src/widgets/slider/lv_slider.h](https://github.com/lvgl/lvgl/blob/master/src/widgets/slider/lv_slider.h)).
+1 -1
View File
@@ -41,7 +41,7 @@ You can simply pass the path to the font as usual on your operating system or pl
## Learn more ## Learn more
- FreeType [tutorial](https://www.freetype.org/freetype2/docs/tutorial/step1.html) - FreeType [tutorial](https://www.freetype.org/freetype2/docs/tutorial/step1.html)
- LVGL's [font interface](https://docs.lvgl.io/v7/en/html/overview/font.html#add-a-new-font-engine) - LVGL's [font interface](https://docs.lvgl.io/master/overview/font.html#add-a-new-font-engine)
## API ## API
+1 -1
View File
@@ -126,7 +126,7 @@ If an object is focused either by clicking it via touchpad or focused via an enc
If an object switches to edit mode it enters the `LV_STATE_FOCUSED | LV_STATE_EDITED` states so these style properties will be shown. If an object switches to edit mode it enters the `LV_STATE_FOCUSED | LV_STATE_EDITED` states so these style properties will be shown.
For a more detailed description read the [Style](https://docs.lvgl.io/v7/en/html/overview/style.html) section. For a more detailed description read the [Style](https://docs.lvgl.io/master/overview/style.html) section.
## API ## API
+8 -6
View File
@@ -60,11 +60,11 @@ Therefore the 2 buffers needs to synchronized in `flush_cb` like this:
1. Display the frame buffer pointed by `color_p` 1. Display the frame buffer pointed by `color_p`
2. Copy the redrawn areas from `color_p` to the other buffer. 2. Copy the redrawn areas from `color_p` to the other buffer.
The get the redrawn areas to copy use the following functions To get the redrawn areas to copy use the following functions:
`_lv_refr_get_disp_refreshing()` returns the display being refreshed - `_lv_refr_get_disp_refreshing()` returns the display being refreshed
`disp->inv_areas[LV_INV_BUF_SIZE]` contains the invalidated areas - `disp->inv_areas[LV_INV_BUF_SIZE]` contains the invalidated areas
`disp->inv_area_joined[LV_INV_BUF_SIZE]` if 1 that area was joined into another one and should be ignored - `disp->inv_area_joined[LV_INV_BUF_SIZE]` if 1 that area was joined into another one and should be ignored
`disp->inv_p` number of valid elements in `inv_areas` - `disp->inv_p` number of valid elements in `inv_areas`
## Display driver ## Display driver
@@ -200,7 +200,9 @@ There is a noticeable amount of overhead to performing rotation in software. Har
The default rotation of your display when it is initialized can be set using the `rotated` flag. The available options are `LV_DISP_ROT_NONE`, `LV_DISP_ROT_90`, `LV_DISP_ROT_180`, or `LV_DISP_ROT_270`. The rotation values are relative to how you would rotate the physical display in the clockwise direction. Thus, `LV_DISP_ROT_90` means you rotate the hardware 90 degrees clockwise, and the display rotates 90 degrees counterclockwise to compensate. The default rotation of your display when it is initialized can be set using the `rotated` flag. The available options are `LV_DISP_ROT_NONE`, `LV_DISP_ROT_90`, `LV_DISP_ROT_180`, or `LV_DISP_ROT_270`. The rotation values are relative to how you would rotate the physical display in the clockwise direction. Thus, `LV_DISP_ROT_90` means you rotate the hardware 90 degrees clockwise, and the display rotates 90 degrees counterclockwise to compensate.
(Note for users upgrading from 7.10.0 and older: these new rotation enum values match up with the old 0/1 system for rotating 90 degrees, so legacy code should continue to work as expected. Software rotation is also disabled by default for compatibility.)
```note:: For users upgrading from 7.10.0 and older: these new rotation enum values match up with the old 0/1 system for rotating 90 degrees, so legacy code should continue to work as expected. Software rotation is also disabled by default for compatibility.
```
Display rotation can also be changed at runtime using the `lv_disp_set_rotation(disp, rot)` API. Display rotation can also be changed at runtime using the `lv_disp_set_rotation(disp, rot)` API.
+1 -1
View File
@@ -11,7 +11,7 @@ while(1) {
/*Sleep after 1 sec inactivity*/ /*Sleep after 1 sec inactivity*/
else { else {
timer_stop(); /*Stop the timer where lv_tick_inc() is called*/ timer_stop(); /*Stop the timer where lv_tick_inc() is called*/
sleep(); /*Sleep the MCU*/ sleep(); /*Sleep the MCU*/
} }
my_delay_ms(5); my_delay_ms(5);
} }