aboutsummaryrefslogtreecommitdiff
path: root/scripts/style_api_gen.py
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2024-01-15 17:59:18 +0100
committerGitHub <noreply@github.com>2024-01-15 17:59:18 +0100
commitfb0fc86895331bac9f5ce514ef6324342e8ed3c6 (patch)
treeb3fd265bf99ddad30bfb1b27c67bce8da82906d5 /scripts/style_api_gen.py
parentd757aa24de568c6f120bb7e1b085fd12a058c882 (diff)
downloadlvgl-fb0fc86895331bac9f5ce514ef6324342e8ed3c6.tar.gz
lvgl-fb0fc86895331bac9f5ce514ef6324342e8ed3c6.zip
refactor(style): rename style_anim_time -> style_anim_duration (#5338)
Diffstat (limited to 'scripts/style_api_gen.py')
-rwxr-xr-xscripts/style_api_gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py
index e54768d3d..bd1612271 100755
--- a/scripts/style_api_gen.py
+++ b/scripts/style_api_gen.py
@@ -369,9 +369,9 @@ props = [
'style_type': 'ptr', 'var_type': 'const lv_anim_t *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 0,
'dsc': "The animation template for the object's animation. Should be a pointer to `lv_anim_t`. The animation parameters are widget specific, e.g. animation time could be the E.g. blink time of the cursor on the text area or scroll time of a roller. See the widgets' documentation to learn more."},
-{'name': 'ANIM_TIME',
+{'name': 'ANIM_DURATION',
'style_type': 'num', 'var_type': 'uint32_t' , 'default':0, 'inherited': 0, 'layout': 0, 'ext_draw': 0,
- 'dsc': "The animation time in milliseconds. Its meaning is widget specific. E.g. blink time of the cursor on the text area or scroll time of a roller. See the widgets' documentation to learn more."},
+ 'dsc': "The animation duration in milliseconds. Its meaning is widget specific. E.g. blink time of the cursor on the text area or scroll time of a roller. See the widgets' documentation to learn more."},
{'name': 'TRANSITION',
'style_type': 'ptr', 'var_type': 'const lv_style_transition_dsc_t *' , 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 0,