82 lines
3.0 KiB
Plaintext
82 lines
3.0 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bhdh5xfyauss0"]
|
|
|
|
[ext_resource type="Script" path="res://sources/ui/popup.gd" id="1_o3fd6"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_22q4u"]
|
|
colors = PackedColorArray(0.2, 0.2, 0.2, 0.505882, 0.2, 0.2, 0.2, 0.505882)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ymust"]
|
|
gradient = SubResource("Gradient_22q4u")
|
|
|
|
[node name="Popup" type="CanvasLayer"]
|
|
script = ExtResource("1_o3fd6")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
top_level = true
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 0
|
|
texture = SubResource("GradientTexture1D_ymust")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="TextureRect"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_type_variation = &"PanelKalulu"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="TextureRect/PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 25
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TextureRect/PanelContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="ContentLabel" type="Label" parent="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(1000, 0)
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
theme_override_font_sizes/font_size = 70
|
|
autowrap_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ConfirmButton" type="Button" parent="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 70
|
|
text = "VALIDATE"
|
|
|
|
[node name="Separator" type="Control" parent="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="CancelButton" type="Button" parent="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 70
|
|
text = "CANCEL"
|
|
|
|
[connection signal="pressed" from="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer/ConfirmButton" to="." method="_on_confirm_button_pressed"]
|
|
[connection signal="pressed" from="TextureRect/PanelContainer/VBoxContainer/MarginContainer/VBoxContainer/HBoxContainer/CancelButton" to="." method="_on_cancel_button_pressed"]
|