From 30da18c01a8d37a5f103386ce6e749e91d64db2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 15 May 2019 12:51:58 +0200 Subject: [PATCH] doc: Sync classref with current source --- doc/classes/@GDScript.xml | 6 +++--- doc/classes/BaseButton.xml | 6 +++--- doc/classes/CheckButton.xml | 4 ++++ doc/classes/Font.xml | 10 ++++++++++ doc/classes/FuncRef.xml | 6 ++++++ doc/classes/MultiMesh.xml | 2 +- doc/classes/OptionButton.xml | 4 ++-- doc/classes/PopupMenu.xml | 4 ++-- doc/classes/VisualServer.xml | 22 +++++++++++----------- 9 files changed, 42 insertions(+), 22 deletions(-) diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 2f7f05b2e48..63b9ef13fd0 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -259,12 +259,12 @@ - + - Deprecated alias for "[method step_decimals]". + Deprecated alias for "[method step_decimals]". @@ -1020,7 +1020,7 @@ - + diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml index c65d545f3eb..7bd346ed5a8 100644 --- a/doc/classes/BaseButton.xml +++ b/doc/classes/BaseButton.xml @@ -57,6 +57,9 @@ [ButtonGroup] associated to the button. + + If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it. Default value: [code]false[/code]. + If [code]true[/code], the button's state is pressed. Means the button is pressed down or toggled (if toggle_mode is active). @@ -69,9 +72,6 @@ If [code]true[/code], the button is in toggle mode. Makes the button flip state between pressed and unpressed each time its area is clicked. - - If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it. Default value: [code]false[/code]. - diff --git a/doc/classes/CheckButton.xml b/doc/classes/CheckButton.xml index 94e4eececdf..04344c18342 100644 --- a/doc/classes/CheckButton.xml +++ b/doc/classes/CheckButton.xml @@ -41,8 +41,12 @@ + + + + diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml index bd189928b00..5792b539e0c 100644 --- a/doc/classes/Font.xml +++ b/doc/classes/Font.xml @@ -77,6 +77,16 @@ Return the size of a string, taking kerning and advance into account. + + + + + + + + + + diff --git a/doc/classes/FuncRef.xml b/doc/classes/FuncRef.xml index 3f843165036..e35d7a68c5b 100644 --- a/doc/classes/FuncRef.xml +++ b/doc/classes/FuncRef.xml @@ -17,6 +17,12 @@ Calls the referenced function previously set by [method set_function] or [method @GDScript.funcref]. + + + + + + diff --git a/doc/classes/MultiMesh.xml b/doc/classes/MultiMesh.xml index 0e6b5ef1cbf..1532fac2066 100644 --- a/doc/classes/MultiMesh.xml +++ b/doc/classes/MultiMesh.xml @@ -59,7 +59,7 @@ - + Set all data related to the instances in one go. This is especially useful when loading the data from disk or preparing the data from GDNative. diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml index 51d2cbc867d..06b4cb165e8 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -202,14 +202,14 @@ - + This signal is emitted when user navigated to an item using [code]ui_up[/code] or [code]ui_down[/code] action. ID of the item selected is passed as argument. - + This signal is emitted when the current item was changed by the user. Index of the item selected is passed as argument. diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index 4924175b6e2..a91f765d414 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -527,14 +527,14 @@ - + This event is emitted when user navigated to an item of some id using [code]ui_up[/code] or [code]ui_down[/code] action. - + This event is emitted when an item of some id is pressed or its accelerator is activated. diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index c85a2c4b38f..dae120f09bb 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -2003,17 +2003,6 @@ - - - - - - - - - Sets whether GI probes capture light information from this light. - - @@ -2096,6 +2085,17 @@ + + + + + + + + + Sets whether GI probes capture light information from this light. + +