aboutsummaryrefslogtreecommitdiff
path: root/scripts/style_api_gen.py
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2024-02-10 20:57:46 +0100
committerGitHub <noreply@github.com>2024-02-10 20:57:46 +0100
commit10978c94c262c8e2cbfd5d996511686b8a3ec1a3 (patch)
tree3f2d4f3c829b09c0a971475ce9eb651e7264efc6 /scripts/style_api_gen.py
parentcfd14cdacd682977ce6ceb681a1bc357c6723f1b (diff)
downloadlvgl-10978c94c262c8e2cbfd5d996511686b8a3ec1a3.tar.gz
lvgl-10978c94c262c8e2cbfd5d996511686b8a3ec1a3.zip
feat(image, layer): add bitmap mask feature (#5545)
Diffstat (limited to 'scripts/style_api_gen.py')
-rwxr-xr-xscripts/style_api_gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py
index bd1612271..ad651051f 100755
--- a/scripts/style_api_gen.py
+++ b/scripts/style_api_gen.py
@@ -389,6 +389,9 @@ props = [
'style_type': 'num', 'var_type': 'lv_base_dir_t', 'default':'`LV_BASE_DIR_AUTO`', 'inherited': 1, 'layout': 1, 'ext_draw': 0,
'dsc': "Set the base direction of the object. The possible values are `LV_BIDI_DIR_LTR/RTL/AUTO`."},
+{'name': 'BITMAP_MASK_SRC',
+ 'style_type': 'ptr', 'var_type': 'const lv_image_dsc_t *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 0,
+ 'dsc': "If set a layer will be created for the widget and the layer will be masked with this A8 bitmap mask."},
{'section': 'Flex', 'dsc':'Flex layout properties.', 'guard':'LV_USE_FLEX'},