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
Neo Xu
135ad49dce
refactor(snapshot): use draw buffer interface ( #5487 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Benign X <1341398182@qq.com>
2024-01-30 09:18:54 +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
danie1kr
42214e0780
fix(arduino): update example LVGL_Arduino.ino for v9 ( #5499 )
2024-01-27 15:11:11 +01:00
Gabor Kiss-Vamosi
5e161fe1f1
fix(keyboard): in the example set Arabic font if enabled ( #5457 )
2024-01-26 01:34:37 +08:00
Gabor Kiss-Vamosi
7c1cb04dee
fix(gridnav): fix warning when logging is disabled ( #5395 )
2024-01-19 10:00:10 +01:00
Gabor Kiss-Vamosi
0a0f4b484d
refactor(driver): rename dev to drivers + Arduino update ( #5377 )
2024-01-18 14:29:39 +01: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
Benign X
8f774ccb29
doc(fs_template): fix doc params missing ( #5376 )
2024-01-18 10:57:16 +01:00
Benign X
2001d869a1
feat(fs): add fn_len
for lv_fs_dir_read
( #5362 )
2024-01-17 14:41:54 +01:00
_VIFEXTech
32828206d1
chore(imgfont): simplify imgfont_dsc_t data structure ( #5354 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-17 14:33:02 +01:00
_VIFEXTech
ff897e3b6f
fix(vg_lite): fix freetype build break and imgfont draw error ( #5353 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-17 08:20:18 +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
178789a937
Revert "feat(tiny_ttf): add lv_font_* as paramater to lv_tiny_ttf_create" ( #5327 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-15 13:33:44 +01:00
_VIFEXTech
9849f65254
fix(vg_lite): fix warning ( #5317 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-15 12:48:28 +01:00
Gabor Kiss-Vamosi
74c72d7c7c
fix(calendar): style today and highlighted dates ( #5310 )
2024-01-14 21:30:04 +08:00
Ju1He1
ed2056b620
feat(windows): add some more decls spec attributes ( #5259 )
2024-01-14 13:50:23 +01:00
Gabor Kiss-Vamosi
fe61f1fc94
fix: fix build error when some widgets are disabled ( #5290 )
2024-01-12 10:44:06 +08: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
Gabriel Wang
c7cf40f46f
chore(porting): update disp template for using new draw_buf init API ( #5260 )
2024-01-11 11:28:42 +01:00
Benign X
2633a33b48
feat(freetype): add new freetype testcase ( #5207 )
2024-01-07 15:39:50 +08:00
PGNetHun
2a129562d8
docs: fix links, add references, rename files ( #5138 )
2024-01-04 07:25:13 +01:00
Carlos Diaz
91e2617410
feat(scale): use the style_length property for ticks ( #5141 )
2024-01-03 11:34:54 +01:00
_VIFEXTech
4b995448bc
refact(anim_timeline): refact anim timeline design ( #5061 )
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-22 14:56:36 +08:00
Gabor Kiss-Vamosi
469c2cfcef
example: remove the MicroPython examples
...
See #4347
2023-12-21 10:02:44 +01:00
Neo Xu
5e3fb68835
refactor(image): add magic to image header ( #5051 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 12:54:30 +01:00
Xu Xingliang
8af0cfa7aa
chore(examples): use draw buffer for canvas
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:46 +01:00
_VIFEXTech
6bdadad1f3
chore: fix warning when log disable ( #5018 )
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-12-15 16:03:08 +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
bjsylvia
07bd3587ce
fix(arc): fix code format for arc example ( #4955 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-12-07 20:24:48 +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
Neo Xu
9b0533cb18
chore(example): fix compile warning ( #4935 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-06 09:43:05 +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
PGNetHun
91020ea20e
fix(table): rename shortened function names to full names ( #4918 )
2023-12-04 22:57:47 +01:00
Gabor Kiss-Vamosi
d442740f2a
fix(anim_timeline): make it work with custom_exec_cb too ( #4906 )
2023-12-01 09:28:44 +01:00
Gabor Kiss-Vamosi
f0988b8cf8
refactor(event): add _cb postfix to lv_obj_add_event()
2023-11-28 15:36:51 +01:00
lhdjply
3d3c0cbf86
fix(porting):fixed the use of incorrect definition for 'px_map' ( #4861 )
...
Co-authored-by: lhdjply <1029652979@qq.com>
2023-11-24 21:20:54 +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
_VIFEXTech
a65ca267bf
fix(example): fix gradient has no effect ( #4850 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-23 08:44:12 +01:00
Gabor Kiss-Vamosi
51efe57ae9
chore: fix micropython example
2023-11-18 20:25:47 +01:00
Gabor Kiss-Vamosi
c526653822
fix(anim_timeline): fix special cases of anim timeline and add tests
2023-11-18 19:03:57 +01:00
Gabor Kiss-Vamosi
5304bf6044
chore: fix build error
2023-11-18 15:41:46 +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