material-maker/addons/material_maker/widgets/node_editor/output.tscn

76 lines
2.0 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://addons/material_maker/widgets/node_editor/output.gd" type="Script" id=1]
[ext_resource path="res://addons/material_maker/icons/icons.svg" type="Texture" id=2]
[sub_resource type="AtlasTexture" id=1]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 0, 16, 16, 16 )
[sub_resource type="AtlasTexture" id=2]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 18, 48, 12, 16 )
[sub_resource type="AtlasTexture" id=3]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 34, 48, 12, 16 )
[sub_resource type="DynamicFontData" id=4]
font_path = "res://addons/material_maker/fonts/hack.ttf"
[sub_resource type="DynamicFont" id=5]
size = 12
font_data = SubResource( 4 )
[node name="Output" type="HBoxContainer"]
margin_right = 251.0
margin_bottom = 22.0
size_flags_horizontal = 3
script = ExtResource( 1 )
[node name="Delete" type="Button" parent="."]
margin_right = 28.0
margin_bottom = 25.0
icon = SubResource( 1 )
flat = true
[node name="Up" type="Button" parent="."]
margin_left = 32.0
margin_right = 56.0
margin_bottom = 25.0
icon = SubResource( 2 )
flat = true
[node name="Down" type="Button" parent="."]
margin_left = 60.0
margin_right = 84.0
margin_bottom = 25.0
icon = SubResource( 3 )
flat = true
[node name="Type" type="OptionButton" parent="."]
margin_left = 88.0
margin_right = 192.0
margin_bottom = 25.0
rect_min_size = Vector2( 102, 0 )
hint_tooltip = "Input flag"
text = "GreyScale"
items = [ "GreyScale", null, false, 0, null, "Color", null, false, 1, null, "RGBA", null, false, -1, null ]
selected = 0
[node name="Value" type="LineEdit" parent="."]
margin_left = 196.0
margin_right = 290.0
margin_bottom = 25.0
hint_tooltip = "Default value"
size_flags_horizontal = 3
custom_fonts/font = SubResource( 5 )
text = "0.0"
context_menu_enabled = false
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
[connection signal="pressed" from="Up" to="." method="_on_Up_pressed"]
[connection signal="pressed" from="Down" to="." method="_on_Down_pressed"]