1 [gd_scene load_steps=16 format=3 uid="uid://cx6h3tck10s1g"]
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"]
10 [sub_resource type="Image" id="Image_tg5pd"]
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),
19 [sub_resource type="ImageTexture" id="ImageTexture_f5xt2"]
20 image = SubResource("Image_tg5pd")
22 [sub_resource type="Image" id="Image_ns66m"]
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),
31 [sub_resource type="ImageTexture" id="ImageTexture_xtj53"]
32 image = SubResource("Image_ns66m")
34 [sub_resource type="Theme" id="Theme_l6tyr"]
36 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tixgs"]
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
45 [sub_resource type="Image" id="Image_op8ly"]
47 "data": PackedByteArray(0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255),
54 [sub_resource type="ImageTexture" id="ImageTexture_yr3tj"]
55 image = SubResource("Image_op8ly")
57 [node name="StyleEditor" type="HSplitContainer"]
65 script = ExtResource("1_gy14f")
67 [node name="Panel" type="PanelContainer" parent="."]
68 custom_minimum_size = Vector2(150, 0)
70 size_flags_stretch_ratio = 0.2
71 theme_type_variation = &"DialogicPanelA"
73 [node name="VBox" type="VBoxContainer" parent="Panel"]
76 [node name="Title" type="HBoxContainer" parent="Panel/VBox"]
79 [node name="StyleListTitle" type="Label" parent="Panel/VBox/Title"]
81 theme_type_variation = &"DialogicSubTitle"
84 [node name="HintTooltip" parent="Panel/VBox/Title" instance=ExtResource("2_g4mnt")]
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()."
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()."
98 [node name="StyleButtons" type="HBoxContainer" parent="Panel/VBox"]
102 [node name="AddButton" type="MenuButton" parent="Panel/VBox/StyleButtons"]
103 unique_name_in_owner = true
105 tooltip_text = "Add layout-style"
106 icon = SubResource("ImageTexture_f5xt2")
107 switch_on_hover = true
109 popup/item_0/text = "ADD STYLE"
111 popup/item_0/disabled = true
112 popup/item_1/text = ""
114 popup/item_1/separator = true
115 popup/item_2/text = "Premade Style"
117 popup/item_3/text = "Inherited Style"
119 popup/item_4/text = "Custom Style"
122 [node name="DuplicateButton" type="Button" parent="Panel/VBox/StyleButtons"]
123 unique_name_in_owner = true
125 tooltip_text = "Duplicate style"
126 icon = SubResource("ImageTexture_f5xt2")
129 [node name="RemoveButton" type="Button" parent="Panel/VBox/StyleButtons"]
130 unique_name_in_owner = true
132 tooltip_text = "Remove style from list"
133 icon = SubResource("ImageTexture_f5xt2")
136 [node name="MakeDefaultButton" type="Button" parent="Panel/VBox/StyleButtons"]
137 unique_name_in_owner = true
139 size_flags_horizontal = 4
140 tooltip_text = "Make Default"
142 icon = SubResource("ImageTexture_f5xt2")
145 [node name="StyleList" type="ItemList" parent="Panel/VBox"]
146 unique_name_in_owner = true
148 size_flags_vertical = 3
150 item_0/text = "Style"
151 item_0/icon = SubResource("ImageTexture_xtj53")
153 [node name="StyleView" type="VBoxContainer" parent="."]
154 unique_name_in_owner = true
157 size_flags_horizontal = 3
159 [node name="HBox" type="HBoxContainer" parent="StyleView"]
161 theme = SubResource("Theme_l6tyr")
162 theme_override_constants/separation = 0
164 [node name="LayoutStyleName" type="LineEdit" parent="StyleView/HBox"]
165 unique_name_in_owner = true
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")
172 expand_to_text_length = true
174 [node name="EditNameButton" type="Button" parent="StyleView/HBox"]
175 unique_name_in_owner = true
177 tooltip_text = "Edit Name"
178 icon = SubResource("ImageTexture_f5xt2")
181 [node name="InheritanceButton" type="MenuButton" parent="StyleView/HBox"]
182 unique_name_in_owner = true
185 text = "Inherits VN Style"
186 icon = SubResource("ImageTexture_f5xt2")
189 popup/item_0/text = "Clear Inheritance"
192 [node name="TestStyleButton" type="Button" parent="StyleView/HBox"]
193 unique_name_in_owner = true
195 size_flags_horizontal = 10
196 tooltip_text = "Play current timeline with this style"
198 icon = SubResource("ImageTexture_f5xt2")
200 [node name="PanelContainer" type="PanelContainer" parent="StyleView"]
202 size_flags_vertical = 3
203 theme_type_variation = &"DialogicPanelB"
205 [node name="StyleEditor" type="HSplitContainer" parent="StyleView/PanelContainer"]
206 unique_name_in_owner = true
208 script = ExtResource("3_iih7c")
210 [node name="LayerPanel" type="PanelContainer" parent="StyleView/PanelContainer/StyleEditor"]
212 theme_type_variation = &"DialogicPanelA"
214 [node name="VBox" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerPanel"]
217 [node name="Title" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox"]
220 [node name="LayerListTitle" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/Title"]
222 theme_type_variation = &"DialogicSubTitle"
225 [node name="HintTooltip" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/Title" instance=ExtResource("2_g4mnt")]
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."
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."
233 [node name="LayerButtons" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox"]
237 [node name="AddLayerButton" type="MenuButton" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
238 unique_name_in_owner = true
240 tooltip_text = "Add Layer"
241 icon = SubResource("ImageTexture_f5xt2")
242 switch_on_hover = true
244 popup/item_0/text = "ADD LAYER"
246 popup/item_0/disabled = true
247 popup/item_1/text = ""
249 popup/item_1/separator = true
250 popup/item_2/text = "Premade Layer"
252 popup/item_3/text = "Custom Layer"
255 [node name="ReplaceLayerButton" type="MenuButton" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
256 unique_name_in_owner = true
258 tooltip_text = "Replace Layer"
259 icon = SubResource("ImageTexture_f5xt2")
260 switch_on_hover = true
262 popup/item_0/text = "REPLACE LAYER"
264 popup/item_0/disabled = true
265 popup/item_1/text = ""
267 popup/item_1/separator = true
268 popup/item_2/text = "Premade Layer"
270 popup/item_3/text = "Custom Layer"
273 [node name="MakeCustomButton" type="MenuButton" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
274 unique_name_in_owner = true
276 tooltip_text = "Make Custom"
277 icon = SubResource("ImageTexture_f5xt2")
278 switch_on_hover = true
280 popup/item_0/text = "MAKE CUSTOM"
282 popup/item_0/disabled = true
283 popup/item_1/text = ""
285 popup/item_1/separator = true
286 popup/item_2/text = "Current Layer"
288 popup/item_3/text = "Full Layout"
291 [node name="DeleteLayerButton" type="Button" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox/LayerButtons"]
292 unique_name_in_owner = true
294 tooltip_text = "Delete Layer (no undo!)"
296 icon = SubResource("ImageTexture_f5xt2")
299 [node name="LayerTree" type="Tree" parent="StyleView/PanelContainer/StyleEditor/LayerPanel/VBox"]
300 unique_name_in_owner = true
302 size_flags_horizontal = 3
303 size_flags_vertical = 3
304 theme_override_constants/icon_max_width = 32
305 allow_rmb_select = true
307 enable_recursive_folding = false
309 script = ExtResource("4_kpoqn")
311 [node name="LayerSettings" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor"]
313 size_flags_horizontal = 3
315 [node name="LayerInfoHeader" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings"]
318 [node name="LayerName" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoHeader"]
319 unique_name_in_owner = true
321 theme_type_variation = &"DialogicTitle"
322 text = "Default Layout Base"
324 [node name="ExpandLayerInfo" type="Button" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoHeader"]
325 unique_name_in_owner = true
327 icon = SubResource("ImageTexture_f5xt2")
330 [node name="LayerInfoBody" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings"]
331 unique_name_in_owner = true
334 [node name="HBox" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody"]
337 [node name="Panel" type="PanelContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox"]
338 show_behind_parent = true
341 theme_override_styles/panel = SubResource("StyleBoxFlat_0nh8y")
343 [node name="SmallLayerPreview" type="TextureRect" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Panel"]
344 unique_name_in_owner = true
346 texture = SubResource("ImageTexture_yr3tj")
350 [node name="Info" type="VBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox"]
352 size_flags_horizontal = 3
353 theme_override_constants/separation = 0
355 [node name="HBoxContainer" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info"]
357 theme_override_constants/separation = 0
359 [node name="SmallLayerScene" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/HBoxContainer"]
360 unique_name_in_owner = true
363 tooltip_text = "res://addons/dialogic/Modules/LayoutStuff/Base_Default/default_layout_base.tscn"
364 text = "default_layout_base.tscn"
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)
370 theme_type_variation = &"DialogicHintText"
373 [node name="Description" type="HBoxContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info"]
375 theme_override_constants/separation = 0
377 [node name="Label" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/Description"]
379 theme_type_variation = &"DialogicHintText2"
382 [node name="SmallLayerDescription" type="Label" parent="StyleView/PanelContainer/StyleEditor/LayerSettings/LayerInfoBody/HBox/Info/Description"]
383 unique_name_in_owner = true
385 size_flags_horizontal = 3
386 size_flags_vertical = 1
387 theme_type_variation = &"DialogicHintText2"
388 text = "A very simple base for layouts."
390 text_overrun_behavior = 4
392 [node name="LayerSettingsTabs" type="TabContainer" parent="StyleView/PanelContainer/StyleEditor/LayerSettings"]
393 unique_name_in_owner = true
395 size_flags_vertical = 3
397 [node name="Margin" type="Control" parent="StyleView"]
398 custom_minimum_size = Vector2(0, 10)
401 [node name="NoStyleView" type="VBoxContainer" parent="."]
402 unique_name_in_owner = true
406 [node name="Label" type="Label" parent="NoStyleView"]
408 text = "You have not set up any styles yet. Dialogic will use a fallback style."
409 horizontal_alignment = 1
412 [node name="StartStylingButton" type="Button" parent="NoStyleView"]
414 size_flags_horizontal = 4
415 tooltip_text = "Make a custom style from a variation of the fallback."
416 text = "Make my own!"
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)
427 script = ExtResource("5_qbwx0")
429 [node name="StyleBrowser" parent="StyleBrowserWindow" instance=ExtResource("6_p6lia")]
430 unique_name_in_owner = true
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"]