Files
gymkhana-actions/game/ui/menus/load_save/save/overwrite_confirm_popup.tscn
2023-02-07 16:21:22 +01:00

68 lines
1.8 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/escoria-core/ui_library/menus/load_save/save/overwrite_confirm_popup.gd" type="Script" id=2]
[node name="overwrite_confirm_popup" type="PopupDialog"]
visible = true
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 30
custom_constants/margin_top = 30
custom_constants/margin_left = 30
custom_constants/margin_bottom = 30
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_left = 30.0
margin_top = 423.0
margin_right = 1250.0
margin_bottom = 477.0
size_flags_vertical = 4
custom_constants/separation = 20
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
margin_right = 1220.0
margin_bottom = 14.0
text = "CONFIRM_OVERWRITE"
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 34.0
margin_right = 1220.0
margin_bottom = 54.0
custom_constants/separation = 10
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="yes" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 1144.0
margin_right = 1177.0
margin_bottom = 20.0
text = "YES"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="no" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 1187.0
margin_right = 1220.0
margin_bottom = 20.0
text = "NO"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/yes" to="." method="_on_yes_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/no" to="." method="_on_no_pressed"]