mirror of
https://github.com/Relintai/mat_maker_gd.git
synced 2025-04-23 02:51:18 +02:00
82 lines
2.6 KiB
Plaintext
82 lines
2.6 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://material_maker/nodes/ios/port.gd" type="Script" id=1]
|
|
[ext_resource path="res://material_maker/icons/icons.svg" type="Texture" id=2]
|
|
[ext_resource path="res://material_maker/widgets/linked_widgets/editable_label.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://material_maker/widgets/port_group_button/port_group_button.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://material_maker/widgets/desc_button/desc_button.tscn" type="PackedScene" id=5]
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
flags = 4
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 2, 17, 12, 14 )
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
flags = 4
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 18, 49, 12, 14 )
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
flags = 4
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 34, 49, 12, 14 )
|
|
|
|
[node name="Port" type="HBoxContainer"]
|
|
anchor_right = 1.0
|
|
margin_bottom = 20.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Delete" type="Button" parent="."]
|
|
margin_right = 24.0
|
|
margin_bottom = 22.0
|
|
icon = SubResource( 1 )
|
|
|
|
[node name="Up" type="Button" parent="."]
|
|
margin_left = 28.0
|
|
margin_right = 52.0
|
|
margin_bottom = 22.0
|
|
icon = SubResource( 2 )
|
|
|
|
[node name="Down" type="Button" parent="."]
|
|
margin_left = 56.0
|
|
margin_right = 80.0
|
|
margin_bottom = 22.0
|
|
icon = SubResource( 3 )
|
|
|
|
[node name="Name" parent="." instance=ExtResource( 3 )]
|
|
margin_left = 84.0
|
|
margin_right = 1122.0
|
|
margin_bottom = 22.0
|
|
rect_min_size = Vector2( 30, 0 )
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Description" parent="." instance=ExtResource( 5 )]
|
|
margin_left = 1126.0
|
|
margin_right = 1154.0
|
|
margin_bottom = 22.0
|
|
|
|
[node name="Type" type="OptionButton" parent="."]
|
|
margin_left = 1158.0
|
|
margin_right = 1260.0
|
|
margin_bottom = 22.0
|
|
rect_min_size = Vector2( 102, 0 )
|
|
hint_tooltip = "Port type"
|
|
text = "Greyscale"
|
|
|
|
[node name="PortGroupButton" parent="." instance=ExtResource( 4 )]
|
|
margin_left = 1264.0
|
|
margin_top = 3.0
|
|
margin_right = 1280.0
|
|
margin_bottom = 19.0
|
|
|
|
[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"]
|
|
[connection signal="label_changed" from="Name" to="." method="_on_Name_label_changed"]
|
|
[connection signal="descriptions_changed" from="Description" to="." method="_on_Description_descriptions_changed"]
|
|
[connection signal="item_selected" from="Type" to="." method="_on_Type_item_selected"]
|
|
[connection signal="group_size_changed" from="PortGroupButton" to="." method="_on_PortGroupButton_group_size_changed"]
|