28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<!--
|
||
Example
|
||
<lv_arc mode="reverse" bg_start_angle="30" bg_end_ange="150"
|
||
min_value="40" max_value="120"
|
||
value="60"/>
|
||
-->
|
||
|
||
<widget>
|
||
<api>
|
||
<enumdef name="lv_arc_mode" help="How the arc’s indicator grows">
|
||
<enum name="normal" help="Make the indicator grow clockwise"/>
|
||
<enum name="symmetrical" help="Make the indicator grow symmetrically left and right from the midpoint"/>
|
||
<enum name="reverse" help="Make the indicator grow counterclockwise"/>
|
||
</enumdef>
|
||
|
||
<prop name="start_angle" type="int" help="Set the start angle of the indicator"/>
|
||
<prop name="end_angle" type="int" help="Set the end angle of the indicator"/>
|
||
<prop name="bg_start_angle" type="int" help="Set the start angle of the background arc"/>
|
||
<prop name="bg_end_angle" type="int" help="Set the end angle of the background arc"/>
|
||
<prop name="rotation" type="int" help="Rotate the whole arc by a given angle"/>
|
||
<prop name="min_value" type="int" help="Set the minimum value of the arc"/>
|
||
<prop name="max_value" type="int" help="Set the maximum value of the arc"/>
|
||
<prop name="value" type="int" help="Set the current value of the arc (between minimum and maximum)"/>
|
||
<prop name="mode" type="enum:lv_arc_mode" help="Select how the indicator grows"/>
|
||
<prop name="bind_value" type="subject" help="Bind the arc’s value to a subject"/>
|
||
</api>
|
||
</widget>
|