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
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
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
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
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
_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
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
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
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
Gabor Kiss-Vamosi
d67dd943ca
format run code-formtter.sh
...
related to #2543
2021-09-13 14:06:26 +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
Gabor Kiss-Vamosi
82b21a98a4
fix(style) remove designated initializers from lv_style_gen.h
2021-05-31 12:53:04 +02:00
Gabor Kiss-Vamosi
e2a7f559ab
feat(bidi) make base dir a style property and rename lv_bidi_dir_t to lv_base_dir_t
2021-05-19 20:55:44 +02:00
embeddedt
e3b8b84d71
feat(style) add support for declaring styles in ROM ( #2220 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-05-01 20:16:34 -04:00
Gabor Kiss-Vamosi
492b3a417e
feat(label) update long modes and use LV_SIZE_CONTENT
2021-04-27 15:36:08 +02:00
Gabor Kiss-Vamosi
a9bedcf335
minor fixes
2021-04-23 11:34:59 +02:00
Gabor Kiss-Vamosi
4324cf72f3
refactor(style, obj) lv_obj_get_width/height_fit -> lv_objget_get_content_width/height, style_tranform_x/y -> style_translate_x/y
2021-04-20 21:08:16 +02:00
Gabor Kiss-Vamosi
e1355dbeee
feat(style) add transform_x/y
2021-04-17 17:33:57 +02:00
Gabor Kiss-Vamosi
9787d38781
feat(style) add transform_x/y
2021-04-15 18:31:50 +02:00
Gabor Kiss-Vamosi
28257ff9fa
feat(style) add basic support to min/max-width/height
2021-04-02 09:45:54 +02:00
Gabor Kiss-Vamosi
38e77d1381
fix(style_gen) update style_api_gen.py according to the changed style properties
2021-03-26 12:26:57 +01:00
Xiang Xiao
e153ccd1c1
fix(style_api_gen.py): change lv_color_filter_cb_t to lv_color_filter_dsc_t ( #2162 )
...
and update the generated style header files
2021-03-26 12:16:57 +01: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
Gabor Kiss-Vamosi
b7becbbb22
feat(style): store layout and position coordinates as style properties
...
related to #2152
2021-03-24 15:38:53 +01:00
Gabor Kiss-Vamosi
0cc1e99ddf
remove the lv_ prefix from the directories in the src folder
2021-03-16 20:36:27 +01:00