81 lines
1.9 KiB
Text
81 lines
1.9 KiB
Text
|
|
[gd_scene load_steps=2 format=3 uid="uid://c7gn46af6whf8"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" path="res://main.gd" id="1_e0ud3"]
|
||
|
|
|
||
|
|
[node name="Main" type="Control"]
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
script = ExtResource("1_e0ud3")
|
||
|
|
|
||
|
|
[node name="BeforeConnect" type="VBoxContainer" parent="."]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -187.5
|
||
|
|
offset_top = -88.0
|
||
|
|
offset_right = 187.5
|
||
|
|
offset_bottom = 88.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
alignment = 1
|
||
|
|
|
||
|
|
[node name="HostTextEdit" type="TextEdit" parent="BeforeConnect"]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_vertical = 3
|
||
|
|
placeholder_text = "192.168.*.*"
|
||
|
|
|
||
|
|
[node name="ConnectButton" type="Button" parent="BeforeConnect"]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
custom_minimum_size = Vector2(0, 64)
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Connect"
|
||
|
|
|
||
|
|
[node name="AfterConnect" type="VBoxContainer" parent="."]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
visible = false
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -187.5
|
||
|
|
offset_top = -88.5
|
||
|
|
offset_right = 187.5
|
||
|
|
offset_bottom = 88.5
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="CounterLabel" type="Label" parent="AfterConnect"]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_vertical = 3
|
||
|
|
theme_override_font_sizes/font_size = 64
|
||
|
|
text = "1"
|
||
|
|
horizontal_alignment = 1
|
||
|
|
vertical_alignment = 1
|
||
|
|
|
||
|
|
[node name="Actions" type="HBoxContainer" parent="AfterConnect"]
|
||
|
|
layout_mode = 2
|
||
|
|
|
||
|
|
[node name="DecrementButton" type="Button" parent="AfterConnect/Actions"]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
text = "-"
|
||
|
|
|
||
|
|
[node name="IncrementButton" type="Button" parent="AfterConnect/Actions"]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
layout_mode = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
text = "+"
|