Files

82 lines
1.9 KiB
Plaintext

[gd_scene format=3]
[ext_resource type="Script" path="res://scripts/layout_overview.gd" id="1"]
[ext_resource type="Script" path="res://scripts/layout_grid.gd" id="2"]
[ext_resource type="Shader" path="res://shaders/layout_grid.gdshader" id="3"]
[ext_resource type="PackedScene" path="res://components/layout_library.tscn" id="library"]
[sub_resource type="ShaderMaterial" id="GridMaterial"]
resource_local_to_scene = true
shader = ExtResource("3")
[node name="LayoutOverview" type="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="Dashboard" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Grid" type="ColorRect" parent="Dashboard"]
visible = false
material = SubResource("GridMaterial")
z_index = 100
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 0
script = ExtResource("2")
[node name="Toolbar" type="HBoxContainer" parent="."]
visible = false
z_index = 200
layout_mode = 1
anchor_right = 1.0
offset_left = 24.0
offset_top = 16.0
offset_right = -24.0
offset_bottom = 60.0
mouse_filter = 2
theme_override_constants/separation = 20
[node name="Title" type="Label" parent="Toolbar"]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
theme_override_font_sizes/font_size = 20
text = "LAYOUT OVERVIEW"
[node name="Hint" type="Label" parent="Toolbar"]
layout_mode = 2
mouse_filter = 2
text = "Esc to return"
[node name="Add" type="Button" parent="Toolbar"]
layout_mode = 2
text = "Add element"
[node name="Reset" type="Button" parent="Toolbar"]
layout_mode = 2
text = "Reset layout"
[node name="Return" type="Button" parent="Toolbar"]
layout_mode = 2
text = "Return to dashboard"
[node name="Library" parent="." instance=ExtResource("library")]
layout_mode = 1