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

[ext_resource type="Script" uid="uid://dhw85vqlvw33s" path="res://scripts/main_panel.gd" id="1_sihtn"]
[ext_resource type="Script" uid="uid://4jrp67ckp7vt" path="res://scripts/timer_label.gd" id="2_xnrrg"]

[node name="PanelContainer" type="PanelContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -573.0
offset_bottom = -257.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_sihtn")

[node name="Timer" type="Timer" parent="."]
wait_time = 400000.0
autostart = true

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 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="Passive" type="VBoxContainer" parent="MarginContainer"]
visible = false
layout_mode = 2

[node name="Label" type="Label" parent="MarginContainer/Passive"]
layout_mode = 2
theme_override_font_sizes/font_size = 50
text = "Time til Next Shift"
horizontal_alignment = 1

[node name="TimerLabel" type="Label" parent="MarginContainer/Passive"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "000:00:00.00"
script = ExtResource("2_xnrrg")

[node name="Active" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2

[node name="Label" type="Label" parent="MarginContainer/Active"]
layout_mode = 2
theme_override_font_sizes/font_size = 50
text = "Time til Next Shift"
horizontal_alignment = 1

[node name="TimerLabel" type="Label" parent="MarginContainer/Active"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "00:00:00.00"
script = ExtResource("2_xnrrg")

[node name="Label3" type="Label" parent="MarginContainer/Active"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "00:00:00.00"

[connection signal="time_changed" from="." to="MarginContainer/Passive/TimerLabel" method="_on_time_changed"]
[connection signal="time_changed" from="." to="MarginContainer/Active/TimerLabel" method="_on_time_changed"]
