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

59 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
f2cb462be3
fix(anim): fix missing changes from #5378 (#5380) 2024-01-18 21:25:55 +08:00
Gabor Kiss-Vamosi
3883b61a7d
refactor(anim): rename ready_cb to completed_cb (#5378) 2024-01-18 11:07:29 +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
Carlos Diaz
91e2617410
feat(scale): use the style_length property for ticks (#5141) 2024-01-03 11:34:54 +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
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
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
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
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
Gabor Kiss-Vamosi
293937a1df feat(anim): make animation time support speed as well 2023-11-13 22:14:01 +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
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
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
9d993bd15f feat(line, triangle): add float support for points 2023-10-31 14:16:10 +01:00
Gabor Kiss-Vamosi
a61d87f840 demo(benchmark): rework benchmark 2023-10-25 12:19:39 +02:00
Viktor Szépe
742682ae51
chore: fix execute permissions and shebangs (#4695) 2023-10-24 09:41:51 +02:00
Gabor Kiss-Vamosi
094db896d2 fix(scale): fix round scale label positons 2023-10-20 11:29:16 +02:00
Gabor Kiss-Vamosi
195c3f72d2 fix(scale): fix tick count and example issues 2023-10-19 15:02:36 +02:00
Gabor Kiss-Vamosi
f7c25b7966 demo(widget): improve the 3rd scale 2023-10-12 21:58:38 +02:00
Gabor Kiss-Vamosi
bccbde0cef refactor(obj): remove LV_PART_TICKS and use LV_PART_ITEMS in lv_scale 2023-10-12 21:50:46 +02:00
Gabor Kiss-Vamosi
9ec5417dd3 refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state 2023-10-12 21:12:16 +02:00
Gabor Kiss-Vamosi
6163437afd refactor(scale): remove lv_meter use lv_scale instead 2023-10-12 17:21:52 +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
23ebeed652
fix(widgets): fix timer crash when delete widgets demo (#4522)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 21:16:37 +02:00
Benign X
ae3567cb46
fix(chart): fix off-by-one error in chart widget (#4461)
Signed-off-by: W-Mai <1341398182@qq.com>
2023-08-18 10:58:35 +02:00
Gabor Kiss-Vamosi
45aa59a473
feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
bjsylvia
dbde799ada
chore(demos): replace version with lv_version_major (#4393)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-07-24 17:38:11 +02:00
Gabor Kiss-Vamosi
b466045f13 chore: change some // comments to /**/ 2023-07-15 18:39:11 +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
Gabor Kiss-Vamosi
1faa4c8d7a revert(event): use original_target and target to follow JS conventions
fixes #4050
2023-03-20 14:24:21 +01:00
Gabor Kiss-Vamosi
680d6d1a7d refactor(event): use lv_event_get_orignal_target instead of current_target 2023-03-06 12:50:46 +01:00
Gabor Kiss-Vamosi
bb68947570 fix(indev): fix refocusing with clcik after 'tab'
fixes #4034
2023-03-06 05:45:59 +01:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
Gabor Kiss-Vamosi
6177692d6f chore(demo): fix lv_demo_widgets.py 2022-11-21 22:10:29 +01:00
Gabor Kiss-Vamosi
59b90d0970 chore(demo): fix lv_demo_widgets.py 2022-11-21 21:59:26 +01:00
Gabor Kiss-Vamosi
a218d75409 feat(meter): remove the option to add multiple scales
API BREAKING
2022-11-19 08:42:03 +01:00
Gabor Kiss-Vamosi
0afa27d5c3 fix(widgets demo): improve soft keyboard usability
Related to https://forum.lvgl.io/t/problem-about-the-textarea-focus/9955/3
2022-10-12 10:44:54 +02:00
Uli Raich
d5e6ffdd87
demos(widgets): replaced lv_widget_demo.py with a new version (#3641) 2022-09-21 11:21:08 +02:00
Xiang Xiao
9ed5b3fe06
Sync up Kconfig with lv_config_template.h (#3508)
* fix(config): remove LV_COLOR_16_SWAP related stuff

follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2

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

* fix(config): remove LV_COLOR_SCREEN_TRANSP related stuff

follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-20 11:29:34 +02:00
Gabor Kiss-Vamosi
6104855491 fix(conf): fix a lot of new config realted issues 2022-07-19 17:21:19 +02:00