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

587 Commits

Author SHA1 Message Date
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
xaowang96
8f57f12a44
feat(bar): reverse drawing direction of lv_bar if min > max (#4654)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-10-20 23:22:56 +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
4081130dd9 docs(scale): fix scale docs 2023-10-19 11:36:27 +02:00
Gabor Kiss-Vamosi
865a2f64a0 chore: minor docs fixes 2023-10-17 14:32:09 +02:00
Gabor Kiss-Vamosi
666f839977 docs(chart): update chart example 2023-10-16 23:43:35 +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
d3aee1d7f6 chore: fix micropython example 2023-10-12 21:23:56 +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
0ff2d1c2e4 chore. fix micropythn example 2023-10-12 21:12:16 +02:00
Gabor Kiss-Vamosi
4b981f7d6d docs: fix examples 2023-10-12 20:25:32 +02:00
Gabor Kiss-Vamosi
6163437afd refactor(scale): remove lv_meter use lv_scale instead 2023-10-12 17:21:52 +02:00