init
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ui/workbench/WorkbenchPanel.cs" id="1_panel"]
|
||||
[ext_resource type="Texture2D" path="res://backgrounds/cook_table.png" id="2_bg"]
|
||||
|
||||
[node name="CookingWorkbenchPanel" type="Control" script=ExtResource("1_panel")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
[node name="BgImage" type="TextureRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
offset_right = 0.0
|
||||
mouse_filter = 2
|
||||
expand_mode = 1
|
||||
stretch_mode = 4
|
||||
texture = ExtResource("2_bg")
|
||||
[node name="HBox" type="HBoxContainer" parent="."]
|
||||
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_constants/separation = 10
|
||||
|
||||
[node name="LeftPanel" type="VBoxContainer" parent="HBox"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
custom_minimum_size = Vector2(400, 0)
|
||||
|
||||
[node name="LeftTitle" type="Label" parent="HBox/LeftPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="HBox/LeftPanel"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 3
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="HBox/LeftPanel/Scroll"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="RightPanel" type="VBoxContainer" parent="HBox"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
|
||||
[node name="TxtDescription" type="RichTextLabel" parent="HBox/RightPanel"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
bbcode_enabled = true
|
||||
scroll_active = true
|
||||
custom_minimum_size = Vector2(0, 100)
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="BtnCook" type="Button" parent="HBox/RightPanel"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BtnClose" type="Button" parent="HBox/RightPanel"]
|
||||
layout_mode = 2
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ui/RationStatisticsPanel.cs" id="1_script"]
|
||||
|
||||
[node name="RationStatisticsPanel" type="Control" script=ExtResource("1_script")]
|
||||
|
||||
[node name="RationMargin" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 50
|
||||
theme_override_constants/margin_top = 100
|
||||
theme_override_constants/margin_bottom = 100
|
||||
|
||||
[node name="RationLabel" type="RichTextLabel" parent="RationMargin"]
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ui/workbench/RecipeIconItemBehaviour.cs" id="1_script"]
|
||||
|
||||
[node name="RecipeIconItem" type="Control" script=ExtResource("1_script")]
|
||||
|
||||
[node name="Img" type="TextureRect" parent="."]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 0
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="Txt" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
position = Vector2(24, 20)
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 2
|
||||
theme_override_font_sizes/font_size = 10
|
||||
@@ -0,0 +1,38 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="Script" path="src/ui/workbench/RecipeItemBehaviour.cs" id="1_script"]
|
||||
|
||||
[node name="RecipeItem" type="Control" script=ExtResource("1_script")]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
|
||||
[node name="Background" type="Control" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="RecipeContent" type="Control" parent="HBox"]
|
||||
custom_minimum_size = Vector2(100, 30)
|
||||
|
||||
[node name="RecipeContentHbox" type="HBoxContainer" parent="HBox/RecipeContent"]
|
||||
|
||||
[node name="TxtName" type="Label" parent="HBox"]
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 1, 0, 1)
|
||||
theme_override_font_sizes/font_size = 12
|
||||
|
||||
[node name="TxtTime" type="Label" parent="HBox"]
|
||||
custom_minimum_size = Vector2(40, 30)
|
||||
theme_override_colors/font_color = Color(1, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 12
|
||||
Reference in New Issue
Block a user