Moved Styles out of Resources
This commit is contained in:
parent
1a5efdc8f5
commit
ebc7294339
5 changed files with 10 additions and 10 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
[gd_scene format=3 uid="uid://dvfcie8hqcb0"]
|
[gd_scene format=3 uid="uid://dvfcie8hqcb0"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://wjam0w8dmel3" path="res://Scenes/Job/job_card.gd" id="1_hdanx"]
|
[ext_resource type="Script" uid="uid://wjam0w8dmel3" path="res://Scenes/Job/job_card.gd" id="1_hdanx"]
|
||||||
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Resources/Styles/btn_style_box_green_hover.tres" id="2_hdanx"]
|
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Styles/btn_style_box_green_hover.tres" id="2_g1ftk"]
|
||||||
[ext_resource type="StyleBox" uid="uid://b0kxbbhtsbhcr" path="res://Resources/Styles/btn_style_box_red_hover.tres" id="3_g1ftk"]
|
[ext_resource type="StyleBox" uid="uid://b0kxbbhtsbhcr" path="res://Styles/btn_style_box_red_hover.tres" id="3_hj6y5"]
|
||||||
|
|
||||||
[node name="JobCard" type="PanelContainer" unique_id=1714388686]
|
[node name="JobCard" type="PanelContainer" unique_id=1714388686]
|
||||||
offset_right = 40.0
|
offset_right = 40.0
|
||||||
|
|
@ -47,7 +47,7 @@ text = "Amount: 1"
|
||||||
[node name="AcceptJob" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer3" unique_id=1475207118]
|
[node name="AcceptJob" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer3" unique_id=1475207118]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme_override_styles/hover = ExtResource("2_hdanx")
|
theme_override_styles/hover = ExtResource("2_g1ftk")
|
||||||
text = "Accept"
|
text = "Accept"
|
||||||
|
|
||||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=1428599849]
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=1428599849]
|
||||||
|
|
@ -67,7 +67,7 @@ text = "Time: 3 min"
|
||||||
[node name="SkipJob" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=1848796901]
|
[node name="SkipJob" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=1848796901]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme_override_styles/hover = ExtResource("3_g1ftk")
|
theme_override_styles/hover = ExtResource("3_hj6y5")
|
||||||
text = "Skip"
|
text = "Skip"
|
||||||
|
|
||||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer3/AcceptJob" to="." method="_on_accept_job_pressed"]
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer3/AcceptJob" to="." method="_on_accept_job_pressed"]
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
[gd_scene format=3 uid="uid://33ctlyrpibs3"]
|
[gd_scene format=3 uid="uid://33ctlyrpibs3"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://dj7pngpg53qdb" path="res://Scenes/Printer/printer.gd" id="1_dlbos"]
|
[ext_resource type="Script" uid="uid://dj7pngpg53qdb" path="res://Scenes/Printer/printer.gd" id="1_dlbos"]
|
||||||
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Resources/Styles/btn_style_box_green_hover.tres" id="2_mmlst"]
|
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Styles/btn_style_box_green_hover.tres" id="2_dlbos"]
|
||||||
[ext_resource type="StyleBox" uid="uid://b0kxbbhtsbhcr" path="res://Resources/Styles/btn_style_box_red_hover.tres" id="3_1ai8v"]
|
[ext_resource type="StyleBox" uid="uid://b0kxbbhtsbhcr" path="res://Styles/btn_style_box_red_hover.tres" id="3_mmlst"]
|
||||||
|
|
||||||
[node name="Printer" type="PanelContainer" unique_id=1372437203]
|
[node name="Printer" type="PanelContainer" unique_id=1372437203]
|
||||||
custom_minimum_size = Vector2(0, 150)
|
custom_minimum_size = Vector2(0, 150)
|
||||||
|
|
@ -61,7 +61,7 @@ layout_mode = 2
|
||||||
[node name="StartButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=1943803675]
|
[node name="StartButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=1943803675]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme_override_styles/hover = ExtResource("2_mmlst")
|
theme_override_styles/hover = ExtResource("2_dlbos")
|
||||||
text = "Start print"
|
text = "Start print"
|
||||||
|
|
||||||
[node name="UpgradeButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=765929805]
|
[node name="UpgradeButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=765929805]
|
||||||
|
|
@ -73,7 +73,7 @@ text = "Upgrade"
|
||||||
[node name="SellButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=929234066]
|
[node name="SellButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=929234066]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme_override_styles/hover = ExtResource("3_1ai8v")
|
theme_override_styles/hover = ExtResource("3_mmlst")
|
||||||
text = "Sell printer"
|
text = "Sell printer"
|
||||||
|
|
||||||
[node name="SelectJob" type="OptionButton" parent="MarginContainer/MainArea" unique_id=1500040832]
|
[node name="SelectJob" type="OptionButton" parent="MarginContainer/MainArea" unique_id=1500040832]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[gd_scene format=3 uid="uid://bdpqvwvwmaian"]
|
[gd_scene format=3 uid="uid://bdpqvwvwmaian"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://ttfk4n2fkifj" path="res://Scenes/Shop/Printers/printer_card.gd" id="1_tl8ce"]
|
[ext_resource type="Script" uid="uid://ttfk4n2fkifj" path="res://Scenes/Shop/Printers/printer_card.gd" id="1_tl8ce"]
|
||||||
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Resources/Styles/btn_style_box_green_hover.tres" id="2_wluc8"]
|
[ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Styles/btn_style_box_green_hover.tres" id="2_tl8ce"]
|
||||||
|
|
||||||
[node name="PrinterCard" type="PanelContainer" unique_id=1714388686]
|
[node name="PrinterCard" type="PanelContainer" unique_id=1714388686]
|
||||||
offset_right = 40.0
|
offset_right = 40.0
|
||||||
|
|
@ -55,7 +55,7 @@ text = "Price: 500 €"
|
||||||
[node name="BuyButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=1475207118]
|
[node name="BuyButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=1475207118]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme_override_styles/hover = ExtResource("2_wluc8")
|
theme_override_styles/hover = ExtResource("2_tl8ce")
|
||||||
text = "Buy"
|
text = "Buy"
|
||||||
|
|
||||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/BuyButton" to="." method="_on_buy_button_pressed"]
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/BuyButton" to="." method="_on_buy_button_pressed"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue