diff options
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/AcceptDialog.xml | 5 | ||||
-rw-r--r-- | doc/classes/Control.xml | 3 | ||||
-rw-r--r-- | doc/classes/Image.xml | 1 | ||||
-rw-r--r-- | doc/classes/MultiplayerPeer.xml | 7 | ||||
-rw-r--r-- | doc/classes/Window.xml | 9 |
5 files changed, 21 insertions, 4 deletions
diff --git a/doc/classes/AcceptDialog.xml b/doc/classes/AcceptDialog.xml index fd1e2ba104..ec276ed227 100644 --- a/doc/classes/AcceptDialog.xml +++ b/doc/classes/AcceptDialog.xml @@ -105,4 +105,9 @@ </signals> <constants> </constants> + <theme_items> + <theme_item name="panel" type="StyleBox"> + Panel that fills up the background of the window. + </theme_item> + </theme_items> </class> diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 5c0856cb6a..4753b34efb 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -1081,6 +1081,9 @@ <member name="anchor_top" type="float" setter="_set_anchor" getter="get_anchor" default="0.0"> Anchors the top edge of the node to the origin, the center or the end of its parent control. It changes how the top offset updates when the node moves or changes size. You can use one of the [enum Anchor] constants for convenience. </member> + <member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" default="true"> + Toggles if any text should automatically change to its translated version depending on the current locale. + </member> <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode" default="0"> The focus access mode for the control (None, Click or All). Only one Control can be focused at the same time, and it will receive keyboard signals. </member> diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index fd80841a63..37a96fef3d 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -465,6 +465,7 @@ </argument> <description> Saves the image as an EXR file to [code]path[/code]. If [code]grayscale[/code] is [code]true[/code] and the image has only one channel, it will be saved explicitly as monochrome rather than one red channel. This function will return [constant ERR_UNAVAILABLE] if Godot was compiled without the TinyEXR module. + [b]Note:[/b] The TinyEXR module is disabled in non-editor builds, which means [method save_exr] will return [constant ERR_UNAVAILABLE] when it is called from an exported project. </description> </method> <method name="save_png" qualifiers="const"> diff --git a/doc/classes/MultiplayerPeer.xml b/doc/classes/MultiplayerPeer.xml index 713cd64b82..fa8f0e2de9 100644 --- a/doc/classes/MultiplayerPeer.xml +++ b/doc/classes/MultiplayerPeer.xml @@ -12,6 +12,13 @@ <link title="WebRTC Signaling Demo">https://godotengine.org/asset-library/asset/537</link> </tutorials> <methods> + <method name="generate_unique_id" qualifiers="const"> + <return type="int"> + </return> + <description> + Returns a randomly generated integer that can be used as a network unique ID. + </description> + </method> <method name="get_connection_status" qualifiers="const"> <return type="int" enum="MultiplayerPeer.ConnectionStatus"> </return> diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index c8efaca1fc..7b21d99d10 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -323,6 +323,9 @@ <members> <member name="always_on_top" type="bool" setter="set_flag" getter="get_flag" default="false"> </member> + <member name="auto_translate" type="bool" setter="set_auto_translate" getter="is_auto_translating" default="true"> + Toggles if any text should automatically change to its translated version depending on the current locale. + </member> <member name="borderless" type="bool" setter="set_flag" getter="get_flag" default="false"> </member> <member name="content_scale_aspect" type="int" setter="set_content_scale_aspect" getter="get_content_scale_aspect" enum="Window.ContentScaleAspect" default="0"> @@ -469,11 +472,11 @@ </theme_item> <theme_item name="close_h_ofs" type="int" default="18"> </theme_item> - <theme_item name="close_highlight" type="Texture2D"> + <theme_item name="close_pressed" type="Texture2D"> </theme_item> <theme_item name="close_v_ofs" type="int" default="18"> </theme_item> - <theme_item name="panel" type="StyleBox"> + <theme_item name="embedded_border" type="StyleBox"> </theme_item> <theme_item name="resize_margin" type="int" default="4"> </theme_item> @@ -494,7 +497,5 @@ <theme_item name="title_outline_size" type="int" default="0"> The size of the title outline. </theme_item> - <theme_item name="window_panel" type="StyleBox"> - </theme_item> </theme_items> </class> |