同步操作将从 Gitee 极速下载/littlevGL 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Available in the dev
branch
focus_parent
attribute to lv_obj
max_used
propriety to lv_mem_monitor_t
structlv_textarea
fix wrong cursor position when clicked after the last characterset_px_cb
for transparent pixellv_conf_template.h
set_px_cb
lv_dropdown
: fix missing LV_EVENT_VALUE_CHANGED
event when used with encoderlv_tileview
: fix if not the {0;0} tile is created firstlv_debug
: restructure to allow asserting in from lv_misc
too_lv_mem_buf_get()
failslv_textarea
: fix character delete in password modeLV_OPA_MIN
and LV_OPA_MAX
to widen the opacity processed rangelv_btnm
fix sending events for hidden buttonslv_gaguge
make lv_gauge_set_angle_offset
offset the labels and needles tooscrllable
-> scrollable
tabview
by default allow auto expanding the page only to right and bottom (#1573)_
to reduce the API of LVGLLV_USE_ARABIC_PERSIAN_CHARS
is enabledlv_theme_get_color_secondary()
LV_COLOR_MIX_ROUND_OFS
to adjust color mixing to make it compatible with the GPUlv_ll
(caused issues with some optimization settings)lv_chart
fix X tick drawingThe docs for v7 is available at https://docs.littlevgl.com/v7/en/html/index.html
The name of the project is changed to LVGL and the new website is on https://lvgl.io
LVGL remains free under the same conditions (MIT license) and a company is created to manage LVGL and offer services.
Complete rework of LVGL's draw engine to use "masks" for more advanced and higher quality graphical effects. A possible use-case of this system is to remove the overflowing content from the rounded edges. It also allows drawing perfectly anti-aliased circles, lines, and arcs. Internally, the drawings happen by defining masks (such as rounded rectangle, line, angle). When something is drawn the currently active masks can make some pixels transparent. For example, rectangle borders are drawn by using 2 rectangle masks: one mask removes the inner part and another the outer part.
The API in this regard remained the same but some new functions were added:
lv_img_set_zoom
: set image object's zoom factorlv_img_set_angle
: set image object's angle without using canvaslv_img_set_pivot
: set the pivot point of rotationThe new drawing engine brought new drawing features too. They are highlighted in the "style" section.
The old style system is replaced with a new more flexible and lightweighted one. It uses an approach similar to CSS: support cascading styles, inheriting properties and local style properties per object. As part of these updates, a lot of objects were reworked and the APIs have been changed.
LV_BLEND_MODE_NORMAL/ADDITIVE/SUBTRACTIVE
blending modesRead the Style section of the documentation to learn how the new styles system works.
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.
Right now, only ST's DMA2D (Chrom-ART) is integrated. More will in the upcoming releases.
The following object types are renamed:
dropdown
: Completely reworked. Now creates a separate list when opened and can be dropped to down/up/left/right.label
: body_draw
is removed, instead, if its style has a visible background/border/shadow etc it will be drawn. Padding really makes the object larger (not just virtually as before)arc
: can draw bacground too.btn
: doesn't store styles for each state because it's done naturally in the new style system.calendar
: highlight the pressed datum. The used styles are changed: use LV_CALENDAR_PART_DATE
normal for normal dates, checked for highlighted, focused for today, pressed for the being pressed. (checked+pressed, focused+pressed also work)chart
: only has LINE
and COLUMN
types because with new styles all the others can be described. LV_CHART_PART_SERIES sets the style of the series. bg_opa > 0 draws an area in LINE mode. LV_CHART_PART_SERIES_BG
also added to set a different style for the series area. Padding in LV_CHART_PART_BG
makes the series area smaller, and it ensures space for axis labels/numbers.linemeter
, gauge
: can have background if the related style properties are set. Padding makes the scale/lines smaller. scale_border_width and scale_end_border_width allow to draw an arc on the outer part of the scale lines.gauge
: lv_gauge_set_needle_img
allows use image as needlecanvas
: allow drawing to true color alpha and alpha only canvas, add lv_canvas_blur_hor/ver
and rename lv_canvas_rotate
to lv_canvas_transform
textarea
: If available in the font use bullet (U+2022
) character in text area passwordlv_objmask
: masks can be added to it. The children will be masked accordingly.playback_time
to animations.repeat_count
to animations instead of the current "repeat forever".LV_LAYOUT_PRETTY
with LV_LAYOUT_PRETTY_TOP/MID/BOTTOM
release/v6
master
and release a patch or minor releases every 2 weeks.lv_conf.h
based on lv_conf_templ.h
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。