]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/TimelineEditor/VisualEditor/timeline_editor_visual.tscn
c3e4ffb5e0ab2746745f2d54406de215e9437494
[wolf-seeking-sheep.git] / addons / dialogic / Editor / TimelineEditor / VisualEditor / timeline_editor_visual.tscn
1 [gd_scene load_steps=10 format=3 uid="uid://ysqbusmy0qma"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Editor/TimelineEditor/VisualEditor/timeline_editor_visual.gd" id="1_8smxc"]
4 [ext_resource type="Theme" uid="uid://cqst728xxipcw" path="res://addons/dialogic/Editor/Theme/MainTheme.tres" id="2_x0fhp"]
5 [ext_resource type="Script" path="res://addons/dialogic/Editor/TimelineEditor/VisualEditor/TimelineArea.gd" id="3_sap1x"]
6 [ext_resource type="Script" path="res://addons/dialogic/Editor/Events/EventBlock/event_right_click_menu.gd" id="4_ugiq6"]
7
8 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_phyjj"]
9 content_margin_top = 10.0
10
11 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_plab4"]
12 bg_color = Color(0, 0, 0, 1)
13
14 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dov6v"]
15 content_margin_left = 4.0
16 content_margin_top = 4.0
17 content_margin_right = 4.0
18 content_margin_bottom = 4.0
19 bg_color = Color(1, 0.365, 0.365, 1)
20 draw_center = false
21 border_width_left = 2
22 border_width_top = 2
23 border_width_right = 2
24 border_width_bottom = 2
25 corner_detail = 1
26
27 [sub_resource type="Image" id="Image_y3447"]
28 data = {
29 "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),
30 "format": "RGBA8",
31 "height": 16,
32 "mipmaps": false,
33 "width": 16
34 }
35
36 [sub_resource type="ImageTexture" id="ImageTexture_vg181"]
37 image = SubResource("Image_y3447")
38
39 [node name="TimelineVisualEditor" type="MarginContainer"]
40 anchors_preset = 15
41 anchor_right = 1.0
42 anchor_bottom = 1.0
43 grow_horizontal = 2
44 grow_vertical = 2
45 theme_override_constants/margin_left = 5
46 theme_override_constants/margin_right = 5
47 theme_override_constants/margin_bottom = 5
48 script = ExtResource("1_8smxc")
49
50 [node name="View" type="HSplitContainer" parent="."]
51 layout_mode = 2
52 size_flags_horizontal = 3
53 size_flags_vertical = 3
54 theme = ExtResource("2_x0fhp")
55
56 [node name="TimelineArea" type="ScrollContainer" parent="View"]
57 unique_name_in_owner = true
58 layout_mode = 2
59 size_flags_horizontal = 3
60 size_flags_vertical = 3
61 theme_override_styles/panel = SubResource("StyleBoxEmpty_phyjj")
62 script = ExtResource("3_sap1x")
63
64 [node name="Timeline" type="VBoxContainer" parent="View/TimelineArea"]
65 unique_name_in_owner = true
66 layout_mode = 2
67 size_flags_horizontal = 3
68 size_flags_vertical = 3
69
70 [node name="EventPopupMenu" type="PopupMenu" parent="View/TimelineArea"]
71 unique_name_in_owner = true
72 size = Vector2i(165, 124)
73 theme_override_styles/panel = SubResource("StyleBoxFlat_plab4")
74 theme_override_styles/hover = SubResource("StyleBoxFlat_dov6v")
75 item_count = 6
76 item_0/text = "Documentation"
77 item_0/icon = SubResource("ImageTexture_vg181")
78 item_0/id = 0
79 item_1/text = ""
80 item_1/id = -1
81 item_1/separator = true
82 item_2/text = "Move up"
83 item_2/icon = SubResource("ImageTexture_vg181")
84 item_2/id = 2
85 item_3/text = "Move down"
86 item_3/icon = SubResource("ImageTexture_vg181")
87 item_3/id = 3
88 item_4/text = ""
89 item_4/id = -1
90 item_4/separator = true
91 item_5/text = "Delete"
92 item_5/icon = SubResource("ImageTexture_vg181")
93 item_5/id = 5
94 script = ExtResource("4_ugiq6")
95
96 [node name="RightSidebar" type="ScrollContainer" parent="View"]
97 unique_name_in_owner = true
98 custom_minimum_size = Vector2(50, 0)
99 layout_mode = 2
100 size_flags_stretch_ratio = 0.2
101 horizontal_scroll_mode = 0
102
103 [node name="EventContainer" type="VBoxContainer" parent="View/RightSidebar"]
104 layout_mode = 2
105 size_flags_horizontal = 3
106 size_flags_vertical = 3
107 size_flags_stretch_ratio = 0.2
108
109 [connection signal="drag_completed" from="View/TimelineArea" to="." method="_on_timeline_area_drag_completed"]
110 [connection signal="index_pressed" from="View/TimelineArea/EventPopupMenu" to="." method="_on_event_popup_menu_index_pressed"]
111 [connection signal="resized" from="View/RightSidebar" to="." method="_on_right_sidebar_resized"]