2019-10-06 14:07:49 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2019-09-20 20:43:57 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://addons/material_maker/nodes/remote.gd" type="Script" id=1]
|
2019-10-06 14:07:49 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/icons/icons.svg" type="Texture" id=2]
|
2019-09-20 20:43:57 +02:00
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[sub_resource type="Theme" id=3]
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 48, 32, 16, 16 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 32, 32, 16, 16 )
|
2019-09-20 20:43:57 +02:00
|
|
|
|
|
|
|
[node name="Remote" type="GraphNode"]
|
|
|
|
margin_right = 95.0
|
2019-09-24 22:25:46 +02:00
|
|
|
margin_bottom = 52.0
|
2019-09-20 20:43:57 +02:00
|
|
|
mouse_filter = 1
|
2019-10-06 14:07:49 +02:00
|
|
|
theme = SubResource( 3 )
|
2019-09-20 20:43:57 +02:00
|
|
|
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
|
2019-09-24 22:25:46 +02:00
|
|
|
columns = 4
|
2019-09-20 20:43:57 +02:00
|
|
|
|
|
|
|
[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
|
2019-10-06 14:07:49 +02:00
|
|
|
icon = SubResource( 2 )
|
2019-09-20 20:43:57 +02:00
|
|
|
|
|
|
|
[node name="AddConfig" type="Button" parent="HBoxContainer"]
|
|
|
|
margin_left = 32.0
|
|
|
|
margin_right = 60.0
|
|
|
|
margin_bottom = 22.0
|
|
|
|
hint_tooltip = "Add configurations"
|
2019-10-06 14:07:49 +02:00
|
|
|
icon = SubResource( 4 )
|
2019-09-26 22:32:49 +02:00
|
|
|
[connection signal="close_request" from="." to="." method="on_close_request"]
|
|
|
|
[connection signal="offset_changed" from="." to="." method="on_offset_changed"]
|
2019-09-20 20:43:57 +02:00
|
|
|
[connection signal="pressed" from="HBoxContainer/AddLink" to="." method="_on_AddLink_pressed"]
|
|
|
|
[connection signal="pressed" from="HBoxContainer/AddConfig" to="." method="_on_AddConfig_pressed"]
|