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.
64 lines
1.7 KiB
64 lines
1.7 KiB
3 years ago
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/dialogic/Images/Context Menus/Remove.svg" type="Texture" id=1]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Images/EventPart_BackgroundPicker.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/SpinBoxPreventDnD.gd" type="Script" id=3]
|
||
|
|
||
|
[node name="BackgroundPicker" type="VBoxContainer"]
|
||
|
margin_top = 1.0
|
||
|
margin_right = 331.0
|
||
|
margin_bottom = 23.0
|
||
|
script = ExtResource( 2 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="HBox" type="HBoxContainer" parent="."]
|
||
|
margin_right = 533.0
|
||
|
margin_bottom = 24.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Name" type="Label" parent="HBox"]
|
||
|
margin_top = 5.0
|
||
|
margin_right = 271.0
|
||
|
margin_bottom = 19.0
|
||
|
text = "No image (will clear previous scene event)"
|
||
|
|
||
|
[node name="ImageButton" type="Button" parent="HBox"]
|
||
|
margin_left = 275.0
|
||
|
margin_right = 299.0
|
||
|
margin_bottom = 24.0
|
||
|
text = "..."
|
||
|
|
||
|
[node name="ClearButton" type="Button" parent="HBox"]
|
||
|
margin_left = 303.0
|
||
|
margin_right = 331.0
|
||
|
margin_bottom = 24.0
|
||
|
disabled = true
|
||
|
icon = ExtResource( 1 )
|
||
|
|
||
|
[node name="FadeLabel" type="Label" parent="HBox"]
|
||
|
margin_left = 335.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 455.0
|
||
|
margin_bottom = 19.0
|
||
|
text = " Fade-in duration:"
|
||
|
|
||
|
[node name="NumberBox" type="SpinBox" parent="HBox"]
|
||
|
margin_left = 459.0
|
||
|
margin_right = 533.0
|
||
|
margin_bottom = 24.0
|
||
|
size_flags_vertical = 6
|
||
|
step = 0.1
|
||
|
value = 1.0
|
||
|
allow_greater = true
|
||
|
align = 1
|
||
|
script = ExtResource( 3 )
|
||
|
|
||
|
[connection signal="pressed" from="HBox/ImageButton" to="HBox" method="_on_ImageButton_pressed"]
|
||
|
[connection signal="pressed" from="HBox/ClearButton" to="HBox" method="_on_ClearButton_pressed"]
|