[gd_scene load_steps=12 format=3 uid="uid://crce0na84rhfd"] [ext_resource type="Script" uid="uid://x21vral0xsxy" path="res://addons/dialogic/Editor/TimelineEditor/timeline_editor.gd" id="1_4aceh"] [ext_resource type="PackedScene" uid="uid://ysqbusmy0qma" path="res://addons/dialogic/Editor/TimelineEditor/VisualEditor/timeline_editor_visual.tscn" id="2_qs7vc"] [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_yqd26"] [ext_resource type="PackedScene" uid="uid://defdeav8rli6o" path="res://addons/dialogic/Editor/TimelineEditor/TextEditor/timeline_editor_text.tscn" id="3_up2bn"] [ext_resource type="Script" uid="uid://b35hvsvrvjjl4" path="res://addons/dialogic/Editor/TimelineEditor/shortcut_popup.gd" id="6_rfuk0"] [sub_resource type="Image" id="Image_6bv6r"] data = { "data": PackedByteArray(255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 255, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 231, 255, 90, 90, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 90, 90, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 42, 255, 90, 90, 0, 255, 94, 94, 0, 255, 91, 91, 42, 255, 93, 93, 233, 255, 92, 92, 232, 255, 93, 93, 41, 255, 90, 90, 0, 255, 94, 94, 0, 255, 91, 91, 42, 255, 93, 93, 233, 255, 92, 92, 232, 255, 92, 92, 0, 255, 92, 92, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 45, 255, 93, 93, 44, 255, 91, 91, 0, 255, 91, 91, 42, 255, 91, 91, 42, 255, 93, 93, 0, 255, 91, 91, 45, 255, 93, 93, 44, 255, 91, 91, 0, 255, 91, 91, 42, 255, 91, 91, 42, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 45, 255, 92, 92, 235, 255, 92, 92, 234, 255, 89, 89, 43, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 45, 255, 92, 92, 235, 255, 92, 92, 234, 255, 89, 89, 43, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 91, 91, 59, 255, 92, 92, 61, 255, 92, 92, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 91, 91, 59, 255, 92, 92, 61, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0), "format": "RGBA8", "height": 16, "mipmaps": false, "width": 16 } [sub_resource type="ImageTexture" id="ImageTexture_u2118"] image = SubResource("Image_6bv6r") [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_boacm"] content_margin_left = 4.0 content_margin_top = 4.0 content_margin_right = 4.0 content_margin_bottom = 4.0 bg_color = Color(1, 0.365, 0.365, 1) draw_center = false border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 corner_detail = 1 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4bvbc"] content_margin_left = 0.0 content_margin_top = 0.0 content_margin_right = 0.0 content_margin_bottom = 0.0 bg_color = Color(0.458405, 0.458405, 0.458405, 1) draw_center = false border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.370364, 0.370365, 0.370364, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 [sub_resource type="Theme" id="Theme_feml8"] HSeparator/constants/separation = 10 ShortcutKeyLabel/base_type = &"Button" ShortcutKeyLabel/colors/font_disabled_color = Color(1, 1, 1, 1) ShortcutKeyLabel/colors/icon_disabled_color = Color(1, 1, 1, 1) ShortcutKeyLabel/font_sizes/font_size = 14 ShortcutKeyLabel/styles/disabled = SubResource("StyleBoxFlat_4bvbc") ShortcutKeyLabel/styles/normal = SubResource("StyleBoxFlat_4bvbc") [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j85ew"] content_margin_left = 20.0 content_margin_top = 20.0 content_margin_right = 20.0 content_margin_bottom = 20.0 bg_color = Color(0, 0, 0, 1) corner_radius_top_left = 20 corner_radius_top_right = 20 corner_radius_bottom_right = 20 corner_radius_bottom_left = 20 shadow_color = Color(0, 0, 0, 0.407843) shadow_size = 15 [node name="Timeline" 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_4aceh") [node name="VBox" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="HBox" type="HBoxContainer" parent="VBox"] layout_mode = 2 [node name="TimelineName" type="Label" parent="VBox/HBox"] unique_name_in_owner = true layout_mode = 2 theme_type_variation = &"DialogicTitle" text = "Cool Name" [node name="NameTooltip" parent="VBox/HBox" instance=ExtResource("2_yqd26")] layout_mode = 2 tooltip_text = "This unique identifier is based on the file name. You can change it in the Reference Manager. This is what you should use in a jump event to reference this timeline. You can also use this name in Dialogic.start()." texture = null hint_text = "This unique identifier is based on the file name. You can change it in the Reference Manager. This is what you should use in a jump event to reference this timeline. You can also use this name in Dialogic.start()." [node name="SwitchEditorMode" type="Button" parent="VBox/HBox"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 0) layout_mode = 2 size_flags_horizontal = 10 size_flags_vertical = 4 tooltip_text = "Switch between Text Editor and Visual Editor" text = "Text editor" icon = SubResource("ImageTexture_u2118") [node name="Shortcuts" type="Button" parent="VBox/HBox"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 4 tooltip_text = "Shortcuts" icon = SubResource("ImageTexture_u2118") [node name="VisualEditor" parent="VBox" instance=ExtResource("2_qs7vc")] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 theme_override_constants/margin_left = 0 theme_override_constants/margin_top = 0 theme_override_constants/margin_right = 0 theme_override_constants/margin_bottom = 0 [node name="TextEditor" parent="VBox" instance=ExtResource("3_up2bn")] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 [node name="SearchReplaceSection" type="PanelContainer" parent="VBox"] unique_name_in_owner = true visible = false layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_boacm") [node name="VBox" type="VBoxContainer" parent="VBox/SearchReplaceSection"] layout_mode = 2 [node name="SearchSection" type="HBoxContainer" parent="VBox/SearchReplaceSection/VBox"] unique_name_in_owner = true layout_mode = 2 [node name="Search" type="LineEdit" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "Search" [node name="SearchLabel" type="Label" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true visible = false layout_mode = 2 [node name="SearchUp" type="Button" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true layout_mode = 2 icon = SubResource("ImageTexture_u2118") flat = true [node name="SearchDown" type="Button" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true layout_mode = 2 icon = SubResource("ImageTexture_u2118") flat = true [node name="MatchCase" type="CheckBox" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true layout_mode = 2 text = "Match Case" [node name="WholeWords" type="CheckBox" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true layout_mode = 2 text = "Whole Words" [node name="SearchClose" type="Button" parent="VBox/SearchReplaceSection/VBox/SearchSection"] unique_name_in_owner = true layout_mode = 2 icon = SubResource("ImageTexture_u2118") flat = true [node name="ReplaceSection" type="HBoxContainer" parent="VBox/SearchReplaceSection/VBox"] unique_name_in_owner = true layout_mode = 2 [node name="ReplaceText" type="LineEdit" parent="VBox/SearchReplaceSection/VBox/ReplaceSection"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 placeholder_text = "Replace" [node name="ReplaceButton" type="Button" parent="VBox/SearchReplaceSection/VBox/ReplaceSection"] unique_name_in_owner = true layout_mode = 2 text = "Replace" [node name="ReplaceAllButton" type="Button" parent="VBox/SearchReplaceSection/VBox/ReplaceSection"] unique_name_in_owner = true layout_mode = 2 text = "Replace All" [node name="ReplaceGlobal" type="Button" parent="VBox/SearchReplaceSection/VBox/ReplaceSection"] unique_name_in_owner = true layout_mode = 2 tooltip_text = "Replace in all timelines" icon = SubResource("ImageTexture_u2118") [node name="ProgressSection" type="HBoxContainer" parent="VBox"] unique_name_in_owner = true visible = false layout_mode = 2 [node name="ProgressBar" type="ProgressBar" parent="VBox/ProgressSection"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 max_value = 1.0 step = 0.001 [node name="ProgressLabel" type="Label" parent="VBox/ProgressSection"] unique_name_in_owner = true layout_mode = 2 [node name="NoTimelineScreen" type="PanelContainer" parent="."] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_boacm") [node name="CenterContainer" type="CenterContainer" parent="NoTimelineScreen"] layout_mode = 2 [node name="VBoxContainer" type="VBoxContainer" parent="NoTimelineScreen/CenterContainer"] custom_minimum_size = Vector2(250, 0) layout_mode = 2 [node name="Label" type="Label" parent="NoTimelineScreen/CenterContainer/VBoxContainer"] layout_mode = 2 text = "No timeline opened. Create a timeline or double-click one in the file system dock." horizontal_alignment = 1 autowrap_mode = 3 [node name="CreateTimelineButton" type="Button" parent="NoTimelineScreen/CenterContainer/VBoxContainer"] layout_mode = 2 text = "Create New Timeline" [node name="ShortcutsPanel" type="PanelContainer" parent="."] unique_name_in_owner = true visible = false layout_mode = 0 offset_left = 51.0 offset_top = 57.0 offset_right = 571.0 offset_bottom = 416.0 theme = SubResource("Theme_feml8") theme_override_styles/panel = SubResource("StyleBoxFlat_j85ew") script = ExtResource("6_rfuk0") [node name="VBoxContainer" type="VBoxContainer" parent="ShortcutsPanel"] layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="ShortcutsPanel/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="ShortcutsPanel/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_type_variation = &"DialogicSectionBig" text = "Shortcuts " [node name="CloseShortcutPanel" type="Button" parent="ShortcutsPanel/VBoxContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 icon = SubResource("ImageTexture_u2118") flat = true [node name="ScrollContainer" type="ScrollContainer" parent="ShortcutsPanel/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 [node name="ShortcutList" type="GridContainer" parent="ShortcutsPanel/VBoxContainer/ScrollContainer"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/h_separation = 11 columns = 2 [connection signal="text_changed" from="VBox/SearchReplaceSection/VBox/SearchSection/Search" to="." method="_on_search_text_changed"] [connection signal="pressed" from="VBox/SearchReplaceSection/VBox/SearchSection/SearchUp" to="." method="_on_search_up_pressed"] [connection signal="pressed" from="VBox/SearchReplaceSection/VBox/SearchSection/SearchDown" to="." method="_on_search_down_pressed"] [connection signal="toggled" from="VBox/SearchReplaceSection/VBox/SearchSection/MatchCase" to="." method="_on_match_case_toggled"] [connection signal="toggled" from="VBox/SearchReplaceSection/VBox/SearchSection/WholeWords" to="." method="_on_whole_words_toggled"] [connection signal="pressed" from="VBox/SearchReplaceSection/VBox/SearchSection/SearchClose" to="." method="_on_close_search_pressed"] [connection signal="pressed" from="VBox/SearchReplaceSection/VBox/ReplaceSection/ReplaceButton" to="." method="_on_replace_button_pressed"] [connection signal="pressed" from="VBox/SearchReplaceSection/VBox/ReplaceSection/ReplaceAllButton" to="." method="_on_replace_all_button_pressed"] [connection signal="pressed" from="VBox/SearchReplaceSection/VBox/ReplaceSection/ReplaceGlobal" to="." method="_on_replace_global_pressed"] [connection signal="pressed" from="NoTimelineScreen/CenterContainer/VBoxContainer/CreateTimelineButton" to="." method="_on_create_timeline_button_pressed"] [connection signal="pressed" from="ShortcutsPanel/VBoxContainer/HBoxContainer/CloseShortcutPanel" to="ShortcutsPanel" method="_on_close_shortcut_panel_pressed"]