[gd_scene load_steps=6 format=3 uid="uid://ctbg44spnjbsa"]

[ext_resource type="Script" uid="uid://cuds3hklcm5m5" path="res://scripts/shift_cycle.gd" id="1_rjfcf"]
[ext_resource type="AudioStream" uid="uid://dq7e5u8j14atb" path="res://sounds/Paper Turn.wav" id="2_04j74"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rxjlm"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(1, 1, 1, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rjfcf"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(0.76, 0.589, 0.418, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5

[sub_resource type="StyleBoxLine" id="StyleBoxLine_cpouh"]
content_margin_left = 1.0
content_margin_top = 1.0
content_margin_right = 1.0
content_margin_bottom = 1.0
color = Color(0.46779883, 0.3432355, 0.19989973, 1)
grow_begin = 300.0
grow_end = 202.0
thickness = 3

[node name="ShiftCycle" type="Control"]
custom_minimum_size = Vector2(700, 111)
layout_mode = 3
offset_right = 700.0
offset_bottom = 111.0
script = ExtResource("1_rjfcf")

[node name="Shadow" type="Panel" parent="."]
unique_name_in_owner = true
modulate = Color(0, 0, 0, 0.44313726)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_rxjlm")

[node name="PanelContainer" type="PanelContainer" parent="."]
unique_name_in_owner = true
custom_minimum_size = Vector2(700, 111)
layout_mode = 0
offset_right = 700.0
offset_bottom = 111.0
mouse_filter = 1
theme_override_styles/panel = SubResource("StyleBoxFlat_rjfcf")

[node name="Contents" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
mouse_filter = 2

[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/Contents"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
mouse_filter = 2

[node name="Label" type="Label" parent="PanelContainer/Contents/HBoxContainer"]
custom_minimum_size = Vector2(600, 50)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 32
text = "WORK SHIFT"
horizontal_alignment = 1
vertical_alignment = 1

[node name="WorkingEdit" type="TextEdit" parent="PanelContainer/Contents/HBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(65, 50)
layout_mode = 2
mouse_behavior_recursive = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "25"

[node name="VSeparator" type="VSeparator" parent="PanelContainer/Contents"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_cpouh")

[node name="HBoxContainer2" type="HBoxContainer" parent="PanelContainer/Contents"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
mouse_filter = 2

[node name="Label" type="Label" parent="PanelContainer/Contents/HBoxContainer2"]
custom_minimum_size = Vector2(600, 50)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 32
text = "OPEN SHIFT"
horizontal_alignment = 1
vertical_alignment = 1

[node name="OpenEdit" type="TextEdit" parent="PanelContainer/Contents/HBoxContainer2"]
unique_name_in_owner = true
custom_minimum_size = Vector2(65, 50)
layout_mode = 2
mouse_behavior_recursive = 2
theme_override_font_sizes/font_size = 32
placeholder_text = "5"

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_04j74")
volume_db = -12.29

[connection signal="text_changed" from="PanelContainer/Contents/HBoxContainer/WorkingEdit" to="." method="_on_working_edit_text_changed"]
[connection signal="text_changed" from="PanelContainer/Contents/HBoxContainer2/OpenEdit" to="PanelContainer" method="_on_open_edit_text_changed"]
[connection signal="text_set" from="PanelContainer/Contents/HBoxContainer2/OpenEdit" to="PanelContainer" method="_on_open_edit_text_set"]
