Victor Wheeler
0458acd998
fix(docs): fix most sphinx warnings ( #6916 )
...
Co-authored-by: Kevin Schlosser <kdschlosser@users.noreply.github.com>
Co-authored-by: Liam <30486941+liamHowatt@users.noreply.github.com>
2024-09-30 14:57:22 +02:00
Liam
1d14386b99
refactor(API): don't expose private symbols in lvgl.h. phase-out "_lv*" names ( #6068 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-08-02 07:46:42 +02:00
Neo Xu
dfe50c5952
feat(draw_buf): add LV_DRAW_BUF_INIT macro to meet alignment requirement ( #6102 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-05-08 23:53:28 +02:00
Zoltan Janosy
abc8a7292a
feat(draw/sw): added support for LV_COLOR_FORMAT_L8 ( #5800 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: VIFEX <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Niklas Fiekas <niklas.fiekas@sartorius.com>
Co-authored-by: qinshijing <51692568+qinshijing@users.noreply.github.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-04-20 13:14:25 +02:00
Gabor Kiss-Vamosi
469c2cfcef
example: remove the MicroPython examples
...
See #4347
2023-12-21 10:02:44 +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
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
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
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
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
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
6b8d1e94b4
example(canvas): fix canvas examples
2023-08-16 06:59:31 +02:00
Gabor Kiss-Vamosi
7b1a363ecb
chore: fix warnings
2023-07-15 20:59:49 +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
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst ( #4129 )
2023-04-27 14:42:02 +02:00
Uli Raich
d1c6c61780
example(micropython): updated MicroPython examples according to LVGL changes ( #4031 )
2023-03-10 21:44:12 +01:00
Gabor Kiss-Vamosi
103afa9f2b
chore: fix warnings
2023-02-20 22:30:16 +01:00
Gabor Kiss-Vamosi
f28d18dda4
fix: minor fixes to make the CI work
2023-02-20 22:19:00 +01:00
Gabor Kiss-Vamosi
124f9b0f9f
arch(driver): new driver architecture with new color format support
2023-02-20 20:50:58 +01:00
Carlos Diaz
76547db1d7
refactor(rename): LV_IMG_ZOOM_NONE to LV_ZOOM_NONE ( #3957 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-02-04 17:20:42 +01:00
Uli Raich
01b33b4aba
example(canvas): add MicroPython draw examples ( #3823 )
2022-11-24 11:16:34 +01:00
Gabor Kiss-Vamosi
3940f53782
chore(example): fix copy/paset error in lv_example_canvas_7
2022-11-23 10:29:27 +01:00
Gabor Kiss-Vamosi
d47851ad3c
examples(canvas): add canvas drawing examples
2022-11-21 23:08:32 +01:00
Gabor Kiss-Vamosi
853163f615
docs(calvas): fix that LV_CANVAS_BUF_SIZE_ return byte count and not pixel count
...
fixes #3734
2022-10-11 20:17:18 +02:00
Derek Carter
bdd520e00c
fix(img): lv_img_buf_get_img_size miscalculation for 1/2/4 it images ( #3611 )
2022-08-24 10:05:48 +02:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files ( #3188 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config
2022-02-13 13:59:17 -05:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes ( #3008 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
X-Ryl669
6617385f8a
feat(draw): add gradient dithering support ( #2872 )
...
* Add dithering to gradients
* Add support for 8x8 matrix for ordered dithering
* Fix CI errors
* Try error diffusion on vertical gradient too
* Vertical error diffusion dithering
* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).
* Reduce the binary size of the code by sharing the dithering table when appropriate.
* Fix CI
* Fix CI
* Review corrections
* Fix union mapping
* Revert bg_color changes
* Fix for keeping bg_color in the API.
* Fix after review
* Add support for setting multiple stops per gradient in the style API
* Let's make an example
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-11 12:38:30 +01:00
Gabor Kiss-Vamosi
db53ea925c
arch(draw): allow replacing the draw engine
...
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
ckielstra
a5058eafd0
style(examples) fix style issues in Python examples ( #2880 )
...
Removes all semicolons at line endings in the Python examples.
2021-12-05 08:41:17 -05:00
Gabor Kiss-Vamosi
b3b3ffc2b3
feat(canvas) add lv_canvas_set_px_opa
...
fixes #2665
2021-10-19 13:44:40 +02:00
ckielstra
5249a34d5d
docs more spelling fixes ( #2499 )
2021-08-27 12:15:39 +02:00
embeddedt
52d1c2e5b5
fix(examples) adjust canvas example for MicroPython API change
2021-06-21 10:27:40 -04:00
Themba Dube
6f37c4fc56
docs(examples) add MicroPython examples
2021-06-11 16:48:27 -04:00
Uli Raich
c60ed68e94
adding micropython examples ( #2286 )
...
* adding micropython examples
* adding micropython examples
2021-06-07 13:56:08 +02:00
Gabor Kiss-Vamosi
f5c70a06db
docs(examples) fix some examples
2021-05-07 21:23:09 +02:00
Gabor Kiss-Vamosi
070df61eb2
refactor(color) refactor the palette API
2021-04-23 12:46:14 +02:00
Gabor Kiss-Vamosi
20803031e8
fix(test) fix tests
2021-04-08 13:07:48 +02:00
Gabor Kiss-Vamosi
a2f3022188
api(align) save align in style and handle x/y according to it
2021-03-25 16:14:17 +01:00
Gabor Kiss-Vamosi
53f3cc1827
api(style) remove content style proeprties
2021-03-25 13:36:50 +01:00
Xiang Xiao
9254a7ea14
fix(comment): remove the space after /* and before */
2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
cbfbcb47f9
feat(color): use colors from material design
...
Use function instead of color macros
2021-02-23 15:03:06 +01:00