Traveller/scenes/LevelGraphEditor.tscn
2024-06-16 20:22:25 +08:00

289 lines
6.6 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://ckl23uwxrjat4"]
[ext_resource type="Script" path="res://scripts/loader/uiLoader/LevelGraphEditorLoader.cs" id="1_g1axq"]
[node name="LevelGraphEditor" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_g1axq")
[node name="GraphEdit" type="GraphEdit" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 12.0
offset_top = 52.0
offset_right = -16.0
offset_bottom = -13.0
grow_horizontal = 2
grow_vertical = 2
show_grid = false
minimap_enabled = false
show_minimap_button = false
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 11.0
offset_top = 7.0
offset_right = 143.0
offset_bottom = 32.0
text = "ui_level_graph_editor"
[node name="CreateOrEditorPanel" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 15.0
offset_top = 44.0
offset_right = -16.0
offset_bottom = -15.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 1
offset_left = 10.0
offset_top = 13.0
offset_right = 97.0
offset_bottom = 38.0
text = "ui_create_room"
[node name="Label3" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 1
offset_left = 12.0
offset_top = 106.0
offset_right = 72.0
offset_bottom = 131.0
text = "ui_describe"
[node name="Label4" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 1
offset_left = 15.0
offset_top = 152.0
offset_right = 75.0
offset_bottom = 177.0
text = "ui_room_template_collection_prompt"
[node name="RoomTemplateTipsLabel" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 1
offset_left = 16.0
offset_top = 259.0
offset_right = 263.0
offset_bottom = 284.0
text = "errorTip"
[node name="RoomNameLineEdit" type="LineEdit" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 100.0
offset_top = 59.0
offset_right = -8.0
offset_bottom = 92.0
grow_horizontal = 2
[node name="RoomDescriptionLineEdit" type="LineEdit" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 100.0
offset_top = 104.0
offset_right = -8.0
offset_bottom = 137.0
grow_horizontal = 2
[node name="HideCreateRoomPanelButton" type="Button" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -57.0
offset_top = 6.0
offset_right = -11.0
offset_bottom = 39.0
grow_horizontal = 0
text = "ui_close"
[node name="Label2" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 1
offset_left = 13.0
offset_top = 60.0
offset_right = 48.0
offset_bottom = 85.0
text = "ui_name"
[node name="CreateRoomButton" type="Button" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -80.0
offset_top = -46.0
offset_right = -13.0
offset_bottom = -13.0
grow_horizontal = 0
grow_vertical = 0
text = "ui_creation"
[node name="RoomTemplateCollectionTextEdit" type="TextEdit" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 9.0
offset_top = 184.0
offset_right = -11.0
offset_bottom = 245.0
grow_horizontal = 2
[node name="Label5" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 0
offset_left = 16.0
offset_top = 289.0
offset_right = 56.0
offset_bottom = 314.0
text = "ui_tags"
[node name="TagLineEdit" type="LineEdit" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 11.0
offset_top = 324.0
offset_right = -20.0
offset_bottom = 357.0
grow_horizontal = 2
[node name="Label7" type="Label" parent="CreateOrEditorPanel"]
layout_mode = 1
offset_left = 14.0
offset_top = 368.0
offset_right = 283.0
offset_bottom = 393.0
text = "ui_room_injection_processor"
[node name="RoomInjectionProcessorDataTextEdit" type="TextEdit" parent="CreateOrEditorPanel"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 14.0
offset_top = 404.0
offset_right = -25.0
offset_bottom = 493.0
grow_horizontal = 2
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -160.0
offset_top = 4.0
offset_right = -15.0
offset_bottom = 47.0
grow_horizontal = 0
[node name="DeleteSelectedNodeButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "ui_delete_selected_node"
[node name="OpenExportFolderButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "ui_open_the_export_directory"
[node name="ShowSavePanelButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "ui_save"
[node name="ShowLoadPanelButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "ui_load"
[node name="ShowCreateRoomPanelButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "ui_create_room"
[node name="ExitButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "ui_close"
[node name="SaveOrLoadPanel" type="Panel" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 232.0
offset_top = 202.0
offset_right = -121.0
offset_bottom = -155.0
grow_horizontal = 2
grow_vertical = 2
[node name="SaveOrLoadPanelTitleLabel" type="Label" parent="SaveOrLoadPanel"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -18.5
offset_top = 15.0
offset_right = 21.5
offset_bottom = 40.0
grow_horizontal = 2
text = "save"
[node name="FileNameLineEdit" type="LineEdit" parent="SaveOrLoadPanel"]
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = 18.0
offset_top = -5.0
offset_right = -18.0
offset_bottom = 28.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="SaveOrLoadPanel"]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 20.0
offset_top = -38.0
offset_right = 80.0
offset_bottom = -13.0
grow_vertical = 2
text = "filename"
[node name="HBoxContainer" type="HBoxContainer" parent="SaveOrLoadPanel"]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -117.0
offset_top = -50.0
offset_right = -19.0
offset_bottom = -10.0
grow_horizontal = 0
grow_vertical = 0
[node name="CancelButton" type="Button" parent="SaveOrLoadPanel/HBoxContainer"]
layout_mode = 2
text = "cancel"
[node name="ActionButton" type="Button" parent="SaveOrLoadPanel/HBoxContainer"]
layout_mode = 2
text = "save"