2019-10-26 13:51:15 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2020-01-25 15:20:08 +01:00
|
|
|
[ext_resource path="res://material_maker/widgets/node_editor/input.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://material_maker/icons/icons.svg" type="Texture" id=2]
|
|
|
|
|
|
|
|
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 16, 16, 16 )
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[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 )
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Parameter" type="HBoxContainer"]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_right = 201.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Delete" type="Button" parent="."]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_right = 28.0
|
|
|
|
margin_bottom = 24.0
|
2019-10-06 14:07:49 +02:00
|
|
|
icon = SubResource( 1 )
|
2018-10-09 07:24:44 +02:00
|
|
|
flat = true
|
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[node name="Up" type="Button" parent="."]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_left = 32.0
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
icon = SubResource( 2 )
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Down" type="Button" parent="."]
|
|
|
|
margin_left = 60.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
icon = SubResource( 3 )
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Name" type="LineEdit" parent="."]
|
|
|
|
margin_left = 88.0
|
|
|
|
margin_right = 158.0
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
hint_tooltip = "Input name"
|
|
|
|
text = "name"
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Label" type="LineEdit" parent="."]
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_left = 162.0
|
|
|
|
margin_right = 232.0
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
hint_tooltip = "Input Label"
|
|
|
|
text = "Label"
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Type" type="OptionButton" parent="."]
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_left = 236.0
|
|
|
|
margin_right = 340.0
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_min_size = Vector2( 102, 0 )
|
|
|
|
hint_tooltip = "Input flag"
|
|
|
|
text = "GreyScale"
|
2019-12-15 12:41:00 +01:00
|
|
|
items = [ "GreyScale", null, false, 0, null, "Color", null, false, 1, null, "RGBA", null, false, 2, null, "SDF2D", null, false, 3, null, "SDF3D", null, false, 4, null ]
|
2018-10-09 07:24:44 +02:00
|
|
|
selected = 0
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Default" type="LineEdit" parent="."]
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_left = 344.0
|
|
|
|
margin_right = 414.0
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
hint_tooltip = "Default value"
|
2018-11-19 23:09:22 +01:00
|
|
|
size_flags_horizontal = 3
|
2018-10-09 07:24:44 +02:00
|
|
|
text = "0.0"
|
2019-12-15 12:41:00 +01:00
|
|
|
|
|
|
|
[node name="Function" type="CheckBox" parent="."]
|
|
|
|
margin_left = 418.0
|
|
|
|
margin_right = 501.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
text = "Function"
|
2018-10-09 07:24:44 +02:00
|
|
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
2019-10-26 13:51:15 +02:00
|
|
|
[connection signal="pressed" from="Up" to="." method="_on_Up_pressed"]
|
|
|
|
[connection signal="pressed" from="Down" to="." method="_on_Down_pressed"]
|