67 lines
2.0 KiB
Plaintext
67 lines
2.0 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://c3cjtslhed2oc"]
|
|
|
|
[ext_resource type="Script" uid="uid://2niwcxdyq213" path="res://script/pausemenu.gd" id="1_qajsf"]
|
|
|
|
[node name="Pausemenu" type="Control"]
|
|
z_index = 4
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
focus_mode = 2
|
|
script = ExtResource("1_qajsf")
|
|
|
|
[node name="Menu" type="Panel" parent="."]
|
|
process_mode = 3
|
|
layout_mode = 0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
focus_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Menu"]
|
|
layout_mode = 1
|
|
anchors_preset = 13
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -127.0
|
|
offset_right = 127.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 50
|
|
|
|
[node name="VBoxCurrentLobby" type="VBoxContainer" parent="Menu/MarginContainer"]
|
|
custom_minimum_size = Vector2(500, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="CurrentLobbyLabel" type="Label" parent="Menu/MarginContainer/VBoxCurrentLobby"]
|
|
layout_mode = 2
|
|
text = "Current Lobby"
|
|
|
|
[node name="LobbyMemberList" type="ItemList" parent="Menu/MarginContainer/VBoxCurrentLobby"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
same_column_width = true
|
|
|
|
[node name="Settings" type="Button" parent="Menu/MarginContainer/VBoxCurrentLobby"]
|
|
layout_mode = 2
|
|
text = "Settings"
|
|
|
|
[node name="Disconnect" type="Button" parent="Menu/MarginContainer/VBoxCurrentLobby"]
|
|
process_mode = 3
|
|
layout_mode = 2
|
|
text = "Disconnect"
|
|
|
|
[connection signal="item_activated" from="Menu/MarginContainer/VBoxCurrentLobby/LobbyMemberList" to="." method="on_lobby_member_list_item_activated"]
|
|
[connection signal="pressed" from="Menu/MarginContainer/VBoxCurrentLobby/Settings" to="." method="_on_settings_pressed"]
|
|
[connection signal="pressed" from="Menu/MarginContainer/VBoxCurrentLobby/Disconnect" to="." method="on_disconnect_pressed"]
|