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

179 Commits

Author SHA1 Message Date
lhdjply
6528e38ed0
fix:replace lv_image_get_zoom with lv_image_get_scale (#5383) 2024-01-18 21:41:11 +08:00
Gabor Kiss-Vamosi
f2cb462be3
fix(anim): fix missing changes from #5378 (#5380) 2024-01-18 21:25:55 +08:00
lhdjply
d939316e26
chore(api_map): remove unused api and repalce error name api (#5367)
Signed-off-by: lhdjply <lhdjply@126.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-01-18 20:30:39 +08:00
Gabor Kiss-Vamosi
3883b61a7d
refactor(anim): rename ready_cb to completed_cb (#5378) 2024-01-18 11:07:29 +01:00
Gabriel Wang
78a6b2f425
chore(cmsis-pack): prepare for LVGL9 release (#5323)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-01-15 19:50:03 +01:00
Gabor Kiss-Vamosi
fb0fc86895
refactor(style): rename style_anim_time -> style_anim_duration (#5338) 2024-01-15 17:59:18 +01:00
_VIFEXTech
5e62ce3fb4
fix(demos/vector_graphic): fix memory out-of-bounds access (#5326)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-15 09:30:08 +01:00
lhdjply
ff9e63a393
fix(music): fix image display errors in 16 bit and 24 bit errors (#5291)
Signed-off-by: lhdjply <lhdjply@126.com>
2024-01-12 10:16:55 +01:00
Gabor Kiss-Vamosi
8df95aaf4b
fix(grid,flex): fix compile errors when grid or flex is disabled (#5289) 2024-01-12 10:41:14 +08:00
Gabor Kiss-Vamosi
e10f573150
fix(display): fix inconsistency in the API (#5136) 2024-01-11 13:38:24 +08:00
Gabor Kiss-Vamosi
ba75d64eec
feat(benchmark): update the end screen of the benchmark (#5208) 2024-01-07 13:46:17 +01:00
Carlos Diaz
91e2617410
feat(scale): use the style_length property for ticks (#5141) 2024-01-03 11:34:54 +01:00
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