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

148 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
f622750cfe
fix(label): consider max-width (#5644) 2024-02-13 16:27:41 +01:00
PGNetHun
3f3066ee2c
fix(calendar): fix crash when no default is set (#5621) 2024-02-12 19:14:43 +01:00
Gabor Kiss-Vamosi
10978c94c2
feat(image, layer): add bitmap mask feature (#5545) 2024-02-10 20:57:46 +01:00
Neo Xu
e4de2d265a
feat(vector): add API to append arc (#5510)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-30 17:33:10 +08:00
Gabor Kiss-Vamosi
4f9c16f177
fix(chart): set the series id correctly (#5482) 2024-01-29 13:27:21 +01:00
lhdjply
e05e1f3c7a
fix(draw_line): fix the issue where dash_dap equals 1 and cannot display properly when the line is a horizontal line (#5473)
Signed-off-by: lhdjply <lhdjply@126.com>
2024-01-25 11:15:13 +01:00
Benign X
3dcbe2bf4c
test(snapshot): add testcase for #5475 (#5478) 2024-01-25 15:39:07 +08:00
Neo Xu
214d72da88
feat(test): automatically generate test image (#4976)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-19 10:38:30 +01:00
_VIFEXTech
32828206d1
chore(imgfont): simplify imgfont_dsc_t data structure (#5354)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-17 14:33:02 +01:00
Gabor Kiss-Vamosi
74c72d7c7c
fix(calendar): style today and highlighted dates (#5310) 2024-01-14 21:30:04 +08:00
Carlos Diaz
87e9d549b1
feature(calendar): add interface to set a custom year list (#5227) 2024-01-11 03:26:47 +01:00
Gabor Kiss-Vamosi
4699f2f556
fix(bar): fix the clipping of the indicator in some corner cases (#5229) 2024-01-09 17:13:25 +01:00
Benign X
2633a33b48
feat(freetype): add new freetype testcase (#5207) 2024-01-07 15:39:50 +08:00
PGNetHun
a0e75077d8
fix(lodepng): fix LodePNG 8 bit palette image to RGBA data conversion bug (#5108) 2024-01-02 14:18:45 +08:00
Carlos Diaz
c750f30f8f
test(scale): add tests for scale widget (#4678) 2023-12-30 10:40:46 +01:00
Benign X
a34f490394
feat(cache): new cache framework (#5049)
Co-authored-by: _VIFEXTech <vifextech@foxmail.com>
2023-12-25 11:37:59 +08:00
Gabor Kiss-Vamosi
a720948aa1 fix(draw): fix off by one scaling issue o nthe left and bottom
fixes #4993
2023-12-18 17:06:00 +01:00
yushuailong
636aba8c34
fix(label): fix rtl txt long dots not show all (#4962)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-12-13 16:13:24 +01:00
Gabor Kiss-Vamosi
de2f7effd9 fix(list): fix text style
fixes #5005
2023-12-13 15:38:44 +01:00
Gabor Kiss-Vamosi
779d2025b8 fix(msgbox): use LV_OPA_50 for the backdrop in the default theme 2023-12-13 07:40:37 +01:00
Gabor Kiss-Vamosi
57a4497a09 refactor(msgbox): make msgbox more modular and flexible 2023-12-12 15:37:45 +01:00
Neo Xu
f1e021e7b3
fix(qrcode): fix crash due to buf_unalign modification (#4987)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-12 09:12:17 +01:00
Neo Xu
47a244afe1 ci(image): test all image formats (#4974)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 14:25:33 +01:00
Neo Xu
d14f2f69bd
feat(test): add stride aligned image test (#4839)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-06 23:15:19 +01:00
Gabor Kiss-Vamosi
2d422f421f ci: update reference images 2023-12-06 15:05:43 +01:00
Gabor Kiss-Vamosi
3c7e8bd0d4 fix(draw): fix bottom part of triangle drawing
see #4895
2023-12-05 17:12:17 +01:00
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
Gabor Kiss-Vamosi
1320f4fc02 test(binding): add animation delete test 2023-11-23 21:03:34 +01:00
Gabor Kiss-Vamosi
dbf0444d79 test(draw): add blend mode test to lv_demo_render 2023-11-22 23:15:49 +01:00
Neo Xu
6230e755e0
fix(test): remove space in file name (#4849)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-22 20:15:54 +01:00
Gabor Kiss-Vamosi
2f3e8d4066 feat(draw): add initial SDL renderer
It caches SW rendered bitmaps in textures.
The cache is also updated to support data and source separately.
E.g. source is a path to an image, and if that image changes all
related cache entries needs to found and invalidated.

Limitations of SDL rederer:
- not all draw task types are supported
- image transformation is not supported
- some textures (e.g. button matrix texts) are not detected as cached
- images are not cached
- images are supported only from path
2023-11-18 15:35:45 +01:00
Gabor Kiss-Vamosi
43a231cf5a refactor(tabview): make it use with buttons instead of button matrix 2023-11-15 22:42:33 +01:00
Gabor Kiss-Vamosi
6e91a1e99c test(draw): add rendering test for RGB565, RGB888, XRGRB8888, and ARGB8888 2023-11-15 12:57:50 +01:00
Gabor Kiss-Vamosi
628fb98b52 fix(draw): fix minor issues in SW render 2023-11-15 09:47:34 +01:00
Neo Xu
8e076cc230
feat(image): support C array type of alpha-only image in the built-in decoder (#4797)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 18:14:36 +01:00
Gabor Kiss-Vamosi
ddc1bdf815 feat(font_load): add lv_font_* as paramater to lv_font_load
This way if a font is used by styles or widgets it can be easily reloaded
without updating the font pointer on all places.
2023-11-13 14:47:11 +01:00
Neo Xu
d73f260002
feat(image): add custom RLE decoder (#4332)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 08:38:27 +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
3bb649db7f test: add binding test reference
related to #4645
2023-11-08 22:28:14 +01:00
Gabor Kiss-Vamosi
048b28be23 test: reorganize tests and ref_images 2023-11-08 00:53:41 +01:00
Gabor Kiss-Vamosi
d02562b796 feat(image): add lv_image_align_t to stretch, tile, and align images
related to #4733
2023-11-08 00:34:22 +01:00
Niklas Fiekas
8fabcc6853
feat(font): add option to disable kerning (#4725) 2023-10-30 13:23:20 +01:00
Neo Xu
0910ee0e38
feat(image decoder): decode whole image to RAM support (#4674)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-29 17:02:06 +01:00
Niklas Fiekas
ef1885f670
fix(tiny_ttf): fix font metrics confusion (#4714) 2023-10-27 11:54:02 +02:00
Gabor Kiss-Vamosi
0b2cccbdb3 ci(render): integrate lv_demo_render to the unit tests 2023-10-26 23:07:50 +02:00
Gabor Kiss-Vamosi
e64a0afcef asd 2023-10-26 23:07:50 +02:00
Gabor Kiss-Vamosi
84c8cf8573 feat(arc): add float support 2023-10-25 11:05:04 +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
Gabor Kiss-Vamosi
865a2f64a0 chore: minor docs fixes 2023-10-17 14:32:09 +02:00