From 001651fb337294c2f5275f1772c517ff64b1d1cb Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 16 Sep 2022 23:55:40 +0200 Subject: [PATCH] Ported: Fix parameter references in Theme documentation - YuriSizov https://github.com/godotengine/godot/commit/949625473728350918ac77d3f95f96598779a196 --- doc/classes/Theme.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/classes/Theme.xml b/doc/classes/Theme.xml index b4a1f3f5b..fab90aa74 100644 --- a/doc/classes/Theme.xml +++ b/doc/classes/Theme.xml @@ -96,7 +96,7 @@ - Returns all the [Color]s as a [PoolStringArray] filled with each [Color]'s name, for use in [method get_color], if the theme has [code]node_type[/code]. + Returns all the [Color]s as a [PoolStringArray] filled with each [Color]'s name, for use in [method get_color], if the theme has [code]theme_type[/code]. @@ -116,7 +116,7 @@ - Returns all the constants as a [PoolStringArray] filled with each constant's name, for use in [method get_constant], if the theme has [code]node_type[/code]. + Returns all the constants as a [PoolStringArray] filled with each constant's name, for use in [method get_constant], if the theme has [code]theme_type[/code]. @@ -136,7 +136,7 @@ - Returns all the [Font]s as a [PoolStringArray] filled with each [Font]'s name, for use in [method get_font], if the theme has [code]node_type[/code]. + Returns all the [Font]s as a [PoolStringArray] filled with each [Font]'s name, for use in [method get_font], if the theme has [code]theme_type[/code]. @@ -156,7 +156,7 @@ - Returns all the icons as a [PoolStringArray] filled with each [Texture]'s name, for use in [method get_icon], if the theme has [code]node_type[/code]. + Returns all the icons as a [PoolStringArray] filled with each [Texture]'s name, for use in [method get_icon], if the theme has [code]theme_type[/code]. @@ -176,8 +176,8 @@ - Returns all the [StyleBox]s as a [PoolStringArray] filled with each [StyleBox]'s name, for use in [method get_stylebox], if the theme has [code]node_type[/code]. - Valid [code]node_type[/code]s may be found using [method get_stylebox_types]. + Returns all the [StyleBox]s as a [PoolStringArray] filled with each [StyleBox]'s name, for use in [method get_stylebox], if the theme has [code]theme_type[/code]. + Valid [code]theme_type[/code]s may be found using [method get_stylebox_types]. @@ -199,8 +199,8 @@ - Returns all the theme items of [code]data_type[/code] as a [PoolStringArray] filled with each theme items's name, for use in [method get_theme_item] or a data type specific method, if the theme has [code]node_type[/code]. - Valid [code]node_type[/code]s may be found using [method get_theme_item_types] or a data type specific method. + Returns all the theme items of [code]data_type[/code] as a [PoolStringArray] filled with each theme items's name, for use in [method get_theme_item] or a data type specific method, if the theme has [code]theme_type[/code]. + Valid [code]theme_type[/code]s may be found using [method get_theme_item_types] or a data type specific method. @@ -215,7 +215,7 @@ Returns all the theme types as a [PoolStringArray] filled with unique type names, for use in other [code]get_*[/code] functions of this theme. - [b]Note:[/b] [code]node_type[/code] has no effect and will be removed in future version. + [b]Note:[/b] [code]theme_type[/code] has no effect and will be removed in future version.