[gd_scene format=3 uid="uid://33ctlyrpibs3"]

[ext_resource type="Script" uid="uid://dj7pngpg53qdb" path="res://printer.gd" id="1_jhpce"]
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Styles/btn_style_box_green_hover.tres" id="2_tnxmo"]
[ext_resource type="StyleBox" uid="uid://b0kxbbhtsbhcr" path="res://Styles/btn_style_box_red_hover.tres" id="3_vtisp"]

[node name="Printer" type="PanelContainer" unique_id=1372437203]
custom_minimum_size = Vector2(0, 150)
offset_right = 271.0
offset_bottom = 182.0
size_flags_horizontal = 3
script = ExtResource("1_jhpce")

[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1159449756]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10

[node name="MainArea" type="VBoxContainer" parent="MarginContainer" unique_id=2137617795]
layout_mode = 2

[node name="TopInfo" type="HBoxContainer" parent="MarginContainer/MainArea" unique_id=1033555892]
layout_mode = 2

[node name="PrinterLabel" type="Label" parent="MarginContainer/MainArea/TopInfo" unique_id=397114791]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 30
text = "Printer #1"

[node name="StatusLabel" type="Label" parent="MarginContainer/MainArea/TopInfo" unique_id=2117616913]
layout_mode = 2
size_flags_horizontal = 3
text = "Status: Free"
horizontal_alignment = 2

[node name="PrinterModelLabel" type="Label" parent="MarginContainer/MainArea" unique_id=666140345]
layout_mode = 2
text = "Printer model"

[node name="PrintInfo" type="VBoxContainer" parent="MarginContainer/MainArea" unique_id=1502076264]
layout_mode = 2

[node name="FilamentLabel" type="Label" parent="MarginContainer/MainArea/PrintInfo" unique_id=181392172]
layout_mode = 2
text = "Material: PLA"

[node name="TimeLeftLabel" type="Label" parent="MarginContainer/MainArea/PrintInfo" unique_id=1516591173]
layout_mode = 2
text = "Time left: 15.0"

[node name="ProgressBar" type="ProgressBar" parent="MarginContainer/MainArea/PrintInfo" unique_id=768246659]
layout_mode = 2
max_value = 1.0

[node name="Buttons" type="HBoxContainer" parent="MarginContainer/MainArea" unique_id=248340191]
layout_mode = 2

[node name="StartButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=1943803675]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/hover = ExtResource("2_tnxmo")
text = "Start print"

[node name="UpgradeButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=765929805]
visible = false
layout_mode = 2
size_flags_horizontal = 3
text = "Upgrade"

[node name="SellButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=929234066]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/hover = ExtResource("3_vtisp")
text = "Sell printer"

[node name="SelectJob" type="OptionButton" parent="MarginContainer/MainArea" unique_id=1500040832]
layout_mode = 2

[node name="Timer" type="Timer" parent="." unique_id=425740035]

[connection signal="pressed" from="MarginContainer/MainArea/Buttons/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="MarginContainer/MainArea/Buttons/SellButton" to="." method="_on_sell_button_pressed"]
[connection signal="item_selected" from="MarginContainer/MainArea/SelectJob" to="." method="_on_select_job_item_selected"]
[connection signal="pressed" from="MarginContainer/MainArea/SelectJob" to="." method="_on_select_job_pressed"]
