2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 09:03:48 +08:00
|
|
|
<class name="ProgressBar" inherits="Range" version="4.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2019-06-22 07:04:47 +08:00
|
|
|
General-purpose progress bar.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-06-22 07:04:47 +08:00
|
|
|
General-purpose progress bar. Shows fill percentage from right to left.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible" default="true">
|
2019-06-29 21:24:23 +08:00
|
|
|
If [code]true[/code], the fill percentage is displayed on the bar.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2019-09-24 19:34:03 +08:00
|
|
|
<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" />
|
2017-09-13 04:42:36 +08:00
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
<theme_items>
|
|
|
|
<theme_item name="bg" type="StyleBox">
|
2020-03-04 02:21:21 +08:00
|
|
|
The style of the background.
|
2017-09-13 04:42:36 +08:00
|
|
|
</theme_item>
|
|
|
|
<theme_item name="fg" type="StyleBox">
|
2020-03-04 02:21:21 +08:00
|
|
|
The style of the progress (i.e. the part that fills the bar).
|
2017-09-13 04:42:36 +08:00
|
|
|
</theme_item>
|
|
|
|
<theme_item name="font" type="Font">
|
2020-03-04 02:21:21 +08:00
|
|
|
Font used to draw the fill percentage if [member percent_visible] is [code]true[/code].
|
2017-09-13 04:42:36 +08:00
|
|
|
</theme_item>
|
2019-09-25 01:45:03 +08:00
|
|
|
<theme_item name="font_color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
2020-03-04 02:21:21 +08:00
|
|
|
The color of the text.
|
2017-09-13 04:42:36 +08:00
|
|
|
</theme_item>
|
2019-09-25 01:45:03 +08:00
|
|
|
<theme_item name="font_outline_color" type="Color" default="Color(1, 1, 1, 1)">
|
2020-12-26 05:45:28 +08:00
|
|
|
The tint of text outline of the [ProgressBar].
|
|
|
|
</theme_item>
|
2019-09-25 01:45:03 +08:00
|
|
|
<theme_item name="font_shadow_color" type="Color" default="Color(0, 0, 0, 1)">
|
2020-03-04 02:21:21 +08:00
|
|
|
The color of the text's shadow.
|
2017-09-13 04:42:36 +08:00
|
|
|
</theme_item>
|
2020-08-12 19:49:10 +08:00
|
|
|
<theme_item name="font_size" type="int">
|
|
|
|
Font size used to draw the fill percentage if [member percent_visible] is [code]true[/code].
|
|
|
|
</theme_item>
|
2020-12-26 05:45:28 +08:00
|
|
|
<theme_item name="outline_size" type="int" default="0">
|
|
|
|
The size of the text outline.
|
|
|
|
</theme_item>
|
2017-09-13 04:42:36 +08:00
|
|
|
</theme_items>
|
|
|
|
</class>
|