Commit Graph

228 Commits

Author SHA1 Message Date
Neo Xu
0233247406 feat(image): add LZ4 compressed binary image support (#4873)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-30 13:20:31 +01:00
Neo Xu
16254ef90d feat(rle): add RLE compressed binary image support (#4870)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-30 09:47:15 +01:00
Neo Xu
0cf71065cb chore(script): generate C array with more paras to avoid conflicts (#4890)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-28 17:40:31 +01:00
Neo Xu
fea780e837 feat(lib): add lz4 lib support (#4872)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-28 15:05:16 +01:00
Peter Bee
a51beb9051 feat(draw): add unified NEON acceleration (#4860)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-27 12:32:55 +01:00
Neo Xu
2970b84b1b feat(tool): PNG to lvgl image in python (#4414)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-22 20:16:59 +01:00
Gabor Kiss-Vamosi
293937a1df feat(anim): make animation time support speed as well 2023-11-13 22:14:01 +01:00
Zhang Ji Peng
8cf0bbb558 feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Gabor Kiss-Vamosi
d28f80d362 refactor(style): rename shadow_ofs to shadow_offset 2023-10-31 19:10:02 +01:00
Gabor Kiss-Vamosi
3ff625483c demos(render): start render demo 2023-10-25 13:38:37 +02:00
Gabor Kiss-Vamosi
84c8cf8573 feat(arc): add float support 2023-10-25 11:05:04 +02:00
Viktor Szépe
742682ae51 chore: fix execute permissions and shebangs (#4695) 2023-10-24 09:41:51 +02:00
Viktor Szépe
f9572ed303 chore: remove BOM and fix typos (#4685) 2023-10-22 06:39:43 +02:00
Gabor Kiss-Vamosi
85798af3cd feat(draw): add non uniform scale (scale_x and scale_y) 2023-10-20 23:29:22 +02:00
_VIFEXTech
c4c4627ae0 feat(libs): add libjpeg-turbo decoder (#4567)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-22 10:43:59 +02:00
_VIFEXTech
e53cd59fcb chore(libs/jpg): rename lv_jpg to lv_tjpgd (#4573)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-09-20 10:38:47 +02:00
_VIFEXTech
45fb2148d5 chore(libs/png): rename lv_png to lv_lodepng (#4574)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-20 10:30:04 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
bjsylvia
83cd50b4df fix(typos): fix some typos for style (#4469)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-20 21:03:24 +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
Kevin Schlosser
dcffe24094 fix: add guard macros to lv_style_gen.c,h and lv_obj_style_gen.c,h (#4450) 2023-08-16 22:24:37 +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
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
_VIFEXTech
06b3b62475 feat(profiler): add built-in profiler (#4255)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: W-Mai <1341398182@qq.com>
2023-06-05 16:53:57 +02:00
Kevin Schlosser
236c1e0c73 docs: fixes few things (#4249) 2023-05-29 10:46:42 +02:00
Kevin Schlosser
8c99b359d2 docs: fixes several issues related to migrating to rst (#4213) 2023-05-08 16:45:28 +02:00
Kevin Schlosser
e485dd8bb4 feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00
Gabor Kiss-Vamosi
1a87e65959 ci(docs): remove lv_drivers 2023-02-20 22:08:53 +01:00
Fabian
70321fb102 chore(scripts): change line-ending of lv conf python script (#3967) 2023-02-05 08:06:30 +01:00
Carlos Diaz
76547db1d7 refactor(rename): LV_IMG_ZOOM_NONE to LV_ZOOM_NONE (#3957)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-02-04 17:20:42 +01:00
W-Mai
8ed8542681 feat(margin): add margin style property (#3807)
Signed-off-by: W-Mai <1341398182@qq.com>
Signed-off-by: xinbingnan<xinbingnan@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-01-18 09:52:30 +01:00
Karim
cbcd38efc8 fix(scripts): in lv_conf_internal preserve newline value for updated … (#3923) 2023-01-16 09:27:46 +01:00
h13
c4ea9db787 chore: fix missing include. (#3837) 2022-12-21 22:17:57 +01:00
some00
d33e56e951 test(cmake): exclude test targets from build only configurations (#3821) 2022-12-21 08:31:23 +01:00
embeddedt
ca8f0ab549 refactor(style) prefix const property IDs with an underscore 2022-07-26 13:18:23 -04:00
Gabor Kiss-Vamosi
59818094c5 update lv_conf_temaple.h 2022-07-21 22:45:23 +02:00
embeddedt
d6e5200013 refactor(style): store constant property IDs with a pointer instead of directly (#3506) 2022-07-20 11:32:40 +02:00
Xiang Xiao
dc1e4c87b0 fix(format): check more source code (#3493)
and sync .pre-commit-config.yaml with scripts/code-format.py

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 15:28:16 +02:00
Xiang Xiao
0e367d0a76 chore(config): fix the style issue in lv_conf_template.h (#3469)
* chore(config): fix the style issue in lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* chore(format): don't exclude lv_conf_internal.h from code-format.cfg

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-11 14:06:31 +02:00
Xiang Xiao
4e7a0b2824 chore: correct the code format in lv_conf_template.h (#3310)
* chore: correct the code format in lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* feat(config): support #undef in lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 20:58:09 +02:00
Gabor Kiss-Vamosi
318146a2c2 feat(draw): support transforming widgets and improfe sw transform
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
Xiang Xiao
4c4f954059 chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
embeddedt
8ac93ad883 refactor(style) move flag information into a dedicated table (#3102) 2022-03-07 10:01:25 -05:00
Andres O. Vela
340d45cfa9 feat(label): added animation style property to apply it to circular scrolling animation of label widget (#3128)
* feat(label): added animation style property to apply it to circular scrolling animation of label widget

Added an animation style property to be used as animation template for different use cases in different widgets.
This commit implements using this property to set the start and repeat delay of the circular scrolling animation of the label widget.

Closes #3097

* fix(label): changed animation style property's var_type to `const lv_anim_t *`

* example(label): added example showing how to customize circular scrolling animation

* chore(label): ran code-format.py and added missing function prototype to lv_example_widgets.h
2022-02-25 11:54:27 +01:00
Carlos Diaz
a83cae012d feat(script): add pre-commit configuration for code formatting (#3092)
* Add initial pre-commit configuration for code formatting

* chore: Move --recursive switch from cfg file to script

* pre-commit: Update format-source hook to use code-format.cfg

Also remove the code-format-per-file.cfg file as it's now unused

* docs: Add section about pre-commit
2022-02-24 18:44:39 +01:00
Alexandre Abadie
774403b3cf fix(script): in lv_conf_internal fix some widget dependencies when using Kconfig (#3119)
* widgets: make dependencies internal handling consistent when using Kconfig

* scripts/lv_conf_internal_gen.py: fix issue with widget with dependencies

* scripts/lv_conf_internal_gen.py: allow to call it from other directory
2022-02-22 19:45:33 +01:00
embeddedt
9771050b99 chore(format) add formatting for examples & demos, merge test config 2022-02-13 13:59:17 -05:00