From d78336c65e3dda2081fe4f3c1e4c269452514086 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 25 Dec 2020 23:45:28 +0200 Subject: [CTL] Add missing font outline drawing routines and theme constants. --- doc/classes/Button.xml | 4 ++-- doc/classes/CheckBox.xml | 6 ++++++ doc/classes/CheckButton.xml | 6 ++++++ doc/classes/CodeEdit.xml | 6 ++++++ doc/classes/ColorPickerButton.xml | 6 ++++++ doc/classes/ItemList.xml | 6 ++++++ doc/classes/LineEdit.xml | 6 ++++++ doc/classes/LinkButton.xml | 6 ++++++ doc/classes/MenuButton.xml | 6 ++++++ doc/classes/OptionButton.xml | 6 ++++++ doc/classes/PopupMenu.xml | 6 ++++++ doc/classes/ProgressBar.xml | 6 ++++++ doc/classes/RichTextLabel.xml | 6 ++++++ doc/classes/TabContainer.xml | 6 ++++++ doc/classes/Tabs.xml | 6 ++++++ doc/classes/TextEdit.xml | 6 ++++++ doc/classes/Tree.xml | 6 ++++++ doc/classes/Window.xml | 9 +++++++++ 18 files changed, 107 insertions(+), 2 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index 8908c5f830..96ff5e0293 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -128,7 +128,7 @@ Text [Color] used when the [Button] is being hovered and pressed. - Text outline [Color] of the [Button]. + The tint of text outline of the [Button]. Text [Color] used when the [Button] is being pressed. @@ -161,7 +161,7 @@ Default [StyleBox] for the [Button]. - Size of the [Button]'s text outline. + The size of the text outline. [StyleBox] used when the [Button] is being pressed. diff --git a/doc/classes/CheckBox.xml b/doc/classes/CheckBox.xml index bd91f9ed06..80febfbfe7 100644 --- a/doc/classes/CheckBox.xml +++ b/doc/classes/CheckBox.xml @@ -45,6 +45,9 @@ The [CheckBox] text's font color when it's hovered and pressed. + + The tint of text outline of the [CheckBox]. + The [CheckBox] text's font color when it's pressed. @@ -63,6 +66,9 @@ The [StyleBox] to display as a background. + + The size of the text outline. + The [StyleBox] to display as a background when the [CheckBox] is pressed. diff --git a/doc/classes/CheckButton.xml b/doc/classes/CheckButton.xml index a05e532d4a..46e590a115 100644 --- a/doc/classes/CheckButton.xml +++ b/doc/classes/CheckButton.xml @@ -42,6 +42,9 @@ The [CheckButton] text's font color when it's hovered and pressed. + + The tint of text outline of the [CheckButton]. + The [CheckButton] text's font color when it's pressed. @@ -84,6 +87,9 @@ The icon to display when the [CheckButton] is checked (for right-to-left layouts). + + The size of the text outline. + The [StyleBox] to display as a background when the [CheckButton] is pressed. diff --git a/doc/classes/CodeEdit.xml b/doc/classes/CodeEdit.xml index f897f2405b..d1483ac88e 100644 --- a/doc/classes/CodeEdit.xml +++ b/doc/classes/CodeEdit.xml @@ -179,6 +179,9 @@ + + The tint of text outline of the [CodeEdit]. + @@ -194,6 +197,9 @@ + + The size of the text outline. + diff --git a/doc/classes/ColorPickerButton.xml b/doc/classes/ColorPickerButton.xml index b351faf9ca..e49027e61d 100644 --- a/doc/classes/ColorPickerButton.xml +++ b/doc/classes/ColorPickerButton.xml @@ -79,6 +79,9 @@ Text [Color] used when the [ColorPickerButton] is being hovered. + + The tint of text outline of the [ColorPickerButton]. + Text [Color] used when the [ColorPickerButton] is being pressed. @@ -94,6 +97,9 @@ Default [StyleBox] for the [ColorPickerButton]. + + The size of the text outline. + [StyleBox] used when the [ColorPickerButton] is being pressed. diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index abc327e8bb..ffeb45907d 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -615,6 +615,9 @@ Default text [Color] of the item. + + The tint of text outline of the item. + Text [Color] used when the item is selected. @@ -633,6 +636,9 @@ The vertical spacing between each line of text. + + The size of the item text outline. + [StyleBox] for the selected items, used when the [ItemList] is not being focused. diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 61ecff52e3..a6dcabb168 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -380,6 +380,9 @@ Default font color. + + The tint of text outline of the [LineEdit]. + Font color for selected text (inside the selection rectangle). @@ -395,6 +398,9 @@ Default background for the [LineEdit]. + + The size of the text outline. + Background used when [LineEdit] is in read-only mode ([member editable] is set to [code]false[/code]). diff --git a/doc/classes/LinkButton.xml b/doc/classes/LinkButton.xml index 0227870152..6e2f4399b3 100644 --- a/doc/classes/LinkButton.xml +++ b/doc/classes/LinkButton.xml @@ -84,12 +84,18 @@ Text [Color] used when the [LinkButton] is being hovered. + + The tint of text outline of the [LinkButton]. + Text [Color] used when the [LinkButton] is being pressed. Font size of the [LinkButton]'s text. + + The size of the text outline. + The vertical space between the baseline of text and the underline. diff --git a/doc/classes/MenuButton.xml b/doc/classes/MenuButton.xml index 1e8874fdc5..481b737eee 100644 --- a/doc/classes/MenuButton.xml +++ b/doc/classes/MenuButton.xml @@ -65,6 +65,9 @@ Text [Color] used when the [MenuButton] is being hovered. + + The tint of text outline of the [MenuButton]. + Text [Color] used when the [MenuButton] is being pressed. @@ -80,6 +83,9 @@ Default [StyleBox] for the [MenuButton]. + + The size of the text outline. + [StyleBox] used when the [MenuButton] is being pressed. diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml index 1a80962751..52da08c02f 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -259,6 +259,9 @@ Text [Color] used when the [OptionButton] is being hovered. + + The tint of text outline of the [OptionButton]. + Text [Color] used when the [OptionButton] is being pressed. @@ -280,6 +283,9 @@ Default [StyleBox] for the [OptionButton] (for right-to-left layouts). + + The size of the text outline. + [StyleBox] used when the [OptionButton] is being pressed (for left-to-right layouts). diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index 47e8e57a4e..d810774b25 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -729,6 +729,9 @@ [Color] used for the hovered text. + + The tint of text outline of the menu item. + [Color] used for labeled separators' text. See [method add_separator]. @@ -747,6 +750,9 @@ [StyleBox] for the right side of labeled separator. See [method add_separator]. + + The size of the item text outline. + Default [StyleBox] of the [PopupMenu] items. diff --git a/doc/classes/ProgressBar.xml b/doc/classes/ProgressBar.xml index bb7fd31ee8..160b61c720 100644 --- a/doc/classes/ProgressBar.xml +++ b/doc/classes/ProgressBar.xml @@ -32,11 +32,17 @@ The color of the text. + + The tint of text outline of the [ProgressBar]. + The color of the text's shadow. Font size used to draw the fill percentage if [member percent_visible] is [code]true[/code]. + + The size of the text outline. + diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index 35eae32c7b..fd32e86d7e 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -597,6 +597,9 @@ The background The background used when the [RichTextLabel] is focused. + + The default tint of text outline. + The color of selected text, used when [member selection_enabled] is [code]true[/code]. @@ -627,6 +630,9 @@ The default text font size. + + The size of the text outline. + The color of the selection box. diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index 52577e6102..ddf6b465a4 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -201,6 +201,9 @@ Font color of disabled tabs. + + The tint of text outline of the tab name. + Font color of the currently selected tab. @@ -225,6 +228,9 @@ The icon for the menu button (see [method set_popup]) when it's being hovered with the cursor. + + The size of the tab text outline. + The style for the background fill. diff --git a/doc/classes/Tabs.xml b/doc/classes/Tabs.xml index 0c7b992cbf..df9680bf28 100644 --- a/doc/classes/Tabs.xml +++ b/doc/classes/Tabs.xml @@ -362,6 +362,9 @@ Font color of disabled tabs. + + The tint of text outline of the tab name. + Font color of the currently selected tab. @@ -380,6 +383,9 @@ Icon for the right arrow button that appears when there are too many tabs to fit in the container width. Used when the button is being hovered with the cursor. + + The size of the tab text outline. + diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 539f7afbd8..1d50cd60e5 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -954,6 +954,9 @@ Sets the font [Color]. + + The tint of text outline of the [TextEdit]. + @@ -971,6 +974,9 @@ Sets the [StyleBox] of this [TextEdit]. + + The size of the text outline. + Sets the [StyleBox] of this [TextEdit] when [member readonly] is enabled. diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index 406bda412a..59b72b1ed6 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -524,6 +524,9 @@ Default text [Color] of the item. + + The tint of text outline of the item. + Text [Color] used when the item is selected. @@ -539,6 +542,9 @@ The horizontal margin at the start of an item. This is used when folding is enabled for the item. + + The size of the text outline. + [Color] of the relationship lines. diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 0f887c7705..fbe1e275a9 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -474,8 +474,17 @@ + + The size of the title font. + + + The color of the title outline. + + + The size of the title outline. + -- cgit v1.2.3