[gd_scene load_steps=8 format=2]

[ext_resource path="res://addons/dialogic/Editor/Events/Common/Spacer.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/dialogic/Editor/Events/Common/PieceExtraSettings.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/dialogic/Editor/Events/CharacterJoinBlock.gd" type="Script" id=3]
[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/character-join.svg" type="Texture" id=4]
[ext_resource path="res://addons/dialogic/Images/Event Icons/character.svg" type="Texture" id=5]
[ext_resource path="res://addons/dialogic/Editor/Events/Common/Characters/CharacterAndPortraitPicker.tscn" type="PackedScene" id=6]

[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 16.0
content_margin_right = 6.0
content_margin_top = 6.0
content_margin_bottom = 6.0
bg_color = Color( 0.14902, 0.521569, 0.298039, 0.266667 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.12549, 0.12549, 0.12549, 1 )
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6

[node name="CharacterJoinBlock" type="HBoxContainer"]
margin_right = 1798.0
margin_bottom = 42.0
size_flags_horizontal = 3
size_flags_vertical = 9
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Indent" type="Control" parent="."]
visible = false
margin_bottom = 44.0

[node name="PanelContainer" type="PanelContainer" parent="."]
margin_right = 1798.0
margin_bottom = 42.0
mouse_filter = 1
size_flags_horizontal = 3
custom_styles/panel = SubResource( 1 )

[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
margin_left = 16.0
margin_top = 6.0
margin_right = 1792.0
margin_bottom = 36.0
size_flags_horizontal = 3

[node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
margin_right = 1776.0
margin_bottom = 30.0

[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Header"]
margin_right = 22.0
margin_bottom = 30.0
texture = ExtResource( 4 )
stretch_mode = 6

[node name="Title" type="Label" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 26.0
margin_top = 8.0
margin_right = 130.0
margin_bottom = 22.0
text = "  Character join: "

[node name="CharacterAndPortraitPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 6 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 134.0
margin_right = 240.0
margin_bottom = 30.0

[node name="LabelPosition" type="Label" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 244.0
margin_top = 8.0
margin_right = 308.0
margin_bottom = 22.0
text = "  Position:"

[node name="PositionsContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 312.0
margin_right = 498.0
margin_bottom = 30.0

[node name="position-0" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
margin_right = 34.0
margin_bottom = 30.0
icon = ExtResource( 5 )

[node name="position-1" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
margin_left = 38.0
margin_right = 72.0
margin_bottom = 30.0
icon = ExtResource( 5 )

[node name="position-2" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
margin_left = 76.0
margin_right = 110.0
margin_bottom = 30.0
icon = ExtResource( 5 )

[node name="position-3" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
margin_left = 114.0
margin_right = 148.0
margin_bottom = 30.0
icon = ExtResource( 5 )

[node name="position-4" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
margin_left = 152.0
margin_right = 186.0
margin_bottom = 30.0
icon = ExtResource( 5 )

[node name="MirrorButton" type="ToolButton" parent="PanelContainer/VBoxContainer/Header"]
margin_left = 502.0
margin_right = 514.0
margin_bottom = 30.0
hint_tooltip = "Mirrors the character"
focus_mode = 0
toggle_mode = true
enabled_focus_mode = 0

[node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 1 )]
margin_left = 518.0
margin_right = 1735.0
margin_bottom = 30.0

[node name="OptionButton" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
margin_left = 1739.0
margin_right = 1776.0
items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", true, "Remove", null, 0, false, false, 3, 0, null, "", false ]

[connection signal="toggled" from="PanelContainer/VBoxContainer/Header/MirrorButton" to="." method="_on_MirrorButton_toggled"]
