diff options
Diffstat (limited to 'doc/classes/GraphNode.xml')
-rw-r--r-- | doc/classes/GraphNode.xml | 70 |
1 files changed, 33 insertions, 37 deletions
diff --git a/doc/classes/GraphNode.xml b/doc/classes/GraphNode.xml index ff6271d2aa..1e9169146e 100644 --- a/doc/classes/GraphNode.xml +++ b/doc/classes/GraphNode.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="GraphNode" inherits="Container" version="4.0"> +<class name="GraphNode" inherits="Container" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> A GraphNode is a container with potentially several input and output slots allowing connections between GraphNodes. Slots can have different, incompatible types. </brief_description> @@ -218,7 +218,7 @@ <member name="language" type="String" setter="set_language" getter="get_language" default=""""> Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. </member> - <member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" override="true" enum="Control.MouseFilter" default="0" /> + <member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" overrides="Control" enum="Control.MouseFilter" default="0" /> <member name="overlay" type="int" setter="set_overlay" getter="get_overlay" enum="GraphNode.Overlay" default="0"> Sets the overlay shown above the GraphNode. See [enum Overlay]. </member> @@ -285,67 +285,63 @@ No overlay is shown. </constant> <constant name="OVERLAY_BREAKPOINT" value="1" enum="Overlay"> - Show overlay set in the [code]breakpoint[/code] theme property. + Show overlay set in the [theme_item breakpoint] theme property. </constant> <constant name="OVERLAY_POSITION" value="2" enum="Overlay"> - Show overlay set in the [code]position[/code] theme property. + Show overlay set in the [theme_item position] theme property. </constant> </constants> <theme_items> - <theme_item name="breakpoint" data_type="style" type="StyleBox"> - The background used when [member overlay] is set to [constant OVERLAY_BREAKPOINT]. + <theme_item name="close_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 1)"> + The color modulation applied to the close button icon. </theme_item> - <theme_item name="close" data_type="icon" type="Texture2D"> - The icon for the close button, visible when [member show_close] is enabled. + <theme_item name="resizer_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 1)"> + The color modulation applied to the resizer icon. </theme_item> - <theme_item name="close_color" data_type="color" type="Color" default="Color(0, 0, 0, 1)"> - The color modulation applied to the close button icon. + <theme_item name="title_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 1)"> + Color of the title text. </theme_item> - <theme_item name="close_offset" data_type="constant" type="int" default="18"> + <theme_item name="close_offset" data_type="constant" type="int" default="22"> The vertical offset of the close button. </theme_item> - <theme_item name="comment" data_type="style" type="StyleBox"> - The [StyleBox] used when [member comment] is enabled. + <theme_item name="port_offset" data_type="constant" type="int" default="0"> + Horizontal offset for the ports. </theme_item> - <theme_item name="commentfocus" data_type="style" type="StyleBox"> - The [StyleBox] used when [member comment] is enabled and the [GraphNode] is focused. + <theme_item name="separation" data_type="constant" type="int" default="2"> + The vertical distance between ports. </theme_item> - <theme_item name="defaultfocus" data_type="style" type="StyleBox"> + <theme_item name="title_offset" data_type="constant" type="int" default="26"> + Vertical offset of the title text. </theme_item> - <theme_item name="defaultframe" data_type="style" type="StyleBox"> + <theme_item name="title_font" data_type="font" type="Font"> + Font used for the title text. </theme_item> - <theme_item name="frame" data_type="style" type="StyleBox"> - The default background for [GraphNode]. + <theme_item name="close" data_type="icon" type="Texture2D"> + The icon for the close button, visible when [member show_close] is enabled. </theme_item> <theme_item name="port" data_type="icon" type="Texture2D"> The icon used for representing ports. </theme_item> - <theme_item name="port_offset" data_type="constant" type="int" default="3"> - Horizontal offset for the ports. - </theme_item> - <theme_item name="position" data_type="style" type="StyleBox"> - The background used when [member overlay] is set to [constant OVERLAY_POSITION]. - </theme_item> <theme_item name="resizer" data_type="icon" type="Texture2D"> The icon used for resizer, visible when [member resizable] is enabled. </theme_item> - <theme_item name="resizer_color" data_type="color" type="Color" default="Color(0, 0, 0, 1)"> - The color modulation applied to the resizer icon. + <theme_item name="breakpoint" data_type="style" type="StyleBox"> + The background used when [member overlay] is set to [constant OVERLAY_BREAKPOINT]. </theme_item> - <theme_item name="selectedframe" data_type="style" type="StyleBox"> - The background used when the [GraphNode] is selected. + <theme_item name="comment" data_type="style" type="StyleBox"> + The [StyleBox] used when [member comment] is enabled. </theme_item> - <theme_item name="separation" data_type="constant" type="int" default="1"> - The vertical distance between ports. + <theme_item name="commentfocus" data_type="style" type="StyleBox"> + The [StyleBox] used when [member comment] is enabled and the [GraphNode] is focused. </theme_item> - <theme_item name="title_color" data_type="color" type="Color" default="Color(0, 0, 0, 1)"> - Color of the title text. + <theme_item name="frame" data_type="style" type="StyleBox"> + The default background for [GraphNode]. </theme_item> - <theme_item name="title_font" data_type="font" type="Font"> - Font used for the title text. + <theme_item name="position" data_type="style" type="StyleBox"> + The background used when [member overlay] is set to [constant OVERLAY_POSITION]. </theme_item> - <theme_item name="title_offset" data_type="constant" type="int" default="20"> - Vertical offset of the title text. + <theme_item name="selectedframe" data_type="style" type="StyleBox"> + The background used when the [GraphNode] is selected. </theme_item> </theme_items> </class> |