diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-09-14 20:12:31 +0200 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-09-14 20:12:31 +0200 |
commit | 09c12d0f9c1e09abec3e58127c9c67cfb958782f (patch) | |
tree | 268fa833b1a29d4a65627ca8b065736603500a11 /scripts/style_api_gen.py | |
parent | e91786ce4999eef3f875dee01575ddacfe37c024 (diff) | |
download | lvgl-09c12d0f9c1e09abec3e58127c9c67cfb958782f.tar.gz lvgl-09c12d0f9c1e09abec3e58127c9c67cfb958782f.zip |
refactor(btn, img): rename btn to button and img to image
Diffstat (limited to 'scripts/style_api_gen.py')
-rwxr-xr-x | scripts/style_api_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py index c2333e8fd..ff309d374 100755 --- a/scripts/style_api_gen.py +++ b/scripts/style_api_gen.py @@ -151,7 +151,7 @@ props = [ {'name': 'BG_IMG_SRC', 'style_type': 'ptr', 'var_type': 'const void *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 1, - 'dsc': "Set a background image. Can be a pointer to `lv_img_dsc_t`, a path to a file or an `LV_SYMBOL_...`"}, + 'dsc': "Set a background image. Can be a pointer to `lv_image_dsc_t`, a path to a file or an `LV_SYMBOL_...`"}, {'name': 'BG_IMG_OPA', 'style_type': 'num', 'var_type': 'lv_opa_t', 'default':'`LV_OPA_COVER`', 'inherited': 0, 'layout': 0, 'ext_draw': 0, @@ -289,7 +289,7 @@ props = [ {'name': 'ARC_IMG_SRC', 'style_type': 'ptr', 'var_type': 'const void *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 0, - 'dsc': "Set an image from which the arc will be masked out. It's useful to display complex effects on the arcs. Can be a pointer to `lv_img_dsc_t` or a path to a file"}, + 'dsc': "Set an image from which the arc will be masked out. It's useful to display complex effects on the arcs. Can be a pointer to `lv_image_dsc_t` or a path to a file"}, {'section': 'Text', 'dsc':'Properties to describe the properties of text. All these properties are inherited.' }, {'name': 'TEXT_COLOR', |