Public repository for MUR pre alpha
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

77 lines
2.1 KiB

[gd_scene load_steps=6 format=2]
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
[ext_resource path="res://scripts/menu/direct_host.gd" type="Script" id=2]
[ext_resource path="res://resources/ui/font.tres" type="DynamicFont" id=3]
[ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=4]
[ext_resource path="res://assets/icons/return.png" type="Texture" id=5]
[node name="direct_host" type="Control"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -512.0
margin_top = -300.0
margin_right = 512.0
margin_bottom = 300.0
theme = ExtResource( 1 )
script = ExtResource( 2 )
[node name="menu" type="Panel" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -217.5
margin_top = -60.5
margin_right = 217.5
margin_bottom = 60.5
grow_horizontal = 2
grow_vertical = 2
[node name="host" type="Button" parent="menu"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -143.0
margin_top = -56.0001
rect_pivot_offset = Vector2( 1.89856, 0.845154 )
custom_fonts/font = ExtResource( 3 )
text = "Host"
icon = ExtResource( 4 )
flat = true
[node name="back" type="Button" parent="menu"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_top = -56.0
margin_right = 132.0
rect_pivot_offset = Vector2( 0.606262, -0.447205 )
custom_fonts/font = ExtResource( 3 )
text = "Back"
icon = ExtResource( 5 )
flat = true
[node name="port_label" type="Label" parent="menu"]
margin_left = 122.969
margin_top = 30.2159
margin_right = 187.969
margin_bottom = 57.2159
text = "Port"
[node name="port" type="LineEdit" parent="menu"]
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -219.911
margin_top = -34.0125
margin_right = -111.911
margin_bottom = 2.98752
text = "8128"
max_length = 5
[connection signal="pressed" from="menu/host" to="." method="_on_host_pressed"]
[connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]
[connection signal="text_changed" from="menu/port" to="." method="_on_port_text_changed"]