[gd_scene load_steps=9 format=3 uid="uid://cfpxwxgjjgaim"]

[ext_resource type="Texture2D" uid="uid://cnbw6prptb6qh" path="res://KellettDragon_Red_On_Blue.png" id="1"]
[ext_resource type="Shader" path="res://fog.gdshader" id="3"]
[ext_resource type="Texture2D" uid="uid://1ngc0sjng4uv" path="res://noun-cog-1471544.png" id="4"]
[ext_resource type="Theme" uid="uid://xg5fa2cs6b84" path="res://kellett_app.tres" id="5"]
[ext_resource type="Texture2D" uid="uid://kdtf0qo5o30x" path="res://noun-cross-1707162.png" id="6"]
[ext_resource type="Script" path="res://Settings.gd" id="7"]
[ext_resource type="Texture2D" uid="uid://dhmnsneg55cwp" path="res://light.png" id="8"]

[sub_resource type="ShaderMaterial" id="3"]
shader = ExtResource("3")
shader_parameter/color = Vector3(0.35, 0.48, 0.95)
shader_parameter/OCTAVES = 4

[node name="KellettPresentation" type="Node2D"]

[node name="KellettDragonRedOnBlue" type="Sprite2D" parent="."]
position = Vector2(639.8, 434.3)
scale = Vector2(0.631055, 0.628613)
texture = ExtResource("1")

[node name="MoodLight" type="PointLight2D" parent="."]
unique_name_in_owner = true
visible = false
show_behind_parent = true
position = Vector2(634, 360)
scale = Vector2(637.969, 95.4781)
energy = 0.95
shadow_enabled = true
shadow_color = Color(1, 1, 1, 0)
texture = ExtResource("8")
texture_scale = 0.01

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="Mist" type="ColorRect" parent="CanvasLayer"]
unique_name_in_owner = true
material = SubResource("3")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0

[node name="CenterText" type="Label" parent="CanvasLayer"]
unique_name_in_owner = true
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_top = -29.0
offset_bottom = 29.0
text = "This presentation will begin shortly"

[node name="SettingsButton" type="TextureButton" parent="CanvasLayer"]
unique_name_in_owner = true
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -26.0
offset_top = -26.0
offset_right = 1174.0
offset_bottom = 1174.0
scale = Vector2(0.02, 0.02)
texture_normal = ExtResource("4")

[node name="Settings" type="Control" parent="CanvasLayer"]
unique_name_in_owner = true
visible = false
layout_mode = 3
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
script = ExtResource("7")

[node name="MainPanel" type="Panel" parent="CanvasLayer/Settings"]
layout_mode = 0
anchor_left = 0.5
anchor_right = 0.5
offset_left = -432.0
offset_top = -319.0
offset_right = 432.0
offset_bottom = -48.0

[node name="LineEdit" type="LineEdit" parent="CanvasLayer/Settings/MainPanel"]
unique_name_in_owner = true
layout_mode = 0
anchor_left = 0.5
anchor_right = 0.5
offset_left = -418.5
offset_top = 52.0
offset_right = 418.5
offset_bottom = 88.0
theme = ExtResource("5")
caret_blink = true
caret_blink_interval = 0.5

[node name="OKButton" type="Button" parent="CanvasLayer/Settings/MainPanel"]
layout_mode = 0
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -15.5
offset_top = -44.0
offset_right = 33.5
offset_bottom = -12.0
theme = ExtResource("5")
text = "OK"

[node name="ChangeText" type="Label" parent="CanvasLayer/Settings/MainPanel"]
layout_mode = 0
offset_left = 17.0
offset_top = 35.0
offset_right = 222.0
offset_bottom = 49.0
text = "Change presentation line below:"

[node name="ChooseEffect" type="Label" parent="CanvasLayer/Settings/MainPanel"]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -102.5
offset_top = 11.0
offset_right = 102.5
offset_bottom = 25.0
text = "Change effects below:"

[node name="FontSizeMin" type="Button" parent="CanvasLayer/Settings/MainPanel"]
layout_mode = 0
offset_left = 807.0
offset_top = 92.0
offset_right = 824.0
offset_bottom = 112.0
text = "-"

[node name="FontSizePlus" type="Button" parent="CanvasLayer/Settings/MainPanel"]
layout_mode = 0
offset_left = 830.0
offset_top = 92.0
offset_right = 850.0
offset_bottom = 112.0
text = "+"

[node name="EffectsBox" type="HBoxContainer" parent="CanvasLayer/Settings/MainPanel"]
layout_mode = 0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_top = 38.5
offset_bottom = 72.5

[node name="LightBox" type="CheckBox" parent="CanvasLayer/Settings/MainPanel/EffectsBox"]
layout_mode = 2
theme = ExtResource("5")
text = "Mood Light3D"

[node name="MistBox" type="CheckBox" parent="CanvasLayer/Settings/MainPanel/EffectsBox"]
layout_mode = 2
theme = ExtResource("5")
text = "Mist"
script = ExtResource("7")

[node name="CloseButton" type="TextureButton" parent="CanvasLayer"]
visible = false
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -60.0
offset_top = 1.0
offset_right = 1140.0
offset_bottom = 1201.0
scale = Vector2(0.05, 0.05)
texture_normal = ExtResource("6")

[connection signal="pressed" from="CanvasLayer/SettingsButton" to="CanvasLayer/Settings" method="_on_SettingsButton_pressed"]
[connection signal="pressed" from="CanvasLayer/Settings/MainPanel/OKButton" to="CanvasLayer/Settings" method="_on_OKButton_pressed"]
[connection signal="pressed" from="CanvasLayer/Settings/MainPanel/FontSizeMin" to="CanvasLayer/Settings" method="_on_FontSizeMin_pressed"]
[connection signal="pressed" from="CanvasLayer/Settings/MainPanel/FontSizePlus" to="CanvasLayer/Settings" method="_on_FontSizePlus_pressed"]
[connection signal="toggled" from="CanvasLayer/Settings/MainPanel/EffectsBox/LightBox" to="CanvasLayer/Settings" method="_on_LightBox_toggled"]
[connection signal="toggled" from="CanvasLayer/Settings/MainPanel/EffectsBox/MistBox" to="CanvasLayer/Settings" method="_on_MistBox_toggled"]
[connection signal="pressed" from="CanvasLayer/CloseButton" to="CanvasLayer/Settings" method="_on_TextureButton_pressed"]
