mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a7ac8ec876
Follow-up to #31925, `<member />` tags just before `</members>` would cause a parsing issue, and we'd never notice that we're no longer parsing members. Also added space before closing `/>`.
35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ProgressBar" inherits="Range" category="Core" version="3.2">
|
|
<brief_description>
|
|
General-purpose progress bar.
|
|
</brief_description>
|
|
<description>
|
|
General-purpose progress bar. Shows fill percentage from right to left.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible" default="true">
|
|
If [code]true[/code], the fill percentage is displayed on the bar.
|
|
</member>
|
|
<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" override="true" default="0" />
|
|
<member name="step" type="float" setter="set_step" getter="get_step" override="true" default="0.01" />
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
<theme_items>
|
|
<theme_item name="bg" type="StyleBox">
|
|
</theme_item>
|
|
<theme_item name="fg" type="StyleBox">
|
|
</theme_item>
|
|
<theme_item name="font" type="Font">
|
|
</theme_item>
|
|
<theme_item name="font_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
|
</theme_item>
|
|
<theme_item name="font_color_shadow" type="Color" default="Color( 0, 0, 0, 1 )">
|
|
</theme_item>
|
|
</theme_items>
|
|
</class>
|