[gd_scene load_steps=2 format=3 uid="uid://de23203c43bkk"]

[ext_resource type="Script" path="res://screens/settings_menu.gd" id="1_iarqn"]

[node name="SettingsMenu" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_iarqn")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10

[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 10

[node name="Tabs" type="TabContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/side_margin = 5

[node name="General" type="ScrollContainer" parent="MarginContainer/VBoxContainer/Tabs"]
layout_mode = 2

[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer/Tabs/General"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2

[node name="TutorialCheckBox" type="CheckBox" parent="MarginContainer/VBoxContainer/Tabs/General/GridContainer"]
layout_mode = 2
text = "Show tutorial"

[node name="Buttons" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
alignment = 2

[node name="Discard" type="Button" parent="MarginContainer/VBoxContainer/Buttons"]
layout_mode = 2
text = "DISCARD"

[node name="Save" type="Button" parent="MarginContainer/VBoxContainer/Buttons"]
layout_mode = 2
text = "SAVE"

[connection signal="pressed" from="MarginContainer/VBoxContainer/Tabs/General/GridContainer/TutorialCheckBox" to="." method="update_discard_button"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Buttons/Discard" to="." method="_on_discard_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Buttons/Save" to="." method="_on_save_pressed"]
