[gd_scene load_steps=3 format=3 uid="uid://bhu2wc07q7fxk"]

[ext_resource type="Script" uid="uid://bx5iqc8vdroml" path="res://addons/godot_tours/ui/ui_welcome_menu.gd" id="1_kfmbk"]
[ext_resource type="Theme" uid="uid://7hcgepakmhxl" path="res://addons/godot_tours/ui/theme_welcome_menu.tres" id="2_0icf0"]

[node name="UIWelcomeMenu" type="CanvasLayer"]
script = ExtResource("1_kfmbk")

[node name="Control" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_0icf0")

[node name="ColorRect" type="ColorRect" parent="Control"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.290196)

[node name="PanelContainer" type="PanelContainer" parent="Control"]
unique_name_in_owner = true
custom_minimum_size = Vector2(520, 0)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -272.0
offset_top = -219.0
offset_right = 248.0
offset_bottom = -7.0
grow_horizontal = 2
grow_vertical = 2

[node name="MarginContainer" type="MarginContainer" parent="Control/PanelContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_type_variation = &"WelcomeMenuMarginContainer"

[node name="ViewMenu" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
alignment = 1

[node name="LabelTitle" type="Label" parent="Control/PanelContainer/MarginContainer/ViewMenu"]
unique_name_in_owner = true
layout_mode = 2
theme_type_variation = &"WelcomeMenuTitleLabel"
text = "Welcome to Godot!"

[node name="ToursColumn" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer/ViewMenu"]
unique_name_in_owner = true
layout_mode = 2

[node name="HBoxContainer" type="HBoxContainer" parent="Control/PanelContainer/MarginContainer/ViewMenu"]
layout_mode = 2

[node name="ButtonStartLearning" type="Button" parent="Control/PanelContainer/MarginContainer/ViewMenu/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
mouse_default_cursor_shape = 2
theme_type_variation = &"StartLearningButton"
text = "START LEARNING"

[node name="ButtonResetSelected" type="TextureButton" parent="Control/PanelContainer/MarginContainer/ViewMenu/HBoxContainer"]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(28, 28)
layout_mode = 2
tooltip_text = "Reset this tour's files to the starting version."
mouse_default_cursor_shape = 2
ignore_texture_size = true
stretch_mode = 5

[node name="ViewResetConfirmation" type="VBoxContainer" parent="Control/PanelContainer/MarginContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
mouse_filter = 2
alignment = 1

[node name="LabelResetTitle" type="Label" parent="Control/PanelContainer/MarginContainer/ViewResetConfirmation"]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
theme_type_variation = &"LabelTitle"
text = "Reset the tour?"
horizontal_alignment = 1
autowrap_mode = 2

[node name="LabelResetExplanation" type="RichTextLabel" parent="Control/PanelContainer/MarginContainer/ViewResetConfirmation"]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
bbcode_enabled = true
text = "Do you want to reset [b]%s[/b]?
This will reset the files to the tour starting point, overwriting your changes."
fit_content = true
scroll_active = false
autowrap_mode = 2

[node name="HBoxContainer" type="HBoxContainer" parent="Control/PanelContainer/MarginContainer/ViewResetConfirmation"]
layout_mode = 2
size_flags_vertical = 8
alignment = 1

[node name="ButtonResetNo" type="Button" parent="Control/PanelContainer/MarginContainer/ViewResetConfirmation/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
mouse_default_cursor_shape = 2
text = "NO"
flat = true

[node name="ButtonResetYes" type="Button" parent="Control/PanelContainer/MarginContainer/ViewResetConfirmation/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
mouse_default_cursor_shape = 2
theme_type_variation = &"ResetButton"
shortcut_in_tooltip = false
text = "YES"

[node name="ButtonResetOk" type="Button" parent="Control/PanelContainer/MarginContainer/ViewResetConfirmation/HBoxContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
mouse_default_cursor_shape = 2
theme_type_variation = &"ResetButton"
shortcut_in_tooltip = false
text = "OK"

[node name="ButtonClose" type="Button" parent="Control/PanelContainer/MarginContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
mouse_default_cursor_shape = 2
theme_type_variation = &"CloseButton"
flat = true

[node name="ColorRect" type="ColorRect" parent="Control/PanelContainer/MarginContainer/ButtonClose"]
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 = -3.0
offset_right = 20.0
offset_bottom = 3.0
grow_horizontal = 2
grow_vertical = 2
rotation = 0.785398
pivot_offset = Vector2(20, 3)
mouse_filter = 2

[node name="ColorRect2" type="ColorRect" parent="Control/PanelContainer/MarginContainer/ButtonClose"]
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 = -3.0
offset_right = 20.0
offset_bottom = 3.0
grow_horizontal = 2
grow_vertical = 2
rotation = 2.35619
pivot_offset = Vector2(20, 3)
mouse_filter = 2
