1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

388 Commits

Author SHA1 Message Date
zhengqingquan
e91786ce49
chore(lv_keyboard): minor optimization and formatting (#4555) 2023-09-14 19:33:34 +02:00
Gabor Kiss-Vamosi
4415f4a766 feat(scale): add lv_scale_set_post_draw and use label_dsc.text_local in a smarter way 2023-09-08 21:40:56 +02:00
bjsylvia
2500da071a
feat(meter): fix crash when deleting meter, should clean up indicator's animation (#4521)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 21:15:30 +02:00
bjsylvia
237f687e93
fix(scale): fix compiling warning (#4519)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-09-04 18:42:50 +02:00
Gabor Kiss-Vamosi
c3e2120616 feat(img): add img.header.stride
see https://github.com/lvgl/lvgl/pull/4414#issuecomment-1698538169
2023-08-31 19:54:36 +02:00
Carlos Diaz
5c1fc63647
feat(scale): add the lv_scale widget (#4196)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 15:09:40 +02:00
Neo Xu
5b60d1de72
feat(str): add lv_strdup (#4498)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-29 18:20:29 +02:00
Neo Xu
362a8e676e
feat(img): support LV_PCT for pivot (#4495)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-28 21:27:37 +02:00
Neo Xu
b6c5ab3954
chore: remove not needed "expression ? true : false" (#4485)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-25 22:58:21 +02:00
Gabor Kiss-Vamosi
c069f98e7a fix(dropdown): position to the selected item in lv_dropdown_set_selected 2023-08-25 13:57:52 +02:00
Gabor Kiss-Vamosi
0b83a82a07 feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
Closes #4358
2023-08-19 01:42:37 +02:00
Benign X
ae3567cb46
fix(chart): fix off-by-one error in chart widget (#4461)
Signed-off-by: W-Mai <1341398182@qq.com>
2023-08-18 10:58:35 +02:00
xaowang96
d47a44f225
feat(bar): add DIR_RTL support in vertical mode (#4459)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-08-17 13:57:35 +02:00
bjsylvia
67ca457a07
fix: fix typos (#4451)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-14 16:49:30 +02:00
_VIFEXTech
9a483c87bf
feat(layer): add more efficient widget translucent mode (#4415)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-14 07:57:19 +02:00
Gabor Kiss-Vamosi
9064e121ba feat(draw_buf): add lv_draw_buf_get_buf to properly handle mem align 2023-08-13 20:56:31 +02:00
Gabor Kiss-Vamosi
c49cdb386f fix(arc): fix setting value in REVERSED mode 2023-08-11 19:09:42 +02:00
Gabor Kiss-Vamosi
45aa59a473
feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
Benign X
cfaf9bd011
fix(lv_img): fix incorrect invalidation area when img mode is real (#4399)
Signed-off-by: xinbingnan<xinbingnan@xiaomi.com>
2023-07-24 17:32:25 +02:00
bjsylvia
b06c553523
feat(tabview): group the global variables into a struct (#4395)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-07-24 17:14:59 +02:00
Gabor Kiss-Vamosi
e50e978cc6 perf(canvas): speed up lv_canvas_fill_bg
fixes #4396
2023-07-24 16:46:55 +02:00
yushuailong
933db950bb
feat: add config set LV_WIDGETS_HAS_DEAFULT_VALUE (#4371)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-07-19 15:09:06 +02:00
Gabor Kiss-Vamosi
6d2d8a7583 fix(chart): fix lv_chart_get_point_pos_by_id
fixes #4367
2023-07-15 21:30:05 +02:00
bjsylvia
657dfe9615
fix: fix compiling warning on Mac (#4379)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-07-15 20:08:25 +02:00
Gabor Kiss-Vamosi
b466045f13 chore: change some // comments to /**/ 2023-07-15 18:39:11 +02:00
Gabor Kiss-Vamosi
1f58504e48 fix(btnmatrix): if a slid to a new button, discard the current button and don't press any buttons
fixes #4301"
2023-07-14 23:09:23 +02:00
Neo Xu
4e00e62846
chore: specify color format value in enum (#4352)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-07-13 20:43:14 +02:00
Neo Xu
dd967ffccc
chore: add OPA mix macro (#4354)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-07-10 20:05:46 +02:00
Neo Xu
7151395e34
feat(anim): add custom cubic-bezier anim path parameter support (#4343)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-07-10 00:38:26 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
zhbi98
08870996d1
chore(switch): use lv_obj_get_content_coords to calculate the indicator coordinates (#4336) 2023-07-03 23:39:31 +02:00
hmadao
987572b1ed
fix(chart): fix x_points not being freed (#4318)
Signed-off-by: HaoHangyu <haohangyu@xiaomi.com>
Co-authored-by: HaoHangyu <haohangyu@xiaomi.com>
2023-06-26 21:04:59 +02:00
Gabor Kiss-Vamosi
a24a9adfbe fix(btnmatrix): fix derefrencing NULL pointer 2023-06-26 11:00:40 +02:00
Gabor Kiss-Vamosi
a8cf57b618 fix(tabview): remove the animation if the tab is selected by clicking the button on the header 2023-06-26 10:34:14 +02:00
Gabor Kiss-Vamosi
b1142ac7b1 fix(btnmatrix): ignore pressing while scrolling
related to #4301
2023-06-26 09:46:30 +02:00
Neo Xu
3fbdd7b6c1
fix(anim): fix compile warnings (#4305)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-06-23 20:32:25 +02:00
Gabor Kiss-Vamosi
03a9828a56 fix(btnmatrix): fix array out of bounds addressing with groups and no buttons 2023-06-19 10:43:07 +02:00
Gabor Kiss-Vamosi
4404bc4d34 fix(checkbox): make it non-editable
fixes: #4283
2023-06-13 20:45:41 +02:00
Gabor Kiss-Vamosi
44958e017e fix(btnmatrix): fix using > 7 as button width 2023-05-31 22:50:02 +02:00
Gabor Kiss-Vamosi
d4d0034e2a fix(line): do not increase sel size with line width
It messes up the alignment

fixes #4251
2023-05-29 11:20:25 +02:00
Benign X
42d24403c3
chore: change anlge and zoom to lv_coord (#4247) 2023-05-29 10:18:48 +02:00
Gabor Kiss-Vamosi
87fbaad477 feat(roller): make scrolling handle transformations
fixes #4244
2023-05-29 09:47:04 +02:00
Benign X
04013f85d6
refactor: replace codes with lv_area_increase (#4242) 2023-05-24 11:41:50 +02:00
Gabor Kiss-Vamosi
453561bc46 fix(msgbox): fix typo 2023-05-18 12:59:42 +02:00
Gabor Kiss-Vamosi
e3876cbf25 fix(msgbox): add missing lv_obj_class_init_obj
fixes #4226
2023-05-18 11:55:06 +02:00
hiornso
239b70a8da
fix(dropdown): lv_dropdown_get_option_index shouldn't match strings of different lengths (#4191) 2023-05-02 10:45:02 +02:00
_VIFEXTech
ac84ae23de
chore: replacement of std string functions with builtin (#4194)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-05-01 11:56:46 +02:00
Kevin Schlosser
3fe1dcd222
docs: fixes API section of the docs to include everything from LVGL. (#4192) 2023-05-01 11:27:28 +02:00
Dustin Holden
7ae90e43d2
fix(btnmatrix): fix wild running loops cont. (#4185) 2023-05-01 11:09:08 +02:00
Neo Xu
c33966c540
fix(img): img->zoom should not right shift 8 bits (#4181)
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-04-28 11:26:22 +02:00