[gd_scene load_steps=10 format=3 uid="uid://gldtxysavetf"]

[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_8giso"]
[ext_resource type="Theme" uid="uid://dla4kae5kbwdh" path="res://logic-scenes/themes/system.theme" id="1_ot7jp"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_s5ssh"]
[ext_resource type="PackedScene" uid="uid://dy5rd437h5hsw" path="res://logic-scenes/board/card.tscn" id="5_7c77g"]

[sub_resource type="GDScript" id="GDScript_a78qq"]
script/source = "extends Panel

@onready var show_navigation_buttons = $\"CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin/show nav ui\"

func _ready():
	theme = State.current_main_theme
	State.theme_changed.connect(func change_theme(new_theme): theme = new_theme)
	TranslationServer.set_locale(\"de\")

func starting():
	$\"CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/navbuttons/Next\".grab_focus()

func _on_reduce_motion_toggled(toggled_on):
	State.reduce_motion = toggled_on

# toggle for disable rendering
func _on_disable_rendering_toggled(toggled_on):
	State.disable_rendering = toggled_on

# toggle for simplified controls
func _on_simplified_controls_toggled(toggled_on):
	State.simplified_navigation = toggled_on  # this is how you reach the global state
	show_navigation_buttons.disabled = not toggled_on     # if simpl. controls was toggled - disabled = false

# toggle for show nav buttons
func _on_show_nav_ui_toggled(toggled_on):
	State.show_navigation_buttons = toggled_on

# toggle streaming notes
func _on_streaming_notes_toggled(toggled_on):
	State.streaming_content_notes = toggled_on


# select font
# still needs handling to change the style
func _on_font_style_selected(index):
	match index:
		0:
			return
		1:
			State.current_main_theme = preload(\"res://logic-scenes/themes/easy-handwriting.theme\")
			print_debug(\"easy handwriting selected\")
			#owner.theme.set_font(\"NanumPenScript.ttf\")
			return
		2:
			State.current_main_theme = preload(\"res://logic-scenes/themes/serif.theme\")
			#owner.theme.set_font(\"Eczar-VariableFont_wght.ttf\")
			return
		3:
			State.current_main_theme = preload(\"res://logic-scenes/themes/hyperlegible.theme\")
			#owner.theme.set_font(\"AtkinsonHyperlegible.ttf\")
			return
		4:
			State.current_main_theme = preload(\"res://logic-scenes/themes/system.theme\")
			#owner.theme.set_font(SystemFont.fallbacks[0])
			return

func _on_subtitle_option_selected(index):
	match index:
		0:
			State.enable_subtitles = false
			State.enable_closed_caption = false
		1:
			State.enable_subtitles = true
			State.enable_closed_caption = false
		2:
			State.enable_subtitles = true
			State.enable_closed_caption = true

	print_debug(State.print_settings())


# Volume Settings


# Final Page

func _on_content_notes_toggled(button_pressed):
	State.show_content_notes = button_pressed


func _on_provide_summaries_toggled(button_pressed):
	State.provide_summaries = button_pressed


func _on_allow_skipping_toggled(button_pressed):
	State.allow_skipping = button_pressed
	
func hide():
	get_parent().get_child(0).get_ready()
	var child_tween = create_tween()
	child_tween.tween_property($CenterContainer, \"modulate\", Color(1, 1, 1, 0), .5)
	await child_tween.finished
	var self_tween = create_tween()
	self_tween.tween_property(self, \"modulate\", Color(1, 1, 1, 0), .5)
	await self_tween.finished
	self.visible = false
"

[sub_resource type="GDScript" id="GDScript_ia432"]
script/source = "extends TabContainer

var focus_list: Array

@onready var disable_rendering = $\"physical Accessibility/Container2/margin2/show nav buttons\"
@onready var simplified_controls = $\"physical Accessibility/Container2/simplified controls\"

func _ready():
	for child in get_children():
		focus_list.append(_find_selectable_in(child))

func _find_selectable_in(parent:Control):
	if parent.focus_mode != FOCUS_NONE:
		return parent
	if parent.get_child_count() == 0:
		return self
	else:
		for child in parent.get_children():
			var ret = _find_selectable_in(child)
			if not ret == self:
				return ret

func _unhandled_input(event):

	if event.is_action_type():
		if event.is_action_pressed(\"ui_left\"): previous()
		elif event.is_action_pressed(\"ui_right\"): next()

func next():
	if current_tab < get_tab_count()-1:
		if !Input.is_action_just_released(\"mouse_left\"):
			if not get_viewport().gui_get_focus_owner() == null:
				focus_list[current_tab] = get_viewport().gui_get_focus_owner()
			current_tab += 1
			focus_list[current_tab].grab_focus()
		else:
			current_tab += 1

func previous():
	if current_tab > 0:
		if !Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
			if not get_viewport().gui_get_focus_owner() == null:
				focus_list[current_tab] = get_viewport().gui_get_focus_owner()
			current_tab -= 1
			focus_list[current_tab].grab_focus()
		else:
			current_tab -= 1

func _on_screenreader_toggled(button_pressed):
	State.screen_reader = button_pressed  # this is how you reach the global state
	disable_rendering.disabled = not button_pressed     # if screenreader was toggled - disabled = false
	simplified_controls.button_pressed = button_pressed
	State.simplified_navigation = button_pressed
	
"

[sub_resource type="GDScript" id="GDScript_v567h"]
script/source = "extends CheckBox

func _ready():
    grab_focus()
"

[sub_resource type="ButtonGroup" id="ButtonGroup_v7ly6"]

[sub_resource type="GDScript" id="GDScript_rhtho"]
script/source = "extends Button

func _ready():
    self.connect(\"toggled\", Callable(self, \"_on_toggled\"))

func _on_toggled(was_button_pressed: bool):
    if get_parent().get_child(1).visible == false:
        get_parent().get_child(1).visible = was_button_pressed
    else:
        get_parent().get_child(1).visible = false
"

[node name="Startup Menu" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_ot7jp")
script = SubResource("GDScript_a78qq")

[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -283.5
offset_top = 23.0
offset_right = 283.5
offset_bottom = 61.0
grow_horizontal = 2
text = "Acessibility, Disclaimers and Content Notes"
horizontal_alignment = 1

[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="PanelContainer" type="PanelContainer" parent="CenterContainer"]
layout_mode = 2

[node name="StartFrame" type="TextureRect" parent="CenterContainer/PanelContainer"]
layout_mode = 2
texture = ExtResource("1_8giso")
expand_mode = 2
stretch_mode = 4

[node name="Panel" type="PanelContainer" parent="CenterContainer/PanelContainer/StartFrame"]
show_behind_parent = true
layout_mode = 2
offset_left = 199.0
offset_top = -112.0
offset_right = 913.0
offset_bottom = 602.0
rotation = 0.459022

[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/PanelContainer"]
layout_mode = 2

[node name="TabContainer" type="TabContainer" parent="CenterContainer/PanelContainer/VBoxContainer"]
layout_mode = 2
current_tab = 0
tabs_visible = false
use_hidden_tabs_for_min_size = true
script = SubResource("GDScript_ia432")

[node name="physical Accessibility" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer"]
layout_mode = 2
metadata/_tab_index = 0

[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility"]
layout_mode = 2
theme_type_variation = &"HeaderLarge"
text = "Accessibility"

[node name="Label4" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility"]
layout_mode = 2
text = "Greyed-out items do not work yet."

[node name="Container2" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility"]
layout_mode = 2

[node name="reduce motion" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
text = "reduce motion"

[node name="Screenreader" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
disabled = true
text = "use Screenreader"
script = SubResource("GDScript_v567h")

[node name="margin2" type="MarginContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2

[node name="disable rendering" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin2"]
layout_mode = 2
disabled = true
text = "disable video"

[node name="simplified controls" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
disabled = true
text = "simplified Controls"

[node name="margin" type="MarginContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2

[node name="show nav ui" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin"]
layout_mode = 2
disabled = true
text = "show Navigation Buttons"

[node name="GridContainer" type="GridContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
columns = 3

[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
text = "Font-Style:"

[node name="VSeparator" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
custom_minimum_size = Vector2(30, 60)
layout_mode = 2

[node name="font settings" type="OptionButton" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
size_flags_vertical = 4
selected = 1
item_count = 5
popup/item_0/text = "messy handwriting"
popup/item_0/disabled = true
popup/item_1/text = "easy handwriting"
popup/item_1/id = 1
popup/item_2/text = "serif"
popup/item_2/id = 2
popup/item_3/text = "hyperlegible sans"
popup/item_3/id = 3
popup/item_4/text = "system font"
popup/item_4/id = 4

[node name="Label2" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
text = "Subtitles:"

[node name="VSeparator2" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
custom_minimum_size = Vector2(30, 60)
layout_mode = 2

[node name="ItemList2" type="OptionButton" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
size_flags_vertical = 4
disabled = true
selected = 1
item_count = 3
popup/item_0/text = "none"
popup/item_1/text = "spoken text"
popup/item_1/id = 1
popup/item_2/text = "closed captions"
popup/item_2/id = 2

[node name="Label3" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
text = "UI scale:"

[node name="VSeparator3" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
custom_minimum_size = Vector2(30, 60)
layout_mode = 2

[node name="HSlider" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
custom_minimum_size = Vector2(0, 60)
layout_mode = 2
min_value = 0.5
max_value = 3.0
step = 0.0
value = 1.0
editable = false

[node name="navbuttons" type="VSplitContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 10
dragger_visibility = 1

[node name="Next" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/navbuttons"]
layout_mode = 2
text = "okay"

[node name="previous" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/navbuttons"]
layout_mode = 2
disabled = true
text = "go back"

[node name="Content Notes" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer"]
visible = false
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
metadata/_tab_index = 1

[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes"]
layout_mode = 2
text = "This Game deals with Heavy Topics."
horizontal_alignment = 1

[node name="show content Notes" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes"]
layout_mode = 2
text = "I would like to know more."

[node name="ScrollContainer" type="ScrollContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes"]
custom_minimum_size = Vector2(0, 400)
layout_mode = 2
follow_focus = true
horizontal_scroll_mode = 0

[node name="Content Notes" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3

[node name="VBoxContainer2" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes"]
layout_mode = 2

[node name="Button" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer2"]
layout_mode = 2
toggle_mode = true
button_group = SubResource("ButtonGroup_v7ly6")
text = "Is this game for or about me?"
script = SubResource("GDScript_rhtho")

[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer2"]
visible = false
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
bbcode_enabled = true
text = "[ul]
This game tells one story about one fictional character.
This character was desiged to tell an honest and acsssible story about identity and trauma.
This is not the game for you if you are looking for escapism.
This is not therapy.
You might feel understood if exeriences you've had are close to the characters.
It might help you understand a friend.
It will tell you things a group of peers, that reflected about their similar, but specific experiences, want more people to know about.
This is made by betalars, who has many overlapping experiences with this character. They made sure to consult people, who can speak from their own exerpiences about subjects, where betalars could not.
[/ul]"
fit_content = true

[node name="VBoxContainer3" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes"]
layout_mode = 2

[node name="Button" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer3"]
layout_mode = 2
toggle_mode = true
button_group = SubResource("ButtonGroup_v7ly6")
text = "What may be difficult about the premise?"
script = SubResource("GDScript_rhtho")

[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer3"]
visible = false
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
bbcode_enabled = true
text = "In this game, you will encounter situations that are problematic and will have a negative impact on the Mental Health of the character you are playing as. This game will establish hurtful assumptions this character develops about themselves and you may not resolve all of them right away. You will have some agency, but it is limited by the games narrative and also chance. You are encouraged and will be able to resolve hurtful assumptions later in the game."
fit_content = true

[node name="VBoxContainer4" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes"]
layout_mode = 2

[node name="Button" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer4"]
layout_mode = 2
toggle_mode = true
button_group = SubResource("ButtonGroup_v7ly6")
text = "What are the game's topics? (Content Notes)"
script = SubResource("GDScript_rhtho")

[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer4"]
visible = false
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
bbcode_enabled = true
text = "This game discusses Mental Health and Sex-Positivity. It also includes a character, who is trans but you will get to know them while they are unaware about their trans identity going by their birthname. Besides social Transistioning, this game also deals with topics including Mysoginy, Sanism, Body Issues, Eating Disorders, Bullying, Martial Arts, Relationships and Rape, but not trough physical violence. Comic violence is mentioned while talking about a fictional franchise in universe."
fit_content = true

[node name="VBoxContainer5" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes"]
layout_mode = 2

[node name="Button" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5"]
layout_mode = 2
toggle_mode = true
button_group = SubResource("ButtonGroup_v7ly6")
text = "Mental Health Acessibility Options"
script = SubResource("GDScript_rhtho")

[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5"]
layout_mode = 2

[node name="RichTextLabel2" type="RichTextLabel" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5/VBoxContainer"]
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
bbcode_enabled = true
text = "[ul]
You can always Pause using Escape or Spacebar
You can always choose to just get a neutral summary of scenes or skip them entirely 
[/ul]"
fit_content = true

[node name="content_notes" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5/VBoxContainer"]
layout_mode = 2
text = "show content notes during the game"

[node name="allow_skipping" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5/VBoxContainer"]
layout_mode = 2
text = "allow me to skip scenes"

[node name="navbuttons" type="VSplitContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 10

[node name="Next" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/navbuttons"]
layout_mode = 2
text = "okay"

[node name="previous" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/navbuttons"]
layout_mode = 2
text = "go back"

[node name="Managing Expectations" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer"]
visible = false
layout_mode = 2
metadata/_tab_index = 2

[node name="VSeparator" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations"]
custom_minimum_size = Vector2(0, 50)
layout_mode = 2

[node name="Label" type="RichTextLabel" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations"]
layout_mode = 2
bbcode_enabled = true
text = "[center][i]I assure you I did my best,
But I am only human and this is just one game.[/i][/center]"
fit_content = true

[node name="VSeparator2" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations"]
custom_minimum_size = Vector2(0, 25)
layout_mode = 2

[node name="navbuttons" type="VSplitContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 10

[node name="Next" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations/navbuttons"]
layout_mode = 2
text = "okay"

[node name="previous" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations/navbuttons"]
layout_mode = 2
text = "go back"

[node name="StartBottom" type="TextureRect" parent="CenterContainer/PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
texture = ExtResource("3_s5ssh")
expand_mode = 2
stretch_mode = 4

[node name="continue" type="Button" 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 = -38.5
offset_top = -91.0
offset_right = 38.5
offset_bottom = -60.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 4
size_flags_vertical = 8
text = "skip all"

[node name="CheckBox" type="CheckBox" parent="continue"]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -195.5
offset_top = 24.5
offset_right = 195.5
offset_bottom = 55.5
grow_horizontal = 2
grow_vertical = 2
text = "I stream this game, please show content notes."

[node name="card" parent="." instance=ExtResource("5_7c77g")]
position = Vector2(1491, 598)
text = "I never put in much effort for Homework"

[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/reduce motion" to="." method="_on_reduce_motion_toggled"]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/Screenreader" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer" method="_on_screenreader_toggled"]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin2/disable rendering" to="." method="_on_disable_rendering_toggled"]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/simplified controls" to="." method="_on_simplified_controls_toggled"]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin/show nav ui" to="." method="_on_show_nav_ui_toggled"]
[connection signal="item_selected" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer/font settings" to="." method="_on_font_style_selected"]
[connection signal="item_selected" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer/ItemList2" to="." method="_on_subtitle_option_selected"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/navbuttons/Next" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer" method="next"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/navbuttons/previous" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer" method="previous"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/show content Notes" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes" method="show"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/show content Notes" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/show content Notes" method="set_disabled" binds= [true]]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5/VBoxContainer/content_notes" to="." method="_on_content_notes_toggled"]
[connection signal="toggled" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer5/VBoxContainer/allow_skipping" to="." method="_on_provide_summaries_toggled"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/navbuttons/Next" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer" method="next"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/navbuttons/previous" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer" method="previous"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations/navbuttons/Next" to="." method="hide"]
[connection signal="pressed" from="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Managing Expectations/navbuttons/previous" to="CenterContainer/PanelContainer/VBoxContainer/TabContainer" method="previous"]
[connection signal="pressed" from="continue" to="." method="hide"]
[connection signal="toggled" from="continue/CheckBox" to="." method="_on_streaming_notes_toggled"]
