diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-25 13:38:37 +0200 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-25 13:38:37 +0200 |
commit | 3ff625483c00458ebcf54307fad16b1cc402ff32 (patch) | |
tree | c91b14ce58ed7d98594dd880dabf8c5c75007599 /scripts/style_api_gen.py | |
parent | a61d87f8403d7be17f238640b520ca0fd96c5c57 (diff) | |
download | lvgl-3ff625483c00458ebcf54307fad16b1cc402ff32.tar.gz lvgl-3ff625483c00458ebcf54307fad16b1cc402ff32.zip |
demos(render): start render demo
Diffstat (limited to 'scripts/style_api_gen.py')
-rwxr-xr-x | scripts/style_api_gen.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py index 017056321..af6c1660f 100755 --- a/scripts/style_api_gen.py +++ b/scripts/style_api_gen.py @@ -145,13 +145,17 @@ props = [ 'style_type': 'num', 'var_type': 'lv_coord_t', 'default':255, 'inherited': 0, 'layout': 0, 'ext_draw': 0, 'dsc': "Set the point from which the background's gradient color should start. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on"}, +{'name': 'BG_MAIN_OPA', + 'style_type': 'num', 'var_type': 'lv_opa_t', 'default':255, 'inherited': 0, 'layout': 0, 'ext_draw': 0, + 'dsc': "Set the opacity of the first gradient color"}, + +{'name': 'BG_GRAD_OPA', + 'style_type': 'num', 'var_type': 'lv_opa_t', 'default':255, 'inherited': 0, 'layout': 0, 'ext_draw': 0, + 'dsc': "Set the opacity of the second gradient color"}, + {'name': 'BG_GRAD', 'style_type': 'ptr', 'var_type': 'const lv_grad_dsc_t *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 0, - 'dsc': "Set the gradient definition. The pointed instance must exist while the object is alive. NULL to disable. It wraps `BG_GRAD_COLOR`, `BG_GRAD_DIR`, `BG_MAIN_STOP` and `BG_GRAD_STOP` into one descriptor and allows creating gradients with more colors too."}, - -{'name': 'BG_DITHER_MODE', - 'style_type': 'num', 'var_type': 'lv_dither_mode_t', 'default':'`LV_DITHER_NONE`', 'inherited': 0, 'layout': 0, 'ext_draw': 0, - 'dsc': "Set the dithering mode of the gradient of the background. The possible values are `LV_DITHER_NONE/ORDERED/ERR_DIFF`."}, + 'dsc': "Set the gradient definition. The pointed instance must exist while the object is alive. NULL to disable. It wraps `BG_GRAD_COLOR`, `BG_GRAD_DIR`, `BG_MAIN_STOP` and `BG_GRAD_STOP` into one descriptor and allows creating gradients with more colors too. If it's set other gradient related properties will be ignored'"}, {'name': 'BG_IMAGE_SRC', 'style_type': 'ptr', 'var_type': 'const void *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 1, |