aboutsummaryrefslogtreecommitdiff
path: root/scripts/style_api_gen.py
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2021-04-27 15:36:08 +0200
committerGabor Kiss-Vamosi <kisvegabor@gmail.com>2021-04-27 15:36:08 +0200
commit492b3a417e7344eae697e2ea2e7f902d9c818d5c (patch)
treede99752ded39eb48f826710ce0fff7eed2e3a140 /scripts/style_api_gen.py
parent9eb71a0538f504131c08bf6d7d5bb1ac8fe4b393 (diff)
downloadlvgl-492b3a417e7344eae697e2ea2e7f902d9c818d5c.tar.gz
lvgl-492b3a417e7344eae697e2ea2e7f902d9c818d5c.zip
feat(label) update long modes and use LV_SIZE_CONTENT
Diffstat (limited to 'scripts/style_api_gen.py')
-rwxr-xr-xscripts/style_api_gen.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py
index 3cf878509..6576d6ddc 100755
--- a/scripts/style_api_gen.py
+++ b/scripts/style_api_gen.py
@@ -49,7 +49,11 @@ props = [
{'name': 'ANIM_TIME',
'style_type': 'num', 'var_type': 'uint32_t' , 'default':0, 'inherited': 0, 'layout': 0, 'ext_draw': 0,
- 'dsc': "The animation time in milliseconds. It's meaning is widget specific. E.g. blink time of the cursor on the text area or scroll speed of a roller. See the widgets' documentation to learn more."},
+ 'dsc': "The animation time in milliseconds. It's 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': 'ANIM_SPEED',
+ 'style_type': 'num', 'var_type': 'uint32_t' , 'default':0, 'inherited': 0, 'layout': 0, 'ext_draw': 0,
+ 'dsc': "The animation speed in pixel/sec. It's meaning is widget specific. E.g. scroll speed of label. See the widgets' documentation to learn more."},
{'name': 'TRANSITION',
'style_type': 'ptr', 'var_type': 'const lv_style_transition_dsc_t *' , 'default':0, 'inherited': 0, 'layout': 0, 'ext_draw': 0,