]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Modules/StyleEditor/style_editor.tscn
7ec5c837e2a7261726b1d9aeabcdf2ceb75c045d
[wolf-seeking-sheep.git] / addons / dialogic / Modules / StyleEditor / style_editor.tscn
1 [gd_scene load_steps=16 format=3 uid="uid://cx6h3tck10s1g"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Modules/StyleEditor/style_editor.gd" id="1_gy14f"]
4 [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_g4mnt"]
5 [ext_resource type="Script" path="res://addons/dialogic/Modules/StyleEditor/style_layer_editor.gd" id="3_iih7c"]
6 [ext_resource type="Script" path="res://addons/dialogic/Modules/StyleEditor/Components/style_layer_tree.gd" id="4_kpoqn"]
7 [ext_resource type="Script" path="res://addons/dialogic/Modules/StyleEditor/Components/style_browser_window.gd" id="5_qbwx0"]
8 [ext_resource type="PackedScene" uid="uid://cs381i3h7sveq" path="res://addons/dialogic/Modules/StyleEditor/Components/style_browser.tscn" id="6_p6lia"]
9
10 [sub_resource type="Image" id="Image_tg5pd"]
11 data = {
12 "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),
13 "format": "RGBA8",
14 "height": 16,
15 "mipmaps": false,
16 "width": 16
17 }
18
19 [sub_resource type="ImageTexture" id="ImageTexture_f5xt2"]
20 image = SubResource("Image_tg5pd")
21
22 [sub_resource type="Image" id="Image_ns66m"]
23 data = {
24 "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),
25 "format": "RGBA8",
26 "height": 16,
27 "mipmaps": false,
28 "width": 16
29 }
30
31 [sub_resource type="ImageTexture" id="ImageTexture_xtj53"]
32 image = SubResource("Image_ns66m")
33
34 [sub_resource type="Theme" id="Theme_l6tyr"]
35
36 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tixgs"]
37
38 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0nh8y"]
39 bg_color = Color(1, 1, 1, 1)
40 corner_radius_top_left = 10
41 corner_radius_top_right = 10
42 corner_radius_bottom_right = 10
43 corner_radius_bottom_left = 10
44
45 [sub_resource type="Image" id="Image_op8ly"]
46 data = {
47 "data": PackedByteArray(0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255),
48 "format": "RGBA8",
49 "height": 2,
50 "mipmaps": false,
51 "width": 2
52 }
53
54 [sub_resource type="ImageTexture" id="ImageTexture_yr3tj"]
55 image = SubResource("Image_op8ly")
56
57 [node name="StyleEditor" type="HSplitContainer"]
58 anchors_preset = 15
59 anchor_right = 1.0
60 anchor_bottom = 1.0
61 offset_right = -3.0
62 offset_bottom = 3.0
63 grow_horizontal = 2
64 grow_vertical = 2
65 script = ExtResource("1_gy14f")
66
67 [node name="Panel" type="PanelContainer" parent="."]
68 custom_minimum_size = Vector2(150, 0)
69 layout_mode = 2
70 size_flags_stretch_ratio = 0.2
71 theme_type_variation = &"DialogicPanelA"
72
73 [node name="VBox" type="VBoxContainer" parent="Panel"]
74 layout_mode = 2
75
76 [node name="Title" type="HBoxContainer" parent="Panel/VBox"]
77 layout_mode = 2
78
79 [node name="StyleListTitle" type="Label" parent="Panel/VBox/Title"]
80 layout_mode = 2
81 theme_type_variation = &"DialogicSubTitle"
82 text = "Styles"
83
84 [node name="HintTooltip" parent="Panel/VBox/Title" instance=ExtResource("2_g4mnt")]
85 layout_mode = 2
86 tooltip_text = "Each style consist of a list of layers and settings for each layer.
87 A style can inherit from another style (inherited styles can only overwrite settings of their layers).
88 When one style is selected as default dialogic will use that style when calling Dialogic.start() otherwise a fallback is used.
89 You can change the style with the Change Style event, by setting a style on a character or by calling
90 Dialogic.Styles.load_style(\"Style Name\") before calling Dialogic.start()."
91 texture = null
92 hint_text = "Each style consist of a list of layers and settings for each layer.
93 A style can inherit from another style (inherited styles can only overwrite settings of their layers).
94 When one style is selected as default dialogic will use that style when calling Dialogic.start() otherwise a fallback is used.
95 You can change the style with the Change Style event, by setting a style on a character or by calling
96 Dialogic.Styles.load_style(\"Style Name\") before calling Dialogic.start()."
97
98 [node name="StyleButtons" type="HBoxContainer" parent="Panel/VBox"]
99 layout_mode = 2
100 alignment = 2
101
102 [node name="AddButton" type="MenuButton" parent="Panel/VBox/StyleButtons"]
103 unique_name_in_owner = true
104 layout_mode = 2
105 tooltip_text = "Add layout-style"
106 icon = SubResource("ImageTexture_f5xt2")
107 switch_on_hover = true
108 item_count = 5
109 popup/item_0/text = "ADD STYLE"
110 popup/item_0/id = 0
111 popup/item_0/disabled = true
112 popup/item_1/text = ""
113 popup/item_1/id = 0
114 popup/item_1/separator = true
115 popup/item_2/text = "Premade Style"
116 popup/item_2/id = 0
117 popup/item_3/text = "Inherited Style"
118 popup/item_3/id = 1
119 popup/item_4/text = "Custom Style"
120 popup/item_4/id = 2
121
122 [node name="DuplicateButton" type="Button" parent="Panel/VBox/StyleButtons"]
123 unique_name_in_owner = true
124 layout_mode = 2
125 tooltip_text = "Duplicate style"
126 icon = SubResource("ImageTexture_f5xt2")
127 flat = true
128
129 [node name="RemoveButton" type="Button" parent="Panel/VBox/StyleButtons"]
130 unique_name_in_owner = true
131 layout_mode = 2
132 tooltip_text = "Remove style from list"
133 icon = SubResource("ImageTexture_f5xt2")
134 flat = true
135
136 [node name="MakeDefaultButton" type="Button" parent="Panel/VBox/StyleButtons"]
137 unique_name_in_owner = true
138 layout_mode = 2
139 size_flags_horizontal = 4
140 tooltip_text = "Make Default"
141 toggle_mode = true
142 icon = SubResource("ImageTexture_f5xt2")
143 flat = true
144
145 [node name="StyleList" type="ItemList" parent="Panel/VBox"]
146 unique_name_in_owner = true
147 layout_mode = 2
148 size_flags_vertical = 3
149 item_count = 1
150 item_0/text = "Style"
151 item_0/icon = SubResource("ImageTexture_xtj53")
152
153 [node name="StyleView" type="VBoxContainer" parent="."]
154 unique_name_in_owner = true
155 visible = false
156 layout_mode = 2
157 size_flags_horizontal = 3
158
159 [node name="HBox" type="HBoxContainer" parent="StyleView"]
160 layout_mode = 2
161 theme = SubResource("Theme_l6tyr")
162 theme_override_constants/separation = 0
163
164 [node name="LayoutStyleName" type="LineEdit" parent="StyleView/HBox"]
165 unique_name_in_owner = true
166 layout_mode = 2
167 theme_type_variation = &"DialogicTitle"
168 theme_override_styles/normal = SubResource("StyleBoxEmpty_tixgs")
169 theme_override_styles/focus = SubResource("StyleBoxEmpty_tixgs")
170 theme_override_styles/read_only = SubResource("StyleBoxEmpty_tixgs")
171 text = "Style"
172 expand_to_text_length = true
173
174 [node name="EditNameButton" type="Button" parent="StyleView/HBox"]
175 unique_name_in_owner = true
176 layout_mode = 2
177 tooltip_text = "Edit Name"
178 icon = SubResource("ImageTexture_f5xt2")
179 flat = true
180
181 [node name="InheritanceButton" type="MenuButton" parent="StyleView/HBox"]
182 unique_name_in_owner = true
183 visible = false
184 layout_mode = 2
185 text = "Inherits VN Style"
186 icon = SubResource("ImageTexture_f5xt2")
187 icon_alignment = 2
188 item_count = 1
189 popup/item_0/text = "Clear Inheritance"
190 popup/item_0/id = 0
191
192 [node name="TestStyleButton" type="Button" parent="StyleView/HBox"]
193 unique_name_in_owner = true
194 layout_mode = 2
195 size_flags_horizontal = 10
196 tooltip_text = "Play current timeline with this style"
197 text = "Test Style"
198 icon = SubResource("ImageTexture_f5xt2")
199
200 [node name="PanelContainer" type="PanelContainer" parent="StyleView"]
201 layout_mode = 2
202 size_flags_vertical = 3
203 theme_type_variation = &"DialogicPanelB"
204
205 [node name="StyleEditor" type="HSplitContainer" parent="StyleView/PanelContainer"]
206 unique_name_in_owner = true
207 layout_mode = 2
208 script = ExtResource("3_iih7c")
209
210 [node name="LayerPanel" type="PanelContainer" parent="StyleView/PanelContainer/StyleEditor"]
211 layout_mode = 2
212 theme_type_variation = &"DialogicPanelA"
213
214 [node name="VBox" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerPanel"]
215 layout_mode = 2
216
217 [node name="Title" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox"]
218 layout_mode = 2
219
220 [node name="LayerListTitle" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/Title"]
221 layout_mode = 2
222 theme_type_variation = &"DialogicSubTitle"
223 text = "Layers"
224
225 [node name="HintTooltip" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/Title" instance=ExtResource("2_g4mnt")]
226 layout_mode = 2
227 tooltip_text = "Each layer is a scene and settings that will be applied to that scene.
228 A layer can either be a premade scene or a scene you've made yourself."
229 texture = null
230 hint_text = "Each layer is a scene and settings that will be applied to that scene.
231 A layer can either be a premade scene or a scene you've made yourself."
232
233 [node name="LayerButtons" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox"]
234 layout_mode = 2
235 alignment = 2
236
237 [node name="AddLayerButton" type="MenuButton" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
238 unique_name_in_owner = true
239 layout_mode = 2
240 tooltip_text = "Add Layer"
241 icon = SubResource("ImageTexture_f5xt2")
242 switch_on_hover = true
243 item_count = 4
244 popup/item_0/text = "ADD LAYER"
245 popup/item_0/id = 1
246 popup/item_0/disabled = true
247 popup/item_1/text = ""
248 popup/item_1/id = 1
249 popup/item_1/separator = true
250 popup/item_2/text = "Premade Layer"
251 popup/item_2/id = 1
252 popup/item_3/text = "Custom Layer"
253 popup/item_3/id = 0
254
255 [node name="ReplaceLayerButton" type="MenuButton" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
256 unique_name_in_owner = true
257 layout_mode = 2
258 tooltip_text = "Replace Layer"
259 icon = SubResource("ImageTexture_f5xt2")
260 switch_on_hover = true
261 item_count = 4
262 popup/item_0/text = "REPLACE LAYER"
263 popup/item_0/id = 0
264 popup/item_0/disabled = true
265 popup/item_1/text = ""
266 popup/item_1/id = 0
267 popup/item_1/separator = true
268 popup/item_2/text = "Premade Layer"
269 popup/item_2/id = 0
270 popup/item_3/text = "Custom Layer"
271 popup/item_3/id = 1
272
273 [node name="MakeCustomButton" type="MenuButton" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
274 unique_name_in_owner = true
275 layout_mode = 2
276 tooltip_text = "Make Custom"
277 icon = SubResource("ImageTexture_f5xt2")
278 switch_on_hover = true
279 item_count = 4
280 popup/item_0/text = "MAKE CUSTOM"
281 popup/item_0/id = 3
282 popup/item_0/disabled = true
283 popup/item_1/text = ""
284 popup/item_1/id = 0
285 popup/item_1/separator = true
286 popup/item_2/text = "Current Layer"
287 popup/item_2/id = 0
288 popup/item_3/text = "Full Layout"
289 popup/item_3/id = 2
290
291 [node name="DeleteLayerButton" type="Button" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
292 unique_name_in_owner = true
293 layout_mode = 2
294 tooltip_text = "Delete Layer (no undo!)"
295 disabled = true
296 icon = SubResource("ImageTexture_f5xt2")
297 flat = true
298
299 [node name="LayerTree" type="Tree" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox"]
300 unique_name_in_owner = true
301 layout_mode = 2
302 size_flags_horizontal = 3
303 size_flags_vertical = 3
304 theme_override_constants/icon_max_width = 32
305 allow_rmb_select = true
306 hide_folding = true
307 enable_recursive_folding = false
308 drop_mode_flags = 2
309 script = ExtResource("4_kpoqn")
310
311 [node name="LayerSettings" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor"]
312 layout_mode = 2
313 size_flags_horizontal = 3
314
315 [node name="LayerInfoHeader" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings"]
316 layout_mode = 2
317
318 [node name="LayerName" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoHeader"]
319 unique_name_in_owner = true
320 layout_mode = 2
321 theme_type_variation = &"DialogicTitle"
322 text = "Default Layout Base"
323
324 [node name="ExpandLayerInfo" type="Button" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoHeader"]
325 unique_name_in_owner = true
326 layout_mode = 2
327 icon = SubResource("ImageTexture_f5xt2")
328 flat = true
329
330 [node name="LayerInfoBody" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings"]
331 unique_name_in_owner = true
332 layout_mode = 2
333
334 [node name="HBox" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody"]
335 layout_mode = 2
336
337 [node name="Panel" type="PanelContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox"]
338 show_behind_parent = true
339 clip_children = 2
340 layout_mode = 2
341 theme_override_styles/panel = SubResource("StyleBoxFlat_0nh8y")
342
343 [node name="SmallLayerPreview" type="TextureRect" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Panel"]
344 unique_name_in_owner = true
345 layout_mode = 2
346 texture = SubResource("ImageTexture_yr3tj")
347 expand_mode = 3
348 stretch_mode = 6
349
350 [node name="Info" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox"]
351 layout_mode = 2
352 size_flags_horizontal = 3
353 theme_override_constants/separation = 0
354
355 [node name="HBoxContainer" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info"]
356 layout_mode = 2
357 theme_override_constants/separation = 0
358
359 [node name="SmallLayerScene" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/HBoxContainer"]
360 unique_name_in_owner = true
361 visible = false
362 layout_mode = 2
363 tooltip_text = "res://addons/dialogic/Modules/LayoutStuff/Base_Default/default_layout_base.tscn"
364 text = "default_layout_base.tscn"
365
366 [node name="SmallLayerAuthor" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/HBoxContainer"]
367 unique_name_in_owner = true
368 self_modulate = Color(1, 1, 1, 0.603922)
369 layout_mode = 2
370 theme_type_variation = &"DialogicHintText"
371 text = "Dialogic"
372
373 [node name="Description" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info"]
374 layout_mode = 2
375 theme_override_constants/separation = 0
376
377 [node name="Label" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/Description"]
378 layout_mode = 2
379 theme_type_variation = &"DialogicHintText2"
380 text = "Info:"
381
382 [node name="SmallLayerDescription" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/Description"]
383 unique_name_in_owner = true
384 layout_mode = 2
385 size_flags_horizontal = 3
386 size_flags_vertical = 1
387 theme_type_variation = &"DialogicHintText2"
388 text = "A very simple base for layouts."
389 autowrap_mode = 3
390 text_overrun_behavior = 4
391
392 [node name="LayerSettingsTabs" type="TabContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings"]
393 unique_name_in_owner = true
394 layout_mode = 2
395 size_flags_vertical = 3
396
397 [node name="Margin" type="Control" parent="StyleView"]
398 custom_minimum_size = Vector2(0, 10)
399 layout_mode = 2
400
401 [node name="NoStyleView" type="VBoxContainer" parent="."]
402 unique_name_in_owner = true
403 layout_mode = 2
404 alignment = 1
405
406 [node name="Label" type="Label" parent="NoStyleView"]
407 layout_mode = 2
408 text = "You have not set up any styles yet. Dialogic will use a fallback style."
409 horizontal_alignment = 1
410 autowrap_mode = 3
411
412 [node name="StartStylingButton" type="Button" parent="NoStyleView"]
413 layout_mode = 2
414 size_flags_horizontal = 4
415 tooltip_text = "Make a custom style from a variation of the fallback."
416 text = "Make my own!"
417
418 [node name="StyleBrowserWindow" type="Window" parent="."]
419 unique_name_in_owner = true
420 title = "Style Browser"
421 position = Vector2i(0, 36)
422 size = Vector2i(500, 400)
423 visible = false
424 wrap_controls = true
425 transient = true
426 popup_window = true
427 script = ExtResource("5_qbwx0")
428
429 [node name="StyleBrowser" parent="StyleBrowserWindow" instance=ExtResource("6_p6lia")]
430 unique_name_in_owner = true
431
432 [connection signal="pressed" from="Panel/VBox/StyleButtons/DuplicateButton" to="." method="_on_duplicate_button_pressed"]
433 [connection signal="pressed" from="Panel/VBox/StyleButtons/RemoveButton" to="." method="_on_remove_button_pressed"]
434 [connection signal="pressed" from="Panel/VBox/StyleButtons/MakeDefaultButton" to="." method="_on_make_default_button_pressed"]
435 [connection signal="focus_exited" from="StyleView/HBox/LayoutStyleName" to="." method="_on_layout_style_name_focus_exited"]
436 [connection signal="text_submitted" from="StyleView/HBox/LayoutStyleName" to="." method="_on_layout_style_name_text_submitted"]
437 [connection signal="pressed" from="StyleView/HBox/EditNameButton" to="." method="_on_edit_name_button_pressed"]
438 [connection signal="pressed" from="StyleView/HBox/TestStyleButton" to="." method="_on_test_style_button_pressed"]
439 [connection signal="about_to_popup" from="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons/MakeCustomButton" to="StyleView/PanelContainer/StyleEditor" method="_on_make_custom_button_about_to_popup"]
440 [connection signal="pressed" from="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons/DeleteLayerButton" to="StyleView/PanelContainer/StyleEditor" method="_on_delete_layer_button_pressed"]
441 [connection signal="button_clicked" from="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerTree" to="StyleView/PanelContainer/StyleEditor" method="_on_layer_tree_button_clicked"]
442 [connection signal="layer_moved" from="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerTree" to="StyleView/PanelContainer/StyleEditor" method="_on_layer_tree_layer_moved"]
443 [connection signal="pressed" from="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoHeader/ExpandLayerInfo" to="StyleView/PanelContainer/StyleEditor" method="_on_expand_layer_info_pressed"]
444 [connection signal="pressed" from="NoStyleView/StartStylingButton" to="." method="_on_start_styling_button_pressed"]
445 [connection signal="close_requested" from="StyleBrowserWindow" to="StyleBrowserWindow" method="_on_close_requested"]
446 [connection signal="activate_part" from="StyleBrowserWindow/StyleBrowser" to="StyleBrowserWindow" method="_on_style_browser_activate_part"]