Liu Yi
b6998e8aa0
chore(logo): update lvgl logo ( #6416 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-07-05 00:19:44 +02:00
Liam
af15a17a54
fix(demo): lv_demo_widgets update scale3 needle and label pos on resize ( #6258 )
...
Co-authored-by: C47D <carlos.santiago.diaz@gmail.com>
2024-06-03 17:38:16 +08:00
cristian-stoica
01a98d9071
feat(demos): align images used in benchmark to stride 64 ( #5925 )
...
Signed-off-by: Ana Grad <ana.grad@nxp.com>
Co-authored-by: Ana Grad <ana.grad@nxp.com>
2024-04-18 13:08:31 +02:00
zylalx1
47ec2784d8
chore: update some code and docs to use v9 API ( #5876 )
...
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-04-10 15:17:44 +08:00
_VIFEXTech
aad5a325d5
chore: add stride information in the image resource file ( #5653 )
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2024-02-15 11:58:18 +08:00
Neo Xu
7579b96b9b
fix(image): add data_size filed to all c-array images ( #5608 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-02-07 12:13:00 +08:00
Gabor Kiss-Vamosi
4f9c16f177
fix(chart): set the series id correctly ( #5482 )
2024-01-29 13:27:21 +01:00
Johannes Marbach
152dc0b2be
feat(draw): add convenience methods for safely getting correct draw descriptor ( #5505 )
2024-01-29 08:19:58 +01:00
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