mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/nodes/remote.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/material_maker/icons/add_link.png" type="Texture" id=2]
|
|
[ext_resource path="res://addons/material_maker/icons/add_config.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
[node name="Remote" type="GraphNode"]
|
|
margin_right = 95.0
|
|
margin_bottom = 52.0
|
|
mouse_filter = 1
|
|
theme = SubResource( 1 )
|
|
title = "Remote"
|
|
show_close = true
|
|
slot/0/left_enabled = false
|
|
slot/0/left_type = 0
|
|
slot/0/left_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/0/right_enabled = false
|
|
slot/0/right_type = 0
|
|
slot/0/right_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/1/left_enabled = false
|
|
slot/1/left_type = 0
|
|
slot/1/left_color = Color( 1, 1, 1, 1 )
|
|
slot/1/right_enabled = false
|
|
slot/1/right_type = 0
|
|
slot/1/right_color = Color( 1, 1, 1, 1 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Controls" type="GridContainer" parent="."]
|
|
margin_left = 16.0
|
|
margin_top = 24.0
|
|
margin_right = 79.0
|
|
margin_bottom = 24.0
|
|
columns = 4
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
margin_left = 16.0
|
|
margin_top = 24.0
|
|
margin_right = 79.0
|
|
margin_bottom = 46.0
|
|
|
|
[node name="AddLink" type="Button" parent="HBoxContainer"]
|
|
margin_right = 28.0
|
|
margin_bottom = 22.0
|
|
hint_tooltip = "Add linked control"
|
|
size_flags_horizontal = 0
|
|
icon = ExtResource( 2 )
|
|
|
|
[node name="AddConfig" type="Button" parent="HBoxContainer"]
|
|
margin_left = 32.0
|
|
margin_right = 60.0
|
|
margin_bottom = 22.0
|
|
hint_tooltip = "Add configurations"
|
|
icon = ExtResource( 3 )
|
|
[connection signal="close_request" from="." to="." method="on_close_request"]
|
|
[connection signal="offset_changed" from="." to="." method="on_offset_changed"]
|
|
[connection signal="pressed" from="HBoxContainer/AddLink" to="." method="_on_AddLink_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/AddConfig" to="." method="_on_AddConfig_pressed"]
|