summaryrefslogtreecommitdiff
path: root/doc/classes/TextureProgress.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/TextureProgress.xml')
-rw-r--r--doc/classes/TextureProgress.xml148
1 files changed, 7 insertions, 141 deletions
diff --git a/doc/classes/TextureProgress.xml b/doc/classes/TextureProgress.xml
index f8165753c6..18bd886b0b 100644
--- a/doc/classes/TextureProgress.xml
+++ b/doc/classes/TextureProgress.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="TextureProgress" inherits="Range" category="Core" version="3.0.alpha.custom_build">
+<class name="TextureProgress" inherits="Range" category="Core" version="3.1">
<brief_description>
Texture-based progress bar. Useful for loading screens and life or stamina bars.
</brief_description>
@@ -11,140 +11,6 @@
<demos>
</demos>
<methods>
- <method name="get_fill_degrees">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_fill_mode">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_nine_patch_stretch" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- Returns true if textures are stretched as nine-patches or false otherwise.
- </description>
- </method>
- <method name="get_over_texture" qualifiers="const">
- <return type="Texture">
- </return>
- <description>
- </description>
- </method>
- <method name="get_progress_texture" qualifiers="const">
- <return type="Texture">
- </return>
- <description>
- </description>
- </method>
- <method name="get_radial_center_offset">
- <return type="Vector2">
- </return>
- <description>
- </description>
- </method>
- <method name="get_radial_initial_angle">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_stretch_margin" qualifiers="const">
- <return type="int">
- </return>
- <argument index="0" name="margin" type="int" enum="Margin">
- </argument>
- <description>
- Return nine-patch texture offset for a given margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM).
- </description>
- </method>
- <method name="get_under_texture" qualifiers="const">
- <return type="Texture">
- </return>
- <description>
- </description>
- </method>
- <method name="set_fill_degrees">
- <return type="void">
- </return>
- <argument index="0" name="mode" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_fill_mode">
- <return type="void">
- </return>
- <argument index="0" name="mode" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_nine_patch_stretch">
- <return type="void">
- </return>
- <argument index="0" name="stretch" type="bool">
- </argument>
- <description>
- Set if textures should be stretched as nine-patches.
- </description>
- </method>
- <method name="set_over_texture">
- <return type="void">
- </return>
- <argument index="0" name="tex" type="Texture">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_progress_texture">
- <return type="void">
- </return>
- <argument index="0" name="tex" type="Texture">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_radial_center_offset">
- <return type="void">
- </return>
- <argument index="0" name="mode" type="Vector2">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_radial_initial_angle">
- <return type="void">
- </return>
- <argument index="0" name="mode" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_stretch_margin">
- <return type="void">
- </return>
- <argument index="0" name="margin" type="int" enum="Margin">
- </argument>
- <argument index="1" name="value" type="int">
- </argument>
- <description>
- Set nine-patch texture offset for a given margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM).
- </description>
- </method>
- <method name="set_under_texture">
- <return type="void">
- </return>
- <argument index="0" name="tex" type="Texture">
- </argument>
- <description>
- </description>
- </method>
</methods>
<members>
<member name="fill_mode" type="int" setter="set_fill_mode" getter="get_fill_mode">
@@ -187,22 +53,22 @@
</member>
</members>
<constants>
- <constant name="FILL_LEFT_TO_RIGHT" value="0">
+ <constant name="FILL_LEFT_TO_RIGHT" value="0" enum="FillMode">
The [member texture_progress] fills from left to right.
</constant>
- <constant name="FILL_RIGHT_TO_LEFT" value="1">
+ <constant name="FILL_RIGHT_TO_LEFT" value="1" enum="FillMode">
The [member texture_progress] fills from right to left.
</constant>
- <constant name="FILL_TOP_TO_BOTTOM" value="2">
+ <constant name="FILL_TOP_TO_BOTTOM" value="2" enum="FillMode">
The [member texture_progress] fills from top to bototm.
</constant>
- <constant name="FILL_BOTTOM_TO_TOP" value="3">
+ <constant name="FILL_BOTTOM_TO_TOP" value="3" enum="FillMode">
The [member texture_progress] fills from bottom to top.
</constant>
- <constant name="FILL_CLOCKWISE" value="4">
+ <constant name="FILL_CLOCKWISE" value="4" enum="FillMode">
Turns the node into a radial bar. The [member texture_progress] fills clockwise. See [member radial_center_offset], [member radial_initial_angle] and [member radial_fill_degrees] to refine its behavior.
</constant>
- <constant name="FILL_COUNTER_CLOCKWISE" value="5">
+ <constant name="FILL_COUNTER_CLOCKWISE" value="5" enum="FillMode">
Turns the node into a radial bar. The [member texture_progress] fills counter-clockwise. See [member radial_center_offset], [member radial_initial_angle] and [member radial_fill_degrees] to refine its behavior.
</constant>
</constants>