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

76 Commits

Author SHA1 Message Date
Victor Wheeler
67968c7a16
fix(docs): stray space in style_api_gen.py and generated doc... (#7309) 2024-11-21 11:36:51 +01:00
Victor Wheeler
d5cb181101
fix(docs): trailing underscore looked like hyperlink to Sphinx (#7172) 2024-10-29 14:53:26 +08:00
Victor Wheeler
9b6f6d23f1
feat(docs): reorganize docs (#7136) 2024-10-23 20:53:33 +02:00
lorddevereux
c61ca42a2a
feat(scale): add additional style properties (#6649)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-10-23 08:28:25 +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
Josh Soref
df0d36f02a
chore: fix spelling (#6401)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-06-28 09:09:23 +02:00
Liam
eb1fe43595
chore(style): use lv_part_t type where suitable (#6075) 2024-04-30 11:00:05 +02:00
Gabor Kiss-Vamosi
bcb8dbb736
feat(mask): add support for image file bitmap masks (#5911) 2024-03-26 17:28:09 +08:00
Gabor Kiss-Vamosi
54f9003722
feat(indev) Add crown support to pointer input device (#5057) 2024-03-19 10:10:28 +08:00
Kevin Schlosser
1f76eabadd
adds extern "C" to the header files that were missing it. (#5857) 2024-03-14 10:38:25 +08:00
Gabor Kiss-Vamosi
7a59cd15ec
docs(style): output the style properties to style-props.rst (#5802) 2024-03-10 14:46:40 +08:00
Gabor Kiss-Vamosi
10978c94c2
feat(image, layer): add bitmap mask feature (#5545) 2024-02-10 20:57:46 +01:00
Gabor Kiss-Vamosi
fb0fc86895
refactor(style): rename style_anim_time -> style_anim_duration (#5338) 2024-01-15 17:59:18 +01:00
Ju1He1
ed2056b620
feat(windows): add some more decls spec attributes (#5259) 2024-01-14 13:50:23 +01: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
Neo Xu
e217674295
chore: move lv_obj_t define to lv_types.h (#5161)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-03 21:44:36 +01:00
Gabor Kiss-Vamosi
3664f35364
feat(style): add length style property (#5135) 2024-01-02 14:29:14 +08:00
_VIFEXTech
4be4cb6eee
feat(style): add skew style (#4886)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-12 09:18:01 +01:00
Gabor Kiss-Vamosi
293937a1df feat(anim): make animation time support speed as well 2023-11-13 22:14:01 +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
d28f80d362 refactor(style): rename shadow_ofs to shadow_offset 2023-10-31 19:10:02 +01:00
Gabor Kiss-Vamosi
3ff625483c demos(render): start render demo 2023-10-25 13:38:37 +02:00
Gabor Kiss-Vamosi
85798af3cd feat(draw): add non uniform scale (scale_x and scale_y) 2023-10-20 23:29:22 +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
bjsylvia
83cd50b4df
fix(typos): fix some typos for style (#4469)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-20 21:03:24 +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
Kevin Schlosser
dcffe24094
fix: add guard macros to lv_style_gen.c,h and lv_obj_style_gen.c,h (#4450) 2023-08-16 22:24:37 +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
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
W-Mai
8ed8542681
feat(margin): add margin style property (#3807)
Signed-off-by: W-Mai <1341398182@qq.com>
Signed-off-by: xinbingnan<xinbingnan@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-01-18 09:52:30 +01:00
h13
c4ea9db787
chore: fix missing include. (#3837) 2022-12-21 22:17:57 +01:00
embeddedt
ca8f0ab549
refactor(style) prefix const property IDs with an underscore 2022-07-26 13:18:23 -04:00
embeddedt
d6e5200013
refactor(style): store constant property IDs with a pointer instead of directly (#3506) 2022-07-20 11:32:40 +02:00
Gabor Kiss-Vamosi
318146a2c2 feat(draw): support transforming widgets and improfe sw transform
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
embeddedt
8ac93ad883
refactor(style) move flag information into a dedicated table (#3102) 2022-03-07 10:01:25 -05:00
Andres O. Vela
340d45cfa9
feat(label): added animation style property to apply it to circular scrolling animation of label widget (#3128)
* feat(label): added animation style property to apply it to circular scrolling animation of label widget

Added an animation style property to be used as animation template for different use cases in different widgets.
This commit implements using this property to set the start and repeat delay of the circular scrolling animation of the label widget.

Closes #3097

* fix(label): changed animation style property's var_type to `const lv_anim_t *`

* example(label): added example showing how to customize circular scrolling animation

* chore(label): ran code-format.py and added missing function prototype to lv_example_widgets.h
2022-02-25 11:54:27 +01:00
X-Ryl669
923defd6b6
fix(gradient): general cleanup and fix for alignment issues (#3036)
* Try to fix ASAN behavior

* improve alignments

* fix buffer overflow and various other fixes

* minor fixes

* formatting

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 15:47:47 +01:00
ckielstra
10866ce3f0
fix(doc): full covering opacity is 255, not 256 (#3022) 2022-01-19 09:30:10 -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
Xiang Xiao
f1584e122f
docs(style) minor style fix (#2818)
* fix(misc): avoid ;; after LV_ASSERT_STYLE/LV_ASSERT_OBJ

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): remove the unused docs_prop_cnt variable

and remove the trailing space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): ensure the generated code follow the coding style

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): ensure props has the same order of lv_style_prop_t

and correct the style flags

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 10:53:16 +01:00
Gabor Kiss-Vamosi
cc78ef4506 feat(draw) add LV_BLEND_MODE_MULTIPLY 2021-11-09 15:34:30 +01:00
ckielstra
5249a34d5d
docs more spelling fixes (#2499) 2021-08-27 12:15:39 +02:00
Gabor Kiss-Vamosi
4e3b86020f docs(style) fix typo in style property descriptions 2021-08-17 10:47:27 +02:00
Gabor Kiss-Vamosi
ff087dafb4 docs(style) complete the description of style the properties 2021-08-12 14:26:21 +02:00
Gabor Kiss-Vamosi
124f7a080e fix(style) use C files for style set functions instead of designated initializers
Related comment: ab149501c8 (commitcomment-51535673)
2021-05-31 19:27:35 +02:00
Gabor Kiss-Vamosi
ab149501c8 fix(style) use an other technique to generate style set functions
The previous version caused glitches.
2021-05-31 14:45:53 +02:00
Gabor Kiss-Vamosi
165ff859f3 fix warnings 2021-05-31 13:03:56 +02:00