[docs] fix links in class docs

(cherry picked from commit c6ed46891d)
This commit is contained in:
Kelly Thomas 2018-05-17 00:15:30 +08:00 committed by Hein-Pieter van Braam
parent 12fe774844
commit fbad7c2dd9
8 changed files with 13 additions and 13 deletions

View File

@ -21,7 +21,7 @@
<argument index="2" name="action" type="String" default="&quot;&quot;"> <argument index="2" name="action" type="String" default="&quot;&quot;">
</argument> </argument>
<description> <description>
Adds a button with label [i]text[/i] and a custom [i]action[/i] to the dialog and returns the created button. [i]action[/i] will be passed to the [custom_action] signal when pressed. Adds a button with label [i]text[/i] and a custom [i]action[/i] to the dialog and returns the created button. [i]action[/i] will be passed to the [signal custom_action] signal when pressed.
If [code]true[/code], [i]right[/i] will place the button to the right of any sibling buttons. Default value: [code]false[/code]. If [code]true[/code], [i]right[/i] will place the button to the right of any sibling buttons. Default value: [code]false[/code].
</description> </description>
</method> </method>

View File

@ -112,7 +112,7 @@
<argument index="1" name="no_inheritance" type="bool" default="false"> <argument index="1" name="no_inheritance" type="bool" default="false">
</argument> </argument>
<description> <description>
Returns an array with all the signals of 'class' or its ancestry if 'no_inheritance' is false. Every element of the array is a [Dictionary] as described in [class_get_signal]. Returns an array with all the signals of 'class' or its ancestry if 'no_inheritance' is false. Every element of the array is a [Dictionary] as described in [method class_get_signal].
</description> </description>
</method> </method>
<method name="class_has_integer_constant" qualifiers="const"> <method name="class_has_integer_constant" qualifiers="const">

View File

@ -51,7 +51,7 @@
<argument index="1" name="color" type="Color"> <argument index="1" name="color" type="Color">
</argument> </argument>
<description> <description>
Overrides the color in the [theme] resource the node uses. Overrides the color in the [member theme] resource the node uses.
</description> </description>
</method> </method>
<method name="add_constant_override"> <method name="add_constant_override">
@ -62,7 +62,7 @@
<argument index="1" name="constant" type="int"> <argument index="1" name="constant" type="int">
</argument> </argument>
<description> <description>
Overrides an integer constant in the [Theme] resource the node uses. If the [code]constant[/code] is invalid, Godot clears the override. See [member Theme.INVALID_CONSTANT] for more information. Overrides an integer constant in the [member theme] resource the node uses. If the [code]constant[/code] is invalid, Godot clears the override. See [member Theme.INVALID_CONSTANT] for more information.
</description> </description>
</method> </method>
<method name="add_font_override"> <method name="add_font_override">
@ -73,7 +73,7 @@
<argument index="1" name="font" type="Font"> <argument index="1" name="font" type="Font">
</argument> </argument>
<description> <description>
Overrides the [code]name[/code] font in the [theme] resource the node uses. If [code]font[/code] is empty, Godot clears the override. Overrides the [code]name[/code] font in the [member theme] resource the node uses. If [code]font[/code] is empty, Godot clears the override.
</description> </description>
</method> </method>
<method name="add_icon_override"> <method name="add_icon_override">
@ -84,7 +84,7 @@
<argument index="1" name="texture" type="Texture"> <argument index="1" name="texture" type="Texture">
</argument> </argument>
<description> <description>
Overrides the [code]name[/code] icon in the [theme] resource the node uses. If [code]icon[/code] is empty, Godot clears the override. Overrides the [code]name[/code] icon in the [member theme] resource the node uses. If [code]icon[/code] is empty, Godot clears the override.
</description> </description>
</method> </method>
<method name="add_shader_override"> <method name="add_shader_override">
@ -95,7 +95,7 @@
<argument index="1" name="shader" type="Shader"> <argument index="1" name="shader" type="Shader">
</argument> </argument>
<description> <description>
Overrides the [code]name[/code] shader in the [theme] resource the node uses. If [code]shader[/code] is empty, Godot clears the override. Overrides the [code]name[/code] shader in the [member theme] resource the node uses. If [code]shader[/code] is empty, Godot clears the override.
</description> </description>
</method> </method>
<method name="add_stylebox_override"> <method name="add_stylebox_override">
@ -106,7 +106,7 @@
<argument index="1" name="stylebox" type="StyleBox"> <argument index="1" name="stylebox" type="StyleBox">
</argument> </argument>
<description> <description>
Overrides the [code]name[/code] [Stylebox] in the [theme] resource the node uses. If [code]stylebox[/code] is empty, Godot clears the override. Overrides the [code]name[/code] [Stylebox] in the [member theme] resource the node uses. If [code]stylebox[/code] is empty, Godot clears the override.
</description> </description>
</method> </method>
<method name="can_drop_data" qualifiers="virtual"> <method name="can_drop_data" qualifiers="virtual">

View File

@ -15,7 +15,7 @@
</methods> </methods>
<members> <members>
<member name="button_index" type="int" setter="set_button_index" getter="get_button_index"> <member name="button_index" type="int" setter="set_button_index" getter="get_button_index">
Button identifier. One of the [code]JOY_BUTTON_*[/code] constants from [@global Scope]. Button identifier. One of the [code]JOY_BUTTON_*[/code] constants from [@GlobalScope].
</member> </member>
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed"> <member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
If [code]true[/code] the button's state is pressed. If [code]false[/code] the button's state is released. If [code]true[/code] the button's state is pressed. If [code]false[/code] the button's state is released.

View File

@ -15,7 +15,7 @@
</methods> </methods>
<members> <members>
<member name="axis" type="int" setter="set_axis" getter="get_axis"> <member name="axis" type="int" setter="set_axis" getter="get_axis">
Axis identifier. Use one of the [code]JOY_AXIS_*[/code] constants in [@global Scope]. Axis identifier. Use one of the [code]JOY_AXIS_*[/code] constants in [@GlobalScope].
</member> </member>
<member name="axis_value" type="float" setter="set_axis_value" getter="get_axis_value"> <member name="axis_value" type="float" setter="set_axis_value" getter="get_axis_value">
Current position of the joystick on the given axis. The value ranges from [code]-1.0[/code] to [code]1.0[/code]. A value of [code]0[/code] means the axis is in its resting position. Current position of the joystick on the given axis. The value ranges from [code]-1.0[/code] to [code]1.0[/code]. A value of [code]0[/code] means the axis is in its resting position.

View File

@ -27,7 +27,7 @@
If [code]true[/code] the key's state is pressed. If [code]false[/code] the key's state is released. If [code]true[/code] the key's state is pressed. If [code]false[/code] the key's state is released.
</member> </member>
<member name="scancode" type="int" setter="set_scancode" getter="get_scancode"> <member name="scancode" type="int" setter="set_scancode" getter="get_scancode">
Key scancode, one of the [code]KEY_*[/code] constants in [@global Scope]. Key scancode, one of the [code]KEY_*[/code] constants in [@GlobalScope].
</member> </member>
<member name="unicode" type="int" setter="set_unicode" getter="get_unicode"> <member name="unicode" type="int" setter="set_unicode" getter="get_unicode">
Key unicode identifier when relevant. Key unicode identifier when relevant.

View File

@ -566,7 +566,7 @@
<argument index="3" name="userdata" type="Variant" default="null"> <argument index="3" name="userdata" type="Variant" default="null">
</argument> </argument>
<description> <description>
Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force integration]). Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force_integration]).
</description> </description>
</method> </method>
<method name="body_set_max_contacts_reported"> <method name="body_set_max_contacts_reported">

View File

@ -605,7 +605,7 @@
<argument index="3" name="userdata" type="Variant" default="null"> <argument index="3" name="userdata" type="Variant" default="null">
</argument> </argument>
<description> <description>
Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force integration]). Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force_integration]).
</description> </description>
</method> </method>
<method name="body_set_kinematic_safe_margin"> <method name="body_set_kinematic_safe_margin">