mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
62 lines
1.9 KiB
XML
62 lines
1.9 KiB
XML
<!--
|
|
<lv_scale total_tick_count="30">
|
|
<lv_scale-section column="2" range="30 40" style="indicator style1"/>
|
|
</lv_scale>
|
|
-->
|
|
|
|
<widget>
|
|
<api>
|
|
<enumdef name="lv_scale_mode" help="">
|
|
<enum name="horizontal_top" help=""/>
|
|
<enum name="horizontal_bottom" help=""/>
|
|
<enum name="vertical_top" help=""/>
|
|
<enum name="vertical_bottom" help=""/>
|
|
<enum name="round_inner" help=""/>
|
|
<enum name="round_outer" help=""/>
|
|
</enumdef>
|
|
|
|
<prop name="mode" help="">
|
|
<param name="mode" type="enum:lv_scale_mode" help=""/>
|
|
</prop>
|
|
<prop name="total_tick_count" help="">
|
|
<param name="cnt" type="int" help=""/>
|
|
</prop>
|
|
<prop name="major_tick_every" help="">
|
|
<param name="cnt" type="int" help=""/>
|
|
</prop>
|
|
<prop name="label_show" help="">
|
|
<param name="en" type="bool" help=""/>
|
|
</prop>
|
|
<prop name="range" help="">
|
|
<param name="range_min" type="int" help=""/>
|
|
<param name="range_max" type="int" help=""/>
|
|
</prop>
|
|
<prop name="angle_range" help="">
|
|
<param name="range" type="deg" help=""/>
|
|
</prop>
|
|
<prop name="rotation" help="">
|
|
<param name="rotation" type="deg" help=""/>
|
|
</prop>
|
|
<prop name="text_src" help="">
|
|
<param name="texts" type="string[NULL]" help=""/>
|
|
</prop>
|
|
<prop name="post_draw" help="">
|
|
<param name="en" type="bool" help=""/>
|
|
</prop>
|
|
<prop name="draw_ticks_on_top" help="">
|
|
<param name="en" type="bool" help=""/>
|
|
</prop>
|
|
|
|
<element name="section" type="custom:scale_section" access="add">
|
|
<prop name="range" help="">
|
|
<param name="int" type="minor_range" help=""/>
|
|
<param name="int" type="major_range" help=""/>
|
|
</prop>
|
|
<prop name="style" help="">
|
|
<param name="part" type="part" help=""/>
|
|
<param name="style" type="style" help=""/>
|
|
</prop>
|
|
</element>
|
|
</api>
|
|
</widget>
|