* Implement save overwrite confirmation + fixed pause game not pausing game execution. * docs: Automatic update of API docs Co-authored-by: StraToN <StraToN@users.noreply.github.com>
76 lines
1.9 KiB
Plaintext
76 lines
1.9 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://game/ui/commons/fonts/caslonantique.tres" type="DynamicFont" id=1]
|
|
[ext_resource path="res://game/ui/commons/save/overwrite_confirm_popup.gd" type="Script" id=2]
|
|
|
|
[node name="overwrite_confirm_popup" type="PopupDialog"]
|
|
margin_left = 429.0
|
|
margin_top = 281.0
|
|
margin_right = 863.0
|
|
margin_bottom = 442.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 = 30.0
|
|
margin_right = 404.0
|
|
margin_bottom = 131.0
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
margin_right = 374.0
|
|
margin_bottom = 21.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "CONFIRM_OVERWRITE"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -224.0
|
|
margin_top = -56.0
|
|
margin_right = -30.0
|
|
margin_bottom = -20.0
|
|
custom_constants/separation = 10
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="yes" type="Button" parent="HBoxContainer"]
|
|
margin_right = 92.0
|
|
margin_bottom = 36.0
|
|
size_flags_horizontal = 3
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "YES"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="no" type="Button" parent="HBoxContainer"]
|
|
margin_left = 102.0
|
|
margin_right = 194.0
|
|
margin_bottom = 36.0
|
|
size_flags_horizontal = 3
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "NO"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="pressed" from="HBoxContainer/yes" to="." method="_on_yes_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/no" to="." method="_on_no_pressed"]
|