[gd_scene load_steps=11 format=3 uid="uid://cx7w87y4t866f"] [ext_resource type="Script" path="res://addons/dialogic/Editor/Events/EventNode/EventNode.gd" id="1"] [ext_resource type="StyleBox" uid="uid://obyrr26pqk2p" path="res://addons/dialogic/Editor/Events/styles/selected_styleboxflat.tres" id="2_vj6hl"] [ext_resource type="StyleBox" uid="uid://c8k6tbipodsg" path="res://addons/dialogic/Editor/Events/styles/ResourceMenuPanelBackground.tres" id="5_wntx6"] [ext_resource type="Texture2D" uid="uid://b0jgbs777wfgw" path="res://addons/dialogic/Editor/Images/plugin-icon.svg" id="6"] [ext_resource type="Script" path="res://addons/dialogic/Editor/Events/EventNode/PopupMenu.gd" id="8"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_otutu"] bg_color = Color(1, 1, 1, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 [sub_resource type="Image" id="Image_jdnqf"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 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, 93, 93, 131, 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, 93, 93, 131, 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, 93, 93, 131, 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, 252, 255, 93, 93, 252, 255, 93, 93, 252, 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, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 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, 93, 93, 55, 255, 97, 97, 58, 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, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 98, 98, 47, 255, 97, 97, 42, 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, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 94, 94, 46, 255, 93, 93, 236, 255, 93, 93, 233, 255, 97, 97, 42, 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, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 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), "format": "RGBA8", "height": 16, "mipmaps": false, "width": 16 } [sub_resource type="ImageTexture" id="ImageTexture_4d04d"] image = SubResource("Image_jdnqf") [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_lj5gu"] [sub_resource type="Theme" id="Theme_g6f7f"] PopupMenu/colors/font_color_hover = Color(0, 0, 0, 1) PopupMenu/styles/hover = SubResource("StyleBoxEmpty_lj5gu") PopupMenu/styles/panel = ExtResource("5_wntx6") [node name="EventNode" type="HBoxContainer"] 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="Indent" type="Control" parent="."] unique_name_in_owner = true visible = false layout_mode = 2 anchors_preset = 0 [node name="PanelContainer" type="PanelContainer" parent="."] layout_mode = 2 offset_right = 1152.0 offset_bottom = 28.0 size_flags_horizontal = 3 size_flags_vertical = 3 mouse_filter = 2 [node name="SelectedStyle" type="Panel" parent="PanelContainer"] unique_name_in_owner = true visible = false modulate = Color(0, 0, 0, 1) layout_mode = 2 offset_right = 1024.0 offset_bottom = 28.0 theme_override_styles/panel = ExtResource("2_vj6hl") [node name="MarginContainer" type="MarginContainer" parent="PanelContainer"] layout_mode = 2 offset_right = 1152.0 offset_bottom = 28.0 size_flags_vertical = 3 theme_override_constants/margin_left = 7 [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"] layout_mode = 2 offset_left = 7.0 offset_right = 1152.0 offset_bottom = 28.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Header" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 offset_right = 1145.0 offset_bottom = 24.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="IconPanelCenterC" type="CenterContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Header"] unique_name_in_owner = true layout_mode = 2 offset_bottom = 24.0 [node name="IconPanel" type="Panel" parent="PanelContainer/MarginContainer/VBoxContainer/Header/IconPanelCenterC"] unique_name_in_owner = true layout_mode = 2 offset_top = 12.0 offset_bottom = 12.0 mouse_filter = 1 mouse_default_cursor_shape = 6 theme_override_styles/panel = SubResource("StyleBoxFlat_otutu") [node name="IconTexture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/Header/IconPanelCenterC/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") ignore_texture_size = true stretch_mode = 5 [node name="Warning" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/Header/IconPanelCenterC/IconPanel"] unique_name_in_owner = true visible = false layout_mode = 0 offset_right = 16.0 offset_bottom = 16.0 texture = SubResource("ImageTexture_4d04d") stretch_mode = 5 [node name="TitleLabel" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Header"] unique_name_in_owner = true layout_mode = 2 offset_left = 4.0 offset_right = 5.0 offset_bottom = 23.0 theme_override_colors/font_color = Color(0, 0, 0, 1) vertical_alignment = 1 [node name="HeaderContent" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Header"] unique_name_in_owner = true layout_mode = 2 offset_left = 9.0 offset_right = 561.0 offset_bottom = 24.0 size_flags_horizontal = 3 [node name="Spacer" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Header"] layout_mode = 2 anchors_preset = 0 offset_left = 565.0 offset_right = 1117.0 offset_bottom = 24.0 size_flags_horizontal = 3 mouse_filter = 2 [node name="ExpandButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/Header"] unique_name_in_owner = true layout_mode = 2 offset_left = 1121.0 offset_right = 1145.0 offset_bottom = 24.0 toggle_mode = true icon = SubResource("ImageTexture_4d04d") flat = true [node name="CollapseButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/Header"] unique_name_in_owner = true visible = false layout_mode = 2 toggle_mode = true icon = SubResource("ImageTexture_4d04d") flat = true [node name="Body" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 offset_top = 28.0 offset_right = 1145.0 offset_bottom = 28.0 size_flags_horizontal = 3 [node name="BodySpacing" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Body"] unique_name_in_owner = true custom_minimum_size = Vector2(10, 0) layout_mode = 2 anchors_preset = 0 offset_right = 10.0 [node name="BodyContent" type="VBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/Body"] unique_name_in_owner = true layout_mode = 2 offset_left = 14.0 offset_right = 1145.0 size_flags_horizontal = 3 size_flags_vertical = 3 mouse_filter = 2 [node name="PopupMenu" type="PopupMenu" parent="."] theme = SubResource("Theme_g6f7f") item_count = 6 item_0/text = "Documentation" item_0/icon = SubResource("ImageTexture_4d04d") item_0/id = 0 item_1/text = "" item_1/id = -1 item_1/separator = true item_2/text = "Move up" item_2/icon = SubResource("ImageTexture_4d04d") item_2/id = 2 item_3/text = "Move down" item_3/icon = SubResource("ImageTexture_4d04d") item_3/id = 3 item_4/text = "" item_4/id = -1 item_4/separator = true item_5/text = "Delete" item_5/icon = SubResource("ImageTexture_4d04d") item_5/id = 5 script = ExtResource("8") [connection signal="gui_input" from="." to="." method="_on_EventNode_gui_input"] [connection signal="visibility_changed" from="Indent" to="." method="_on_Indent_visibility_changed"] [connection signal="toggled" from="PanelContainer/MarginContainer/VBoxContainer/Header/ExpandButton" to="." method="_on_ExpandButton_toggled"]