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
Gabor Kiss-Vamosi
666f839977
docs(chart): update chart example
2023-10-16 23:43:35 +02:00
xaowang96
f190d56f5d
feat(checkbox): add RTL support ( #4646 )
...
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-10-10 23:02:05 +02:00
Gabor Kiss-Vamosi
edc89960ea
fix(draw): fix using placeholders in a glyph is not found
2023-10-04 10:33:35 +02:00
Raúl Gotor
0b66468f2f
ci(span): add unit test ( #4595 )
2023-10-02 18:04:01 +02:00
Gabor Kiss-Vamosi
9d8570aa3f
fix(draw) fix stride realted bugs in SW render
2023-09-28 12:22:49 +02:00
Gabor Kiss-Vamosi
9c437d1073
feat(grid): add a basic subgrid implementation
2023-09-25 20:56:09 +02:00
_VIFEXTech
9937138392
feat(libs): add libpng decoder ( #4569 )
...
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-25 10:28:35 +02:00
Lemon
2f67d804ce
feat(barcode): add vertical display mode ( #4564 )
...
Signed-off-by: liujp <liujp@xiaomi.com>
Co-authored-by: liujp <liujp@xiaomi.com>
2023-09-24 21:41:24 +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
Gabor Kiss-Vamosi
ca55b2ed8d
arch(img_decoder): replace read_liine_c with get_area_cb
...
also remove sjpeg support as get_area_cb can de quite same (some optimization is still needed to not decode the out of bounds chunks)
2023-09-18 21:19:00 +02:00
Gabor Kiss-Vamosi
490f3da4e7
feat(img): replace image decider read_line_cb with get_area_cb
2023-09-01 13:38:58 +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
Zoltan Janosy
ca54d127c2
feat(fs): add support for memory-mapped files ( #4462 )
...
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 13:00:26 +02:00
xaowang96
d7289962f1
ci(bar): add screenshot test ( #4503 )
...
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-08-31 10:19:26 +02:00