Files
Dawn-Godot/ui/component/QuitConfirmDialog.tscn

39 lines
980 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cqdf1x7m2canp"]
[ext_resource type="Script" path="res://ui/component/QuitConfirmDialog.gd" id="1_qcd"]
[node name="QuitConfirmDialog" type="Control" node_paths=PackedStringArray("btnYes", "btnNo")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
process_mode = 3
script = ExtResource("1_qcd")
btnYes = NodePath("VBoxContainer/Yes")
btnNo = NodePath("VBoxContainer/No")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Quit to desktop?"
horizontal_alignment = 1
[node name="Yes" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Yes"
[node name="No" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "No"