mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
110 lines
5.3 KiB
Plaintext
110 lines
5.3 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/main_window.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/material_maker/library.gd" type="Script" id=2]
|
|
[ext_resource path="res://addons/material_maker/preview.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://addons/material_maker/widgets/tabs.gd" type="Script" id=4]
|
|
[ext_resource path="res://addons/material_maker/engine/renderer.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://addons/material_maker/node_factory.gd" type="Script" id=6]
|
|
|
|
[node name="MainWindow" type="Panel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Menu" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_right = 1280.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="File" type="MenuButton" parent="VBoxContainer/Menu"]
|
|
margin_right = 35.0
|
|
margin_bottom = 20.0
|
|
text = "File"
|
|
items = [ "New material", null, 0, false, false, 0, 0, null, "", false, "Load material", null, 0, false, false, 1, 268435535, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Save material", null, 0, false, false, 4, 268435539, null, "", false, "Save material as...", null, 0, false, false, 5, 301989971, null, "", false, "Save all materials...", null, 0, false, false, 6, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Export material", null, 0, false, false, 8, 268435525, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Close material", null, 0, false, false, 10, 0, null, "", false, "Quit", null, 0, false, false, 11, 268435537, null, "", false ]
|
|
|
|
[node name="Edit" type="MenuButton" parent="VBoxContainer/Menu"]
|
|
margin_left = 39.0
|
|
margin_right = 75.0
|
|
margin_bottom = 20.0
|
|
text = "Edit"
|
|
items = [ "Cut", null, 0, false, false, 12, 268435544, null, "", false, "Copy", null, 0, false, false, 13, 268435523, null, "", false, "Paste", null, 0, false, false, 14, 268435542, null, "", false ]
|
|
|
|
[node name="Tools" type="MenuButton" parent="VBoxContainer/Menu"]
|
|
margin_left = 79.0
|
|
margin_right = 125.0
|
|
margin_bottom = 20.0
|
|
text = "Tools"
|
|
items = [ "Make selected nodes editable", null, 0, false, false, 15, 0, null, "", false, "Add selected node to user library", null, 0, false, false, 16, 0, null, "", false, "Save user library", null, 0, false, false, 17, 0, null, "", false ]
|
|
|
|
[node name="Help" type="MenuButton" parent="VBoxContainer/Menu"]
|
|
margin_left = 129.0
|
|
margin_right = 171.0
|
|
margin_bottom = 20.0
|
|
text = "Help"
|
|
items = [ "User manual", null, 0, false, false, 18, 0, null, "", false, "Report a bug", null, 0, false, false, 19, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "About", null, 0, false, false, 21, 0, null, "", false ]
|
|
|
|
[node name="HBoxContainer" type="HSplitContainer" parent="VBoxContainer"]
|
|
margin_top = 24.0
|
|
margin_right = 1280.0
|
|
margin_bottom = 720.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="VBoxContainer" type="VSplitContainer" parent="VBoxContainer/HBoxContainer"]
|
|
margin_right = 314.0
|
|
margin_bottom = 696.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Library" type="Tree" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
margin_right = 314.0
|
|
margin_bottom = 342.0
|
|
rect_min_size = Vector2( 100, 100 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
hide_root = true
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Preview" parent="VBoxContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 3 )]
|
|
anchor_left = 0.0
|
|
anchor_right = 0.0
|
|
margin_left = 0.0
|
|
margin_top = 354.0
|
|
margin_right = 314.0
|
|
margin_bottom = 696.0
|
|
|
|
[node name="Projects" type="Panel" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 326.0
|
|
margin_right = 1280.0
|
|
margin_bottom = 696.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
size_flags_stretch_ratio = 3.0
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Tabs" type="Tabs" parent="VBoxContainer/HBoxContainer/Projects"]
|
|
margin_right = 954.0
|
|
margin_bottom = 24.0
|
|
tab_align = 0
|
|
tab_close_display_policy = 1
|
|
|
|
[node name="Renderer" parent="." instance=ExtResource( 5 )]
|
|
|
|
[node name="NodeFactory" type="Node" parent="."]
|
|
script = ExtResource( 6 )
|
|
[connection signal="no_more_tabs" from="VBoxContainer/HBoxContainer/Projects" to="." method="new_material"]
|
|
[connection signal="resized" from="VBoxContainer/HBoxContainer/Projects" to="VBoxContainer/HBoxContainer/Projects" method="_on_Projects_resized"]
|
|
[connection signal="tab_changed" from="VBoxContainer/HBoxContainer/Projects" to="." method="_on_Projects_tab_changed"]
|
|
[connection signal="connection_request" from="VBoxContainer/HBoxContainer/Projects/GraphEdit" to="VBoxContainer/HBoxContainer/Projects/GraphEdit" method="connect_node"]
|
|
[connection signal="disconnection_request" from="VBoxContainer/HBoxContainer/Projects/GraphEdit" to="VBoxContainer/HBoxContainer/Projects/GraphEdit" method="disconnect_node"]
|
|
[connection signal="reposition_active_tab_request" from="VBoxContainer/HBoxContainer/Projects/Tabs" to="VBoxContainer/HBoxContainer/Projects" method="move_active_tab_to"]
|
|
[connection signal="tab_changed" from="VBoxContainer/HBoxContainer/Projects/Tabs" to="VBoxContainer/HBoxContainer/Projects" method="set_current_tab"]
|
|
[connection signal="tab_close" from="VBoxContainer/HBoxContainer/Projects/Tabs" to="VBoxContainer/HBoxContainer/Projects" method="close_tab"]
|