mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-27 23:17:14 +01:00
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/graph_edit.gd" type="Script" id=1]
|
|
|
|
[node name="GraphEdit" type="GraphEdit"]
|
|
self_modulate = Color( 1, 1, 1, 0 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
right_disconnects = true
|
|
use_snap = false
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.2
|
|
one_shot = true
|
|
|
|
[node name="SubGraphUI" type="HBoxContainer" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -197.0
|
|
margin_right = -13.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="Label" type="LineEdit" parent="SubGraphUI"]
|
|
margin_right = 150.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 150, 0 )
|
|
|
|
[node name="ButtonUp" type="Button" parent="SubGraphUI"]
|
|
margin_left = 154.0
|
|
margin_right = 184.0
|
|
margin_bottom = 24.0
|
|
text = "Up"
|
|
[connection signal="connection_request" from="." to="." method="connect_node"]
|
|
[connection signal="disconnection_request" from="." to="." method="disconnect_node"]
|
|
[connection signal="timeout" from="Timer" to="." method="do_send_changed_signal"]
|
|
[connection signal="text_changed" from="SubGraphUI/Label" to="." method="_on_Label_text_changed"]
|
|
[connection signal="pressed" from="SubGraphUI/ButtonUp" to="." method="on_ButtonUp_pressed"]
|