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
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
55f89a83cf
fix: fix MixroPython examples
2023-11-14 08:57:23 +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
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
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
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
Gabor Kiss-Vamosi
3adaee8fde
ci: temporary remove lv_example_tiny_ttf_3.py
2023-10-10 22:20:43 +02:00
Brandon Holland
8c63327f66
feat(disp): add double buffered direct-mode efficient sync algorithm ( #4443 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: bjsylvia <bjsylvia@163.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Fabian Blatz <fabianblatz@gmail.com>
Co-authored-by: Mike Fikes <mike@fikesfarm.com>
Co-authored-by: Zoltan Janosy <janosy.zoltan@gmail.com>
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
2023-10-10 21:44:32 +02:00
Gabor Kiss-Vamosi
f67dd2af55
chore(example): fix warning
2023-09-21 15:00:56 +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
Gabor Kiss-Vamosi
828d34aa3b
chore: revert debug code
2023-08-31 22:03:31 +02:00
Gabor Kiss-Vamosi
0738e04723
feat(draw): consider stride for glyph bitmaps
2023-08-31 20:33:32 +02:00
Gabor Kiss-Vamosi
c3e2120616
feat(img): add img.header.stride
...
see https://github.com/lvgl/lvgl/pull/4414#issuecomment-1698538169
2023-08-31 19:54:36 +02:00
Carlos Diaz
5c1fc63647
feat(scale): add the lv_scale widget ( #4196 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 15:09:40 +02:00
Neo Xu
b6c5ab3954
chore: remove not needed "expression ? true : false" ( #4485 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-25 22:58:21 +02:00
Gabor Kiss-Vamosi
0b83a82a07
feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
...
Closes #4358
2023-08-19 01:42:37 +02:00
Gabor Kiss-Vamosi
6b8d1e94b4
example(canvas): fix canvas examples
2023-08-16 06:59:31 +02:00
bjsylvia
67ca457a07
fix: fix typos ( #4451 )
...
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-14 16:49:30 +02:00
_VIFEXTech
9a483c87bf
feat(layer): add more efficient widget translucent mode ( #4415 )
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-14 07:57:19 +02:00
Gabor Kiss-Vamosi
9285f44539
chore: fix lv_example_img_1()
2023-07-31 18:50:45 +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
Gabor Kiss-Vamosi
7b1a363ecb
chore: fix warnings
2023-07-15 20:59:49 +02:00
Peter Bee
36c5f19c95
fix(kconfig): update Kconfig and lv_conf_kconfig.h ( #4338 )
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Signed-off-by: Peter Bee <pbjd97@gmail.com>
2023-07-09 23:27:32 +02:00
Gabor Kiss-Vamosi
8d375ef12e
chore: revert test code from lv_example_btn_1
2023-07-09 23:24:39 +02:00