mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-10 12:47:51 +08:00
26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
<!--
|
|
Example
|
|
<lv_arc mode="reverse" angles="100° 200°" bg_angles="30° 150° range="40 100" value="60"/>
|
|
-->
|
|
|
|
<widget>
|
|
<api>
|
|
<enumdef name="lv_arc_mode" help="the mode">
|
|
<enum name="normal" help="normal"/>
|
|
<enum name="symmetrical" help="sym"/>
|
|
<enum name="reverse" help="reverse"/>
|
|
</enumdef>
|
|
|
|
<prop name="start_angle" type="int" help="Start angles of the indicator"/>
|
|
<prop name="end_angle" type="int" help="End angles of the indicator"/>
|
|
<prop name="bg_start_angle" type="int" help="Start angles of the background"/>
|
|
<prop name="bg_end_angle" type="int" help="End angles of the background"/>
|
|
<prop name="rotation" type="int" help="Rotation angle of the whole arc"/>
|
|
<prop name="min_value" type="int"/>
|
|
<prop name="max_value" type="int"/>
|
|
<prop name="value" type="int" help="The current value"/>
|
|
<prop name="mode" type="enum:lv_arc_mode" help="The mode"/>
|
|
<prop name="bind_value" type="subject" help="Connect a subject to the arc's value"/>
|
|
</api>
|
|
</widget>
|