summaryrefslogtreecommitdiff
path: root/UI/Menu/Menu.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
committerDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
commit395c25b1fbe51f42decf402f97e51eabcc8c0a77 (patch)
tree72a17c71a39b53d328a76e111ae205d9538d64d0 /UI/Menu/Menu.tscn
parent2686ec6d4af6b5437a5f5a5cac008f3d38295f78 (diff)
Godot v3 -> v4
Diffstat (limited to 'UI/Menu/Menu.tscn')
-rw-r--r--UI/Menu/Menu.tscn47
1 files changed, 22 insertions, 25 deletions
diff --git a/UI/Menu/Menu.tscn b/UI/Menu/Menu.tscn
index 69c14c2..c29cf22 100644
--- a/UI/Menu/Menu.tscn
+++ b/UI/Menu/Menu.tscn
@@ -1,41 +1,38 @@
-[gd_scene load_steps=5 format=2]
+[gd_scene load_steps=5 format=3 uid="uid://dg1cuxm1da1rh"]
-[ext_resource path="res://UI/Menu/Menu.gd" type="Script" id=1]
-[ext_resource path="res://UI/Menu/KeyBindings.tscn" type="PackedScene" id=2]
+[ext_resource type="Script" path="res://UI/Menu/Menu.gd" id="1"]
+[ext_resource type="PackedScene" path="res://UI/Menu/KeyBindings.tscn" id="2"]
-[sub_resource type="StyleBoxFlat" id=3]
-bg_color = Color( 0, 0, 0, 0.882353 )
+[sub_resource type="StyleBoxFlat" id="3"]
+bg_color = Color(0, 0, 0, 0.882353)
-[sub_resource type="StyleBoxFlat" id=2]
-bg_color = Color( 1, 1, 1, 0 )
+[sub_resource type="StyleBoxFlat" id="2"]
+bg_color = Color(1, 1, 1, 0)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
[node name="Menu" type="CanvasLayer"]
-pause_mode = 2
-script = ExtResource( 1 )
+process_mode = 2
+script = ExtResource("1")
[node name="Container" type="Panel" parent="."]
-margin_right = 1024.0
-margin_bottom = 600.0
-custom_styles/panel = SubResource( 3 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
+offset_right = 1024.0
+offset_bottom = 600.0
+theme_override_styles/panel = SubResource("3")
[node name="Close" type="Button" parent="Container"]
-margin_left = 976.0
-margin_right = 1023.0
-margin_bottom = 20.0
-custom_styles/normal = SubResource( 2 )
+layout_mode = 0
+offset_left = 976.0
+offset_right = 1023.0
+offset_bottom = 20.0
+theme_override_styles/normal = SubResource("2")
text = "Close"
-__meta__ = {
-"_edit_use_anchors_": false
-}
-[node name="KeyBindings" parent="Container" instance=ExtResource( 2 )]
-margin_right = 24.0
-margin_bottom = 24.0
+[node name="KeyBindings" parent="Container" instance=ExtResource("2")]
+anchors_preset = 0
+offset_right = 24.0
+offset_bottom = 24.0
+
[connection signal="pressed" from="Container/Close" to="." method="_on_Close_pressed"]