]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/TimelineEditor/timeline_editor.tscn
Squashed commit of the following:
[wolf-seeking-sheep.git] / addons / dialogic / Editor / TimelineEditor / timeline_editor.tscn
1 [gd_scene load_steps=10 format=3 uid="uid://crce0na84rhfd"]
2
3 [ext_resource type="Script" uid="uid://esb3e4mcf5w7" path="res://addons/dialogic/Editor/TimelineEditor/timeline_editor.gd" id="1_4aceh"]
4 [ext_resource type="PackedScene" uid="uid://ysqbusmy0qma" path="res://addons/dialogic/Editor/TimelineEditor/VisualEditor/timeline_editor_visual.tscn" id="2_qs7vc"]
5 [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_yqd26"]
6 [ext_resource type="PackedScene" uid="uid://defdeav8rli6o" path="res://addons/dialogic/Editor/TimelineEditor/TextEditor/timeline_editor_text.tscn" id="3_up2bn"]
7 [ext_resource type="Script" uid="uid://bw631x6oqrfdc" path="res://addons/dialogic/Editor/TimelineEditor/TextEditor/syntax_highlighter.gd" id="4_1t6bf"]
8
9 [sub_resource type="Image" id="Image_6bv6r"]
10 data = {
11 "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 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, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
12 "format": "RGBA8",
13 "height": 16,
14 "mipmaps": false,
15 "width": 16
16 }
17
18 [sub_resource type="ImageTexture" id="ImageTexture_lvr8x"]
19 image = SubResource("Image_6bv6r")
20
21 [sub_resource type="SyntaxHighlighter" id="SyntaxHighlighter_7lpql"]
22 script = ExtResource("4_1t6bf")
23
24 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lpeon"]
25 content_margin_left = 4.0
26 content_margin_top = 4.0
27 content_margin_right = 4.0
28 content_margin_bottom = 4.0
29 bg_color = Color(1, 0.365, 0.365, 1)
30 draw_center = false
31 border_width_left = 2
32 border_width_top = 2
33 border_width_right = 2
34 border_width_bottom = 2
35 corner_detail = 1
36
37 [node name="Timeline" type="Control"]
38 layout_mode = 3
39 anchors_preset = 15
40 anchor_right = 1.0
41 anchor_bottom = 1.0
42 grow_horizontal = 2
43 grow_vertical = 2
44 script = ExtResource("1_4aceh")
45
46 [node name="VBox" type="VBoxContainer" parent="."]
47 layout_mode = 1
48 anchors_preset = 15
49 anchor_right = 1.0
50 anchor_bottom = 1.0
51 grow_horizontal = 2
52 grow_vertical = 2
53
54 [node name="HBox" type="HBoxContainer" parent="VBox"]
55 layout_mode = 2
56
57 [node name="TimelineName" type="Label" parent="VBox/HBox"]
58 unique_name_in_owner = true
59 layout_mode = 2
60 theme_type_variation = &"DialogicTitle"
61 text = "Cool Name"
62
63 [node name="NameTooltip" parent="VBox/HBox" instance=ExtResource("2_yqd26")]
64 layout_mode = 2
65 tooltip_text = "This unique identifier is based on the file name. You can change it in the Reference Manager.
66 This is what you should use in a jump event to reference this timeline.
67
68 You can also use this name in Dialogic.start()."
69 texture = SubResource("ImageTexture_lvr8x")
70 hint_text = "This unique identifier is based on the file name. You can change it in the Reference Manager.
71 This is what you should use in a jump event to reference this timeline.
72
73 You can also use this name in Dialogic.start()."
74
75 [node name="SwitchEditorMode" type="Button" parent="VBox/HBox"]
76 unique_name_in_owner = true
77 custom_minimum_size = Vector2(200, 0)
78 layout_mode = 2
79 size_flags_horizontal = 10
80 size_flags_vertical = 4
81 tooltip_text = "Switch between Text Editor and Visual Editor"
82 text = "Text editor"
83 icon = SubResource("ImageTexture_lvr8x")
84
85 [node name="VisualEditor" parent="VBox" instance=ExtResource("2_qs7vc")]
86 unique_name_in_owner = true
87 layout_mode = 2
88 size_flags_vertical = 3
89 theme_override_constants/margin_left = 0
90 theme_override_constants/margin_top = 0
91 theme_override_constants/margin_right = 0
92 theme_override_constants/margin_bottom = 0
93
94 [node name="TextEditor" parent="VBox" instance=ExtResource("3_up2bn")]
95 unique_name_in_owner = true
96 layout_mode = 2
97 size_flags_vertical = 3
98 syntax_highlighter = SubResource("SyntaxHighlighter_7lpql")
99 symbol_lookup_on_click = true
100 line_folding = false
101 gutters_draw_fold_gutter = false
102
103 [node name="SearchSection" type="HBoxContainer" parent="VBox"]
104 unique_name_in_owner = true
105 visible = false
106 layout_mode = 2
107
108 [node name="Search" type="LineEdit" parent="VBox/SearchSection"]
109 unique_name_in_owner = true
110 layout_mode = 2
111 size_flags_horizontal = 3
112 placeholder_text = "Search"
113
114 [node name="SearchLabel" type="Label" parent="VBox/SearchSection"]
115 unique_name_in_owner = true
116 visible = false
117 layout_mode = 2
118
119 [node name="SearchUp" type="Button" parent="VBox/SearchSection"]
120 unique_name_in_owner = true
121 layout_mode = 2
122
123 [node name="SearchDown" type="Button" parent="VBox/SearchSection"]
124 unique_name_in_owner = true
125 layout_mode = 2
126
127 [node name="SearchClose" type="Button" parent="VBox/SearchSection"]
128 unique_name_in_owner = true
129 layout_mode = 2
130
131 [node name="NoTimelineScreen" type="PanelContainer" parent="."]
132 visible = false
133 layout_mode = 1
134 anchors_preset = 15
135 anchor_right = 1.0
136 anchor_bottom = 1.0
137 grow_horizontal = 2
138 grow_vertical = 2
139 theme_override_styles/panel = SubResource("StyleBoxFlat_lpeon")
140
141 [node name="CenterContainer" type="CenterContainer" parent="NoTimelineScreen"]
142 layout_mode = 2
143
144 [node name="VBoxContainer" type="VBoxContainer" parent="NoTimelineScreen/CenterContainer"]
145 custom_minimum_size = Vector2(250, 0)
146 layout_mode = 2
147
148 [node name="Label" type="Label" parent="NoTimelineScreen/CenterContainer/VBoxContainer"]
149 layout_mode = 2
150 text = "No timeline opened. 
151 Create a timeline or double-click one in the file system dock."
152 horizontal_alignment = 1
153 autowrap_mode = 3
154
155 [node name="CreateTimelineButton" type="Button" parent="NoTimelineScreen/CenterContainer/VBoxContainer"]
156 layout_mode = 2
157 text = "Create New Timeline"
158
159 [connection signal="text_changed" from="VBox/SearchSection/Search" to="." method="_on_search_text_changed"]
160 [connection signal="pressed" from="VBox/SearchSection/SearchUp" to="." method="_on_search_up_pressed"]
161 [connection signal="pressed" from="VBox/SearchSection/SearchDown" to="." method="_on_search_down_pressed"]
162 [connection signal="pressed" from="VBox/SearchSection/SearchClose" to="." method="_on_close_search_pressed"]
163 [connection signal="pressed" from="NoTimelineScreen/CenterContainer/VBoxContainer/CreateTimelineButton" to="." method="_on_create_timeline_button_pressed"]