feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -29,6 +29,7 @@
|
|||
<param index="7" name="pad" type="bool" default="false" />
|
||||
<param index="8" name="tooltip" type="String" default="""" />
|
||||
<param index="9" name="size_in_percent" type="bool" default="false" />
|
||||
<param index="10" name="alt_text" type="String" default="""" />
|
||||
<description>
|
||||
Adds an image's opening and closing tags to the tag stack, optionally providing a [param width] and [param height] to resize the image, a [param color] to tint the image and a [param region] to only use parts of the image.
|
||||
If [param width] or [param height] is set to 0, the image size will be adjusted in order to keep the original aspect ratio.
|
||||
|
|
@ -36,6 +37,7 @@
|
|||
[param key] is an optional identifier, that can be used to modify the image via [method update_image].
|
||||
If [param pad] is set, and the image is smaller than the size specified by [param width] and [param height], the image padding is added to match the size instead of upscaling.
|
||||
If [param size_in_percent] is set, [param width] and [param height] values are percentages of the control width instead of pixels.
|
||||
[param alt_text] is used as the image description for assistive apps.
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_text">
|
||||
|
|
@ -341,6 +343,7 @@
|
|||
<param index="0" name="bgcolor" type="Color" />
|
||||
<description>
|
||||
Adds a [code skip-lint][bgcolor][/code] tag to the tag stack.
|
||||
[b]Note:[/b] The background color has padding applied by default, which is controlled using [theme_item text_highlight_h_padding] and [theme_item text_highlight_v_padding]. This can lead to overlapping highlights if background colors are placed on neighboring lines/columns, so consider setting those theme items to [code]0[/code] if you want to avoid this.
|
||||
</description>
|
||||
</method>
|
||||
<method name="push_bold">
|
||||
|
|
@ -400,6 +403,7 @@
|
|||
<param index="0" name="fgcolor" type="Color" />
|
||||
<description>
|
||||
Adds a [code skip-lint][fgcolor][/code] tag to the tag stack.
|
||||
[b]Note:[/b] The foreground color has padding applied by default, which is controlled using [theme_item text_highlight_h_padding] and [theme_item text_highlight_v_padding]. This can lead to overlapping highlights if foreground colors are placed on neighboring lines/columns, so consider setting those theme items to [code]0[/code] if you want to avoid this.
|
||||
</description>
|
||||
</method>
|
||||
<method name="push_font">
|
||||
|
|
@ -515,8 +519,9 @@
|
|||
<param index="0" name="columns" type="int" />
|
||||
<param index="1" name="inline_align" type="int" enum="InlineAlignment" default="0" />
|
||||
<param index="2" name="align_to_row" type="int" default="-1" />
|
||||
<param index="3" name="name" type="String" default="""" />
|
||||
<description>
|
||||
Adds a [code skip-lint][table=columns,inline_align][/code] tag to the tag stack. Use [method set_table_column_expand] to set column expansion ratio. Use [method push_cell] to add cells.
|
||||
Adds a [code skip-lint][table=columns,inline_align][/code] tag to the tag stack. Use [method set_table_column_expand] to set column expansion ratio. Use [method push_cell] to add cells. [param name] is used as the table name for assistive apps.
|
||||
</description>
|
||||
</method>
|
||||
<method name="push_underline">
|
||||
|
|
@ -525,6 +530,12 @@
|
|||
Adds a [code skip-lint][u][/code] tag to the tag stack.
|
||||
</description>
|
||||
</method>
|
||||
<method name="reload_effects">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Reloads custom effects. Useful when [member custom_effects] is modified manually.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_paragraph">
|
||||
<return type="bool" />
|
||||
<param index="0" name="paragraph" type="int" />
|
||||
|
|
@ -604,6 +615,14 @@
|
|||
If [param expand] is [code]false[/code], the column will not contribute to the total ratio.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_table_column_name">
|
||||
<return type="void" />
|
||||
<param index="0" name="column" type="int" />
|
||||
<param index="1" name="name" type="String" />
|
||||
<description>
|
||||
Sets table column name for assistive apps.
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_image">
|
||||
<return type="void" />
|
||||
<param index="0" name="key" type="Variant" />
|
||||
|
|
@ -626,6 +645,9 @@
|
|||
<member name="autowrap_mode" type="int" setter="set_autowrap_mode" getter="get_autowrap_mode" enum="TextServer.AutowrapMode" default="3">
|
||||
If set to something other than [constant TextServer.AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle. To see how each mode behaves, see [enum TextServer.AutowrapMode].
|
||||
</member>
|
||||
<member name="autowrap_trim_flags" type="int" setter="set_autowrap_trim_flags" getter="get_autowrap_trim_flags" enum="TextServer.LineBreakFlag" is_bitfield="true" default="192">
|
||||
Autowrap space trimming flags. See [constant TextServer.BREAK_TRIM_START_EDGE_SPACES] and [constant TextServer.BREAK_TRIM_END_EDGE_SPACES] for more info.
|
||||
</member>
|
||||
<member name="bbcode_enabled" type="bool" setter="set_use_bbcode" getter="is_using_bbcode" default="false">
|
||||
If [code]true[/code], the label uses BBCode formatting.
|
||||
[b]Note:[/b] This only affects the contents of [member text], not the tag stack.
|
||||
|
|
@ -647,6 +669,7 @@
|
|||
<member name="fit_content" type="bool" setter="set_fit_content" getter="is_fit_content_enabled" default="false">
|
||||
If [code]true[/code], the label's minimum size will be automatically updated to fit its content, matching the behavior of [Label].
|
||||
</member>
|
||||
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="3" />
|
||||
<member name="hint_underlined" type="bool" setter="set_hint_underline" getter="is_hint_underlined" default="true">
|
||||
If [code]true[/code], the label underlines hint tags such as [code skip-lint][hint=description]{text}[/hint][/code].
|
||||
</member>
|
||||
|
|
@ -855,10 +878,10 @@
|
|||
The vertical separation of elements in a table.
|
||||
</theme_item>
|
||||
<theme_item name="text_highlight_h_padding" data_type="constant" type="int" default="3">
|
||||
The horizontal padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection.
|
||||
The horizontal padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection. To avoid any risk of neighboring highlights overlapping each other, set this to [code]0[/code] to disable padding.
|
||||
</theme_item>
|
||||
<theme_item name="text_highlight_v_padding" data_type="constant" type="int" default="3">
|
||||
The vertical padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection.
|
||||
The vertical padding around boxes drawn by the [code][fgcolor][/code] and [code][bgcolor][/code] tags. This does not affect the appearance of text selection. To avoid any risk of neighboring highlights overlapping each other, set this to [code]0[/code] to disable padding.
|
||||
</theme_item>
|
||||
<theme_item name="bold_font" data_type="font" type="Font">
|
||||
The font used for bold text.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue