You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
8.5 KiB
130 lines
8.5 KiB
6 months ago
|
[gd_scene load_steps=8 format=3 uid="uid://bwaxj1n401fp4"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://addons/dialogic/Editor/Events/EventBlock/event_block.gd" id="1"]
|
||
|
[ext_resource type="StyleBox" uid="uid://cl75ikyq2is7c" path="res://addons/dialogic/Editor/Events/styles/unselected_stylebox.tres" id="2_axj84"]
|
||
|
[ext_resource type="Texture2D" uid="uid://dybg3l5pwetne" path="res://addons/dialogic/Editor/Images/plugin-icon.svg" id="6"]
|
||
|
|
||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_otutu"]
|
||
|
bg_color = Color(1, 1, 1, 1)
|
||
|
corner_radius_top_left = 5
|
||
|
corner_radius_top_right = 5
|
||
|
corner_radius_bottom_right = 5
|
||
|
corner_radius_bottom_left = 5
|
||
|
|
||
|
[sub_resource type="Image" id="Image_wcwsv"]
|
||
|
data = {
|
||
|
"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,
|
||
|
"format": "RGBA8",
|
||
|
"height": 16,
|
||
|
"mipmaps": false,
|
||
|
"width": 16
|
||
|
}
|
||
|
|
||
|
[sub_resource type="ImageTexture" id="ImageTexture_rc1wh"]
|
||
|
image = SubResource("Image_wcwsv")
|
||
|
|
||
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ee4ub"]
|
||
|
|
||
|
[node name="EventNode" type="MarginContainer"]
|
||
|
anchors_preset = 10
|
||
|
anchor_right = 1.0
|
||
|
grow_horizontal = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 9
|
||
|
focus_mode = 1
|
||
|
script = ExtResource("1")
|
||
|
|
||
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||
|
self_modulate = Color(0, 0, 0, 1)
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
mouse_filter = 2
|
||
|
theme_override_styles/panel = ExtResource("2_axj84")
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="IconPanel" type="Panel" parent="PanelContainer/VBoxContainer/Header"]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
size_flags_vertical = 4
|
||
|
mouse_filter = 1
|
||
|
mouse_default_cursor_shape = 6
|
||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_otutu")
|
||
|
|
||
|
[node name="IconTexture" type="TextureRect" parent="PanelContainer/VBoxContainer/Header/IconPanel"]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 0
|
||
|
grow_vertical = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
texture = ExtResource("6")
|
||
|
expand_mode = 1
|
||
|
stretch_mode = 5
|
||
|
|
||
|
[node name="Warning" type="TextureRect" parent="PanelContainer/VBoxContainer/Header/IconPanel"]
|
||
|
unique_name_in_owner = true
|
||
|
visible = false
|
||
|
layout_mode = 0
|
||
|
offset_left = -5.5
|
||
|
offset_top = -11.0
|
||
|
offset_right = 12.1
|
||
|
offset_bottom = 6.6
|
||
|
texture = SubResource("ImageTexture_rc1wh")
|
||
|
stretch_mode = 5
|
||
|
|
||
|
[node name="HeaderContent" type="HBoxContainer" parent="PanelContainer/VBoxContainer/Header"]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 2
|
||
|
|
||
|
[node name="ToggleBodyVisibilityButton" type="Button" parent="PanelContainer/VBoxContainer/Header"]
|
||
|
unique_name_in_owner = true
|
||
|
modulate = Color(0, 0, 0, 1)
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 0
|
||
|
tooltip_text = "Fold/Unfold Settings"
|
||
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_ee4ub")
|
||
|
toggle_mode = true
|
||
|
icon = SubResource("ImageTexture_rc1wh")
|
||
|
flat = true
|
||
|
|
||
|
[node name="ToggleChildrenVisibilityButton" type="Button" parent="PanelContainer/VBoxContainer/Header"]
|
||
|
unique_name_in_owner = true
|
||
|
visible = false
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 10
|
||
|
tooltip_text = "Collapse Contained Events"
|
||
|
toggle_mode = true
|
||
|
icon = SubResource("ImageTexture_rc1wh")
|
||
|
flat = true
|
||
|
|
||
|
[node name="Body" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
theme_override_constants/margin_left = 4
|
||
|
|
||
|
[node name="BodyContent" type="VBoxContainer" parent="PanelContainer/VBoxContainer/Body"]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
mouse_filter = 2
|
||
|
|
||
|
[connection signal="gui_input" from="." to="." method="_on_EventNode_gui_input"]
|
||
|
[connection signal="toggled" from="PanelContainer/VBoxContainer/Header/ToggleBodyVisibilityButton" to="." method="_on_ToggleBodyVisibility_toggled"]
|