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