mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
26 lines
903 B
Plaintext
26 lines
903 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/linked_widgets/linked_control_buttons.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/material_maker/icons/link.png" type="Texture" id=2]
|
|
[ext_resource path="res://addons/material_maker/icons/remove.png" type="Texture" id=3]
|
|
|
|
[node name="Buttons" type="HBoxContainer"]
|
|
margin_right = 60.0
|
|
margin_bottom = 22.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Link" type="Button" parent="."]
|
|
margin_right = 28.0
|
|
margin_bottom = 22.0
|
|
hint_tooltip = "Link new parameter"
|
|
icon = ExtResource( 2 )
|
|
|
|
[node name="Remove" type="Button" parent="."]
|
|
margin_left = 32.0
|
|
margin_right = 60.0
|
|
margin_bottom = 22.0
|
|
hint_tooltip = "Delete this control"
|
|
icon = ExtResource( 3 )
|
|
[connection signal="pressed" from="Link" to="." method="_on_Link_pressed"]
|
|
[connection signal="pressed" from="Remove" to="." method="_on_Remove_pressed"]
|