lhdjply
61367fcd5f
fix(warning): fix warning in benchmark ( #5165 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2024-01-03 10:53:14 +01:00
_VIFEXTech
5c4c41e3d0
Merge pull request #5032 from FASTSHIFT/fix_draw_sw_vector
...
fix(draw_vector): fix build break when thorvg disabled
2023-12-19 10:36:30 +08:00
Gabor Kiss-Vamosi
35d4100bca
chore: fix code formatting
2023-12-18 13:30:40 +01:00
Gabor Kiss-Vamosi
b54549cae4
chore(demo_benchmark): make the table widget local
...
fixes #5025
2023-12-18 13:21:25 +01:00
pengyiqiang
63953a0717
fix(draw_vector): fix build break when thorvg disabled
...
```
lvgl/demos/lv_demos.c:74:37: error: ‘lv_demo_vector_graphic’ undeclared here (not in a function)
74 | { "vector_graphic", .entry_cb = lv_demo_vector_graphic },
| ^~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: lib/liblvgl.a(lv_draw_sw.c.o): in function `execute_drawing':
lvgl/src/draw/sw/lv_draw_sw.c:338: undefined reference to `lv_draw_sw_vector'
```
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-18 12:22:35 +08:00
Gabor Kiss-Vamosi
9cd016d958
demo(benchmark): add summary
2023-12-14 21:39:52 +01:00
Gabor Kiss-Vamosi
cad4a4529c
refactor: lv_anim_set_playback_time -> lv_anim_set_playback_duration
2023-12-13 22:23:12 +01:00
Gabor Kiss-Vamosi
d5daccdd48
docs: update API comments
2023-12-13 22:23:03 +01:00
Gabor Kiss-Vamosi
09e1966eb3
fix(msgbox): fix micropython example
2023-12-12 17:07:09 +01:00
Gabor Kiss-Vamosi
57a4497a09
refactor(msgbox): make msgbox more modular and flexible
2023-12-12 15:37:45 +01:00
Gabor Kiss-Vamosi
88865dd910
refactor: minor refactoring and widget docs update
2023-12-11 18:16:07 +01:00
Neo Xu
e8d5594026
refactor(anim): rename anim time to anim duration ( #4978 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 12:35:22 +01:00
lhdjply
f717462532
chore(demo): switch scale animation objects ( #4951 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2023-12-07 20:23:36 +01:00
_VIFEXTech
03be9b201d
fix(demo_music): fix wrong fps print ( #4952 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-07 19:34:41 +01:00
lhdjply
7dc792f6dd
feat(needle): add needle support ( #4938 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2023-12-06 10:51:09 +01:00
Gabor Kiss-Vamosi
c902556794
fix(observer): fix the parameters of the observer_cb for Micropython compatibility
2023-12-05 14:25:20 +01:00
Gabor Kiss-Vamosi
f0988b8cf8
refactor(event): add _cb postfix to lv_obj_add_event()
2023-11-28 15:36:51 +01:00
_VIFEXTech
0447443029
fix(draw_line): use lv_point_precise_t to describe coordinates ( #4858 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-24 13:41:43 +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
_VIFEXTech
296c1df302
chore(demos): fix warning ( #4847 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-22 07:07:04 +01:00
Gabor Kiss-Vamosi
c09b73bc35
ci: fix make file build error
2023-11-18 22:06:49 +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
Neo Xu
511feb39be
chore(image): remove explicit initialization to always_zero ( #4796 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 08:10:22 +01:00
Gabor Kiss-Vamosi
b11eb4044c
ci: add missing demo test
2023-11-15 23:15:17 +01:00
Gabor Kiss-Vamosi
8470365db2
ci: add missing demo test
2023-11-15 23:09:18 +01:00
Gabor Kiss-Vamosi
b56107ae05
refactor: fix typos
2023-11-15 22:58:07 +01:00
Gabor Kiss-Vamosi
235d580a51
refactor: rename cnt to count
2023-11-15 22:42:33 +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
gcopoix
5267c0b9f4
feat(drivers): add x11 driver (display/input) support ( #4795 )
...
Co-authored-by: Gregor Copoix <gregor.copoix@ithinx.io>
2023-11-15 14:08:03 +01:00
Gabor Kiss-Vamosi
628fb98b52
fix(draw): fix minor issues in SW render
2023-11-15 09:47:34 +01:00
Gabor Kiss-Vamosi
293937a1df
feat(anim): make animation time support speed as well
2023-11-13 22:14:01 +01:00
bjsylvia
29c1d94c60
fix(demos): fix demos compiling error caused by font config ( #4778 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 15:45:12 +01:00
Viktor Szépe
cc6581ae03
ci: upgrade astyle tool ( #4776 )
...
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
bjsylvia
ddb1025991
chore(demos): adapt new benchmark demo ( #4780 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 09:43:29 +01:00
Gabor Kiss-Vamosi
2e5a551028
fix(vector): make vector examples and demos work with the docs
2023-11-09 12:22:39 +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
bjsylvia
fa17aae81c
fix(demos): fix demos compiling error ( #4759 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-08 16:20:26 +01:00
Gabor Kiss-Vamosi
cad26b55ae
fix(demo): fix music player demo initial animation
2023-11-06 20:19:09 +01:00
1000len-4959
361663ee5f
feat(build): make it work with MSVC build ( #4704 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: bjsylvia <bjsylvia@163.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: Niklas Fiekas <niklas.fiekas@backscattering.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lhdjply <1029652979@qq.com>
2023-11-06 14:35:06 +01:00
Gabor Kiss-Vamosi
96ce505651
fix(demo): fix showing the average FPS
2023-11-06 14:25:35 +01:00
bjsylvia
f86d16bb2d
fix(leak): fix memory leak on lv_demo_widgets ( #4737 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-02 11:01:27 +01:00
bjsylvia
cafc8393a7
fix(leak): fix memory leak on music list ( #4732 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-02 09:33:39 +01:00
Neo Xu
3539083d55
chore(image): fix warning of unchecked return value ( #4730 )
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-11-02 09:19:09 +01:00
Gabor Kiss-Vamosi
16302e9c7b
chore: rename zoom_x/y paramters and local variables to scale_x/y
2023-10-31 20:19:12 +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
50d01cec3d
refactor(style): rename lv_indev_get_act to lv_indev_active
2023-10-31 19:20:36 +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
9d993bd15f
feat(line, triangle): add float support for points
2023-10-31 14:16:10 +01:00
Niklas Fiekas
d197d73d62
chore(demo): fix -Wenum-int-mismatch ( #4726 )
2023-10-30 13:16:41 +01:00