dot
character logical error which cause infinite loop.one_check
in lv_btnmatrix_set_btn_ctrl
LV_GAUGE_PART_PART
lv_group_remove_obj
to handle deleting hidden obejcts correctlylv_table_set_text_fmt()
text_sel_bg
style proeprtylv_win_clean()
lv_obj_create
clean_dcache_cb
and lv_disp_clean_dcache
to enable users to use their own cache management functiongpu_wait_cb
to wait until the GPU is working. It allows to run CPU a wait only when the rendered data is needed.lv_obj_del
and lv_obj_clean
if the children list changed during deletion.decmopr_buf
to GC rootsThe main new features of v7.4 are run-time font loading, style caching and arc knob with value setting by click.
lv_font_load()
function - Loads a lv_font_t
object from a binary font filelv_font_free()
function - Frees the memory allocated by the lv_font_load()
functionLV_ARC_PART_KNOB
similarly to sliderlv_indev_is_dragging(lv_indev_act())
in the event function.lv_chart_clear_serie
to lv_chart_clear_series
and lv_obj_align_origo
to lv_obj_align_mid
lv_table_set_col_cnt
is called before lv_table_set_row_cnt
for the first timelv_btnmatrix_set_one_check
not forcing exactly one button to be checkedlv_task_get_next
lv_event_send_refresh
, lv_event_send_refresh_recursive
to easily send LV_EVENT_REFRESH
to objectlv_tabview_set_tab_name()
function - used to change a tab's nameLV_THEME_MATERIAL_FLAG_NO_TRANSITION
and LV_THEME_MATERIAL_FLAG_NO_FOCUS
flagsLV_USE_FONT_COMPRESSED
and LV_FONT_USE_SUBPX
and applying some optimizationLV_MEMCPY_MEMSET_STD
to use standard memcpy
and memset
LV_EVENT_INSERT
from text arealv_tabview_add_tab
lv_scr_load_anim()
lv_disp_set_bg_opa/color/image()
.LV_CALENDAR_WEEK_STARTS_MONDAY
lv_chart_set_x_start_point()
function - Set the index of the x-axis start point in the data arraylv_chart_set_ext_array()
function - Set an external array of data points to use for the chartlv_chart_set_point_id()
function - Set an individual point value in the chart series directly based on indexlv_chart_get_x_start_point()
function - Get the current index of the x-axis start point in the data arraylv_chart_get_point_id()
function - Get an individual point value in the chart series directly based on indexext_buf_assigned
bit field to lv_chart_series_t
structure - it's true if external buffer is assigned to serieslv_chart_set_series_axis()
to assign series to primary or secondary axislv_chart_set_y_range()
to allow setting range of secondary y axis (based on lv_chart_set_range
but extended with an axis parameter)lv_roller
theme->apply_cb
to replace theme->apply_xcb
to make it compatible with the MicroPython bindinglv_theme_set_base()
to allow easy extension of built-in (or any) themeslv_obj_align_x()
and lv_obj_align_y()
functionslv_obj_align_origo_x()
and lv_obj_align_origo_y()
functionstileview
fix navigation when not screen sizedlinemeter
fix conversation of current value to "level"focus_parent
attribute to lv_obj
max_used
propriety to lv_mem_monitor_t
structlv_init
test if the the strings are UTF-8 encoded.user_data
to themeslv_img
fix invalidation area when angle or zoom changeslv_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)img
: improve hit test for transformed images_
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_template.h
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。