[gd_scene load_steps=3 format=3 uid="uid://4bdgwwx27m71"] [ext_resource type="Script" uid="uid://37ftrpj14msn" path="res://scenes/ui/settings_menu.gd" id="1_qwcqe"] [ext_resource type="Theme" uid="uid://b5q8b0l6qp1dt" path="res://resources/pause_menu_theme.tres" id="2_mhswj"] [node name="SettingsMenu" type="Panel"] process_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_qwcqe") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -300.0 offset_right = 300.0 offset_bottom = 137.0 grow_horizontal = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 20 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 theme_override_constants/separation = 20 [node name="Title" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 40 text = "Settings" horizontal_alignment = 1 [node name="TabContainer" type="TabContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 current_tab = 0 [node name="Game" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer"] layout_mode = 2 metadata/_tab_index = 0 [node name="BlockHighlighting" type="CheckButton" parent="MarginContainer/VBoxContainer/TabContainer/Game"] layout_mode = 2 button_pressed = true text = "Enable Block Highlighting" [node name="EnableWaila" type="CheckButton" parent="MarginContainer/VBoxContainer/TabContainer/Game"] layout_mode = 2 button_pressed = true text = "Enable Waila" [node name="Graphics (Todo)" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer"] visible = false layout_mode = 2 metadata/_tab_index = 1 [node name="Audio (TODO)" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer"] visible = false layout_mode = 2 metadata/_tab_index = 2 [node name="Inputs (TODO)" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer"] visible = false layout_mode = 2 metadata/_tab_index = 3 [node name="BottomRow" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -82.5 offset_top = -40.0 offset_right = 82.5 grow_horizontal = 2 grow_vertical = 0 theme_override_constants/margin_bottom = 10 [node name="HBoxContainer" type="HBoxContainer" parent="BottomRow"] layout_mode = 2 theme_override_constants/separation = 20 [node name="CloseButton" type="Button" parent="BottomRow/HBoxContainer"] custom_minimum_size = Vector2(141, 36) layout_mode = 2 theme = ExtResource("2_mhswj") text = "Close Settings" [connection signal="toggled" from="MarginContainer/VBoxContainer/TabContainer/Game/BlockHighlighting" to="." method="_on_block_highlighting_toggled"] [connection signal="toggled" from="MarginContainer/VBoxContainer/TabContainer/Game/EnableWaila" to="." method="_on_enable_waila_toggled"] [connection signal="pressed" from="BottomRow/HBoxContainer/CloseButton" to="." method="_on_close_button_pressed"]