_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
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
b10294186a
fix(tabview): fix micropython example
2023-11-15 23:41:24 +01:00
Gabor Kiss-Vamosi
b56107ae05
refactor: fix typos
2023-11-15 22:58:07 +01:00
Gabor Kiss-Vamosi
4044856553
refactor: rename col to column
2023-11-15 22:42:34 +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
e27491cb2a
chore: remove debug code
2023-11-15 12:59:16 +01:00
Gabor Kiss-Vamosi
cb44516c59
chore: code formatting
2023-11-14 15:01:03 +01:00
Gabor Kiss-Vamosi
7ea8192208
fix(anim): fix anim_timeline progress calculation and add tests
2023-11-14 14:52:59 +01:00
Gabor Kiss-Vamosi
55f89a83cf
fix: fix MixroPython examples
2023-11-14 08:57:23 +01:00
Gabor Kiss-Vamosi
db4b264076
fix(imgbtn): fix example images
2023-11-13 17:07:17 +01:00
Gabor Kiss-Vamosi
91f133f11b
fix(font): fix font loader MPY examples
2023-11-13 16:47:18 +01:00
Gabor Kiss-Vamosi
90a7e3e98f
feat(tiny_ttf): add lv_font_* as paramater to lv_tiny_ttf_create
...
This way if a font is used by styles or widgets it can be easily reloaded without updating the font pointer on all places
2023-11-13 14:47:13 +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
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
Benign X
a5f6e2761f
chore(lv_label): remove codes for recolor feature ( #4766 )
2023-11-08 16:25:54 +01:00
Gabor Kiss-Vamosi
981a9843fd
fix(scale): use LV_FONT_DEFAULT in the examples
2023-11-06 09:52:29 +01:00
lhdjply
93885918d4
chore(template): fix the variable name of the button input device ( #4729 )
2023-11-02 09:17: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
9404faa132
fix(canvas): fix lv_example_canvas_7.py
2023-10-31 14:31:21 +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
3c67650a5b
example(animimg): fix images
2023-10-27 11:26:14 +02:00
Viktor Szépe
742682ae51
chore: fix execute permissions and shebangs ( #4695 )
2023-10-24 09:41:51 +02:00