2021-04-01 14:04:05 +02:00
|
|
|
[gd_scene load_steps=9 format=2]
|
2021-03-15 16:22:11 +01:00
|
|
|
|
2021-04-12 10:26:50 +02:00
|
|
|
[ext_resource path="res://addons/dialogic/Editor/Events/TextBlock.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/dialogic/Editor/Events/Common/VisibleToggle.tscn" type="PackedScene" id=2]
|
2021-04-10 18:29:03 +02:00
|
|
|
[ext_resource path="res://addons/dialogic/Images/Event Icons/Main Icons/text-event.svg" type="Texture" id=3]
|
2021-04-12 10:26:50 +02:00
|
|
|
[ext_resource path="res://addons/dialogic/Editor/Events/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
|
|
|
|
[ext_resource path="res://addons/dialogic/Editor/Events/Common/CharacterPicker.tscn" type="PackedScene" id=6]
|
|
|
|
[ext_resource path="res://addons/dialogic/Editor/Events/Common/PortraitPicker.tscn" type="PackedScene" id=7]
|
|
|
|
[ext_resource path="res://addons/dialogic/Editor/Events/Common/Spacer.tscn" type="PackedScene" id=8]
|
|
|
|
|
2021-03-15 16:22:11 +01:00
|
|
|
|
2021-04-10 18:29:03 +02:00
|
|
|
|
|
|
|
|
2021-03-15 16:22:11 +01:00
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
|
|
content_margin_left = 6.0
|
|
|
|
content_margin_right = 6.0
|
|
|
|
content_margin_top = 6.0
|
|
|
|
content_margin_bottom = 6.0
|
|
|
|
bg_color = Color( 0.635294, 0.635294, 0.635294, 0.105882 )
|
|
|
|
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="TextBlock" type="HBoxContainer"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_bottom = 126.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 9
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Indent" type="Control" parent="."]
|
|
|
|
visible = false
|
|
|
|
margin_right = 25.0
|
|
|
|
margin_bottom = 126.0
|
|
|
|
rect_min_size = Vector2( 25, 0 )
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
|
|
margin_right = 1024.0
|
|
|
|
margin_bottom = 126.0
|
|
|
|
mouse_filter = 1
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_styles/panel = SubResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
|
|
margin_left = 6.0
|
|
|
|
margin_top = 6.0
|
|
|
|
margin_right = 1018.0
|
|
|
|
margin_bottom = 120.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
|
|
|
margin_right = 1012.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
|
|
|
|
[node name="Spacer1" type="Control" parent="PanelContainer/VBoxContainer/Header"]
|
|
|
|
margin_right = 5.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
rect_min_size = Vector2( 5, 0 )
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Header"]
|
|
|
|
margin_left = 9.0
|
|
|
|
margin_right = 31.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
texture = ExtResource( 3 )
|
|
|
|
stretch_mode = 6
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/Header"]
|
|
|
|
visible = false
|
2021-04-07 22:32:31 +02:00
|
|
|
margin_left = 35.0
|
2021-03-15 16:22:11 +01:00
|
|
|
margin_top = 8.0
|
2021-04-07 22:32:31 +02:00
|
|
|
margin_right = 78.0
|
2021-03-15 16:22:11 +01:00
|
|
|
margin_bottom = 22.0
|
|
|
|
text = " Text "
|
|
|
|
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="PanelContainer/VBoxContainer/Header"]
|
|
|
|
margin_left = 35.0
|
|
|
|
margin_right = 39.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
|
|
|
|
[node name="CharacterPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 6 )]
|
|
|
|
margin_left = 43.0
|
|
|
|
margin_right = 149.0
|
|
|
|
|
|
|
|
[node name="PortraitPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 7 )]
|
|
|
|
visible = false
|
2021-04-07 22:32:31 +02:00
|
|
|
margin_left = 153.0
|
|
|
|
margin_right = 187.0
|
2021-03-15 16:22:11 +01:00
|
|
|
|
|
|
|
[node name="VisibleToggle" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
|
|
|
|
margin_left = 153.0
|
|
|
|
margin_right = 183.0
|
|
|
|
|
|
|
|
[node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
|
|
|
|
visible = false
|
2021-03-25 22:52:07 +01:00
|
|
|
margin_left = 187.0
|
2021-03-15 16:22:11 +01:00
|
|
|
margin_top = 8.0
|
2021-03-25 22:52:07 +01:00
|
|
|
margin_right = 199.0
|
2021-03-15 16:22:11 +01:00
|
|
|
margin_bottom = 22.0
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
|
|
|
|
text = "..."
|
|
|
|
|
2021-03-25 22:52:07 +01:00
|
|
|
[node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 8 )]
|
2021-03-15 16:22:11 +01:00
|
|
|
margin_left = 187.0
|
|
|
|
margin_right = 971.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
|
|
|
|
[node name="OptionButton" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 4 )]
|
|
|
|
margin_left = 975.0
|
|
|
|
margin_right = 1012.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 ]
|
|
|
|
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="PanelContainer/VBoxContainer"]
|
|
|
|
margin_top = 34.0
|
|
|
|
margin_right = 1012.0
|
|
|
|
margin_bottom = 114.0
|
|
|
|
rect_min_size = Vector2( 0, 80 )
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
show_line_numbers = true
|
|
|
|
smooth_scrolling = true
|
|
|
|
wrap_enabled = true
|
2021-04-07 22:32:31 +02:00
|
|
|
|
2021-03-15 16:22:11 +01:00
|
|
|
[connection signal="text_changed" from="PanelContainer/VBoxContainer/TextEdit" to="." method="_on_TextEdit_text_changed"]
|