-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdock.tscn
80 lines (66 loc) · 1.97 KB
/
dock.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/networked_editor/dock.gd" type="Script" id=1]
[sub_resource type="StyleBoxEmpty" id=1]
[sub_resource type="StyleBoxEmpty" id=2]
[node name="NetworkedEditor" type="Control"]
script = ExtResource( 1 )
[node name="Input" type="VBoxContainer" parent="."]
margin_right = 160.0
margin_bottom = 640.0
[node name="Name" type="LineEdit" parent="Input"]
margin_right = 160.0
margin_bottom = 24.0
text = "Name"
placeholder_text = "Name"
[node name="IP" type="LineEdit" parent="Input"]
margin_top = 28.0
margin_right = 160.0
margin_bottom = 52.0
text = "127.0.0.1"
placeholder_text = "IP"
[node name="Port" type="LineEdit" parent="Input"]
margin_top = 56.0
margin_right = 160.0
margin_bottom = 80.0
text = "8008"
placeholder_text = "Port"
[node name="Host" type="Button" parent="Input"]
margin_top = 84.0
margin_right = 160.0
margin_bottom = 104.0
text = "Host"
[node name="Connect" type="Button" parent="Input"]
margin_top = 108.0
margin_right = 160.0
margin_bottom = 128.0
text = "Connect"
[node name="Disconnect" type="Button" parent="Input"]
margin_top = 132.0
margin_right = 160.0
margin_bottom = 152.0
disabled = true
text = "Disconnect"
[node name="SceneSync" type="Button" parent="Input"]
margin_top = 156.0
margin_right = 160.0
margin_bottom = 176.0
toggle_mode = true
text = "Scene Sync"
[node name="Label" type="Label" parent="Input"]
margin_top = 180.0
margin_right = 160.0
margin_bottom = 194.0
text = "Editor Peers"
align = 1
valign = 1
[node name="Peers" type="Tree" parent="Input"]
margin_top = 198.0
margin_right = 160.0
margin_bottom = 454.0
rect_min_size = Vector2( 0, 256 )
custom_styles/bg_focus = SubResource( 1 )
custom_styles/bg = SubResource( 2 )
hide_root = true
[connection signal="pressed" from="Input/Host" to="." method="_on_Host_pressed"]
[connection signal="pressed" from="Input/Connect" to="." method="_on_Connect_pressed"]
[connection signal="pressed" from="Input/Disconnect" to="." method="_on_Disconnect_pressed"]