pir-serious-game-ethics/addons/dialogic/Editor/EditorView.tscn

302 lines
11 KiB
Text

[gd_scene load_steps=20 format=2]
[ext_resource path="res://addons/dialogic/Editor/EditorView.gd" type="Script" id=1]
[ext_resource path="res://addons/dialogic/Editor/TimelineEditor/TimelineEditor.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/dialogic/Images/Toolbar/add-timeline.svg" type="Texture" id=3]
[ext_resource path="res://addons/dialogic/Images/Toolbar/add-character.svg" type="Texture" id=4]
[ext_resource path="res://addons/dialogic/Images/Toolbar/add-theme.svg" type="Texture" id=5]
[ext_resource path="res://addons/dialogic/Editor/SettingsEditor/SettingsEditor.tscn" type="PackedScene" id=6]
[ext_resource path="res://addons/dialogic/Editor/CharacterEditor/CharacterEditor.tscn" type="PackedScene" id=7]
[ext_resource path="res://addons/dialogic/Editor/ThemeEditor/ThemeEditor.tscn" type="PackedScene" id=8]
[ext_resource path="res://addons/dialogic/Images/open-icon.svg" type="Texture" id=9]
[ext_resource path="res://addons/dialogic/Images/closed-icon.svg" type="Texture" id=10]
[ext_resource path="res://addons/dialogic/Images/ActionCopy.svg" type="Texture" id=11]
[ext_resource path="res://addons/dialogic/Editor/DefinitionEditor/DefinitionEditor.tscn" type="PackedScene" id=12]
[ext_resource path="res://addons/dialogic/Images/Toolbar/add-definition.svg" type="Texture" id=13]
[ext_resource path="res://addons/dialogic/Images/logo.png" type="Texture" id=14]
[ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=22]
[ext_resource path="res://addons/dialogic/Images/Filesystem.svg" type="Texture" id=26]
[ext_resource path="res://addons/dialogic/Editor/MasterTree/MasterTree.tscn" type="PackedScene" id=35]
[sub_resource type="Image" id=3]
data = {
"data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
"format": "LumAlpha8",
"height": 16,
"mipmaps": false,
"width": 16
}
[sub_resource type="ImageTexture" id=2]
flags = 4
flags = 4
image = SubResource( 3 )
size = Vector2( 16, 16 )
[node name="EditorView" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -8.0
rect_min_size = Vector2( 0, 200 )
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ToolBar" type="HBoxContainer" parent="."]
anchor_right = 1.0
margin_bottom = 30.0
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NewTimelineButton" type="Button" parent="ToolBar"]
self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
margin_right = 34.0
margin_bottom = 30.0
hint_tooltip = "New Timeline"
focus_mode = 0
icon = ExtResource( 3 )
flat = true
[node name="NewCharactersButton" type="ToolButton" parent="ToolBar"]
self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
margin_left = 34.0
margin_right = 68.0
margin_bottom = 30.0
hint_tooltip = "New Character"
focus_mode = 0
icon = ExtResource( 4 )
[node name="NewDefinitionButton" type="Button" parent="ToolBar"]
self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
margin_left = 68.0
margin_right = 102.0
margin_bottom = 30.0
hint_tooltip = "New Definition"
focus_mode = 0
icon = ExtResource( 13 )
flat = true
[node name="NewThemeButton" type="Button" parent="ToolBar"]
self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
margin_left = 102.0
margin_right = 136.0
margin_bottom = 30.0
hint_tooltip = "New Theme"
focus_mode = 0
icon = ExtResource( 5 )
flat = true
[node name="FoldTools" type="HBoxContainer" parent="ToolBar"]
visible = false
margin_left = 136.0
margin_right = 271.0
margin_bottom = 30.0
[node name="Label" type="Label" parent="ToolBar/FoldTools"]
margin_top = 8.0
margin_right = 59.0
margin_bottom = 22.0
text = " Fold "
[node name="ButtonFold" type="Button" parent="ToolBar/FoldTools"]
margin_left = 63.0
margin_right = 97.0
margin_bottom = 30.0
icon = ExtResource( 10 )
align = 0
[node name="ButtonUnfold" type="Button" parent="ToolBar/FoldTools"]
margin_left = 101.0
margin_right = 135.0
margin_bottom = 30.0
icon = ExtResource( 9 )
align = 0
[node name="Spacer" type="Control" parent="ToolBar"]
margin_left = 136.0
margin_right = 751.0
margin_bottom = 30.0
size_flags_horizontal = 3
[node name="Docs" type="ToolButton" parent="ToolBar"]
self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
margin_left = 751.0
margin_right = 861.0
margin_bottom = 30.0
hint_tooltip = "Theme Editor"
mouse_default_cursor_shape = 2
text = "Online Docs"
icon = SubResource( 2 )
[node name="Logo" type="TextureRect" parent="ToolBar"]
margin_left = 861.0
margin_right = 981.0
margin_bottom = 30.0
rect_min_size = Vector2( 120, 0 )
mouse_default_cursor_shape = 2
texture = ExtResource( 14 )
expand = true
stretch_mode = 5
[node name="Version" type="Label" parent="ToolBar"]
self_modulate = Color( 1, 1, 1, 0.631373 )
margin_left = 981.0
margin_top = 8.0
margin_right = 1008.0
margin_bottom = 22.0
text = "v1.0"
[node name="MainPanel" type="HSplitContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 6.0
margin_top = 38.0
margin_right = -5.0
margin_bottom = -5.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MasterTree" parent="MainPanel" instance=ExtResource( 35 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 180.0
margin_bottom = 541.0
rect_min_size = Vector2( 180, 0 )
size_flags_vertical = 3
[node name="TimelineEditor" parent="MainPanel" instance=ExtResource( 2 )]
visible = false
[node name="CharacterEditor" parent="MainPanel" instance=ExtResource( 7 )]
visible = false
[node name="DefinitionEditor" parent="MainPanel" instance=ExtResource( 12 )]
visible = false
[node name="ThemeEditor" parent="MainPanel" instance=ExtResource( 8 )]
visible = false
[node name="SettingsEditor" parent="MainPanel" instance=ExtResource( 6 )]
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 192.0
margin_right = 1253.0
margin_bottom = 661.0
[node name="Empty" type="CenterContainer" parent="MainPanel"]
margin_left = 192.0
margin_right = 997.0
margin_bottom = 541.0
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/Empty"]
margin_left = 262.0
margin_top = 263.0
margin_right = 542.0
margin_bottom = 277.0
[node name="Label" type="Label" parent="MainPanel/Empty/VBoxContainer"]
margin_right = 280.0
margin_bottom = 14.0
text = "Select or create an element to start working"
[node name="TimelinePopupMenu" type="PopupMenu" parent="."]
margin_left = 151.0
margin_top = 276.0
margin_right = 325.0
margin_bottom = 332.0
items = [ "Show in File Manager", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Copy Timeline Name", ExtResource( 11 ), 0, false, false, 1, 0, null, "", false, "Remove", ExtResource( 22 ), 0, false, false, 2, 0, null, "", false ]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CharacterPopupMenu" type="PopupMenu" parent="."]
margin_left = 171.799
margin_top = 209.0
margin_right = 267.799
margin_bottom = 229.0
items = [ "Show in File Manager", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Remove Character", ExtResource( 22 ), 0, false, false, 1, 0, null, "", false ]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ThemePopupMenu" type="PopupMenu" parent="."]
margin_left = 171.799
margin_top = 209.0
margin_right = 267.799
margin_bottom = 229.0
items = [ "Show in File Manager", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Remove Theme", ExtResource( 22 ), 0, false, false, 1, 0, null, "", false ]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DefinitionPopupMenu" type="PopupMenu" parent="."]
margin_left = 171.799
margin_top = 209.0
margin_right = 267.799
margin_bottom = 229.0
items = [ "Edit definitions file", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Remove Definition", ExtResource( 22 ), 0, false, false, 1, 0, null, "", false ]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RemoveCharacterConfirmation" type="ConfirmationDialog" parent="."]
margin_right = 325.0
margin_bottom = 88.0
rect_min_size = Vector2( 250, 87.5 )
dialog_text = "Are you sure you want to remove this character?
(Can't be restored)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RemoveDefinitionConfirmation" type="ConfirmationDialog" parent="."]
margin_right = 325.0
margin_bottom = 88.0
rect_min_size = Vector2( 250, 87.5 )
dialog_text = "Are you sure you want to remove this definition?
(Can't be restored)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RemoveThemeConfirmation" type="ConfirmationDialog" parent="."]
margin_right = 325.0
margin_bottom = 88.0
rect_min_size = Vector2( 250, 87.5 )
dialog_text = "Are you sure you want to remove this theme?
(Can't be restored)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RemoveGlossaryConfirmation" type="ConfirmationDialog" parent="."]
margin_right = 325.0
margin_bottom = 88.0
rect_min_size = Vector2( 250, 87.5 )
dialog_text = "Are you sure you want to remove this entry?
(Can't be restored)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RemoveTimelineConfirmation" type="ConfirmationDialog" parent="."]
margin_right = 325.0
margin_bottom = 88.0
rect_min_size = Vector2( 250, 87.5 )
dialog_text = "Are you sure you want to remove this timeline?
(Can't be restored)"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="gui_input" from="ToolBar/Logo" to="." method="_on_Logo_gui_input"]