Marc PASTEUR d132f39ff8 move lvgl
2025-12-19 18:08:19 +01:00

38 lines
1.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
Example
<lv_bar mode="symmetrical" range="-40 100" value="60"/>
-->
<widget>
<api>
<enumdef name="lv_bar_mode" help="How the bar grows with values">
<enum name="normal" help="Make the bar grow from minimum toward maximum"/>
<enum name="symmetrical" help="Make the bar grow symmetrically from the midpoint"/>
<enum name="range" help="Make the bar show values between start and end points"/>
</enumdef>
<enumdef name="lv_bar_orientation" help="How the bar is oriented">
<enum name="auto" help="Choose orientation automatically based on widget size"/>
<enum name="horizontal" help="Make the bar fill left to right"/>
<enum name="vertical" help="Make the bar fill bottom to top"/>
</enumdef>
<prop name="min_value" type="int" help="Set the minimum value of the bar"/>
<prop name="max_value" type="int" help="Set the maximum value of the bar"/>
<prop name="value" help="Set the current value of the bar">
<param name="value" type="int" help="The bars current value"/>
<param name="animated" type="bool" default="false" help="Animate the bar when changing its value. Reference as `value-animated`"/>
</prop>
<prop name="start_value" help="Set the start value in range mode">
<param name="start_value" type="int" help="The left/start value of the bar in range mode"/>
<param name="animated" type="bool" default="false" help="Animate the bar when changing its start value. Reference as `start_value-animated`"/>
</prop>
<prop name="mode" type="enum:lv_bar_mode" help="Select how the bar grows"/>
<prop name="orientation" type="enum:lv_bar_orientation" help="Select the bars orientation"/>
<prop name="bind_value" type="subject" help="Bind the bars value to a subject"/>
</api>
</widget>