2020-07-25 13:26:57 +00:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
2020-07-29 17:34:27 +00:00
|
|
|
[ext_resource path="res://src/UI/Dialogs/ImageEffects/ShaderEffect.gd" type="Script" id=1]
|
2020-07-25 13:26:57 +00:00
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
|
|
|
|
|
|
[node name="ShaderEffect" type="ConfirmationDialog"]
|
|
|
|
margin_right = 200.0
|
|
|
|
margin_bottom = 228.0
|
2020-07-28 01:11:06 +00:00
|
|
|
rect_min_size = Vector2( 400, 300 )
|
2020-07-25 13:26:57 +00:00
|
|
|
resizable = true
|
2020-07-29 17:34:27 +00:00
|
|
|
script = ExtResource( 1 )
|
2020-07-25 13:26:57 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = -8.0
|
|
|
|
margin_bottom = -36.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
2020-07-28 01:11:06 +00:00
|
|
|
margin_right = 384.0
|
|
|
|
margin_bottom = 31.0
|
2020-07-25 13:26:57 +00:00
|
|
|
text = "This is an experimental feature and may not be included in the stable version"
|
|
|
|
autowrap = true
|
|
|
|
|
|
|
|
[node name="ViewportContainer" type="ViewportContainer" parent="VBoxContainer"]
|
2020-07-28 01:11:06 +00:00
|
|
|
margin_top = 35.0
|
|
|
|
margin_right = 384.0
|
|
|
|
margin_bottom = 36.0
|
2020-07-25 13:26:57 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Viewport" type="Viewport" parent="VBoxContainer/ViewportContainer"]
|
|
|
|
size = Vector2( 1, 1 )
|
|
|
|
transparent_bg = true
|
|
|
|
handle_input_locally = false
|
|
|
|
disable_3d = true
|
|
|
|
usage = 0
|
|
|
|
render_target_update_mode = 0
|
|
|
|
gui_disable_input = true
|
|
|
|
|
|
|
|
[node name="Preview" type="TextureRect" parent="VBoxContainer/ViewportContainer/Viewport"]
|
|
|
|
material = SubResource( 1 )
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
|
|
|
[node name="ChooseShader" type="Button" parent="VBoxContainer"]
|
2020-07-28 01:11:06 +00:00
|
|
|
margin_top = 40.0
|
|
|
|
margin_right = 384.0
|
|
|
|
margin_bottom = 60.0
|
2020-07-25 13:26:57 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
text = "Choose Shader"
|
|
|
|
|
|
|
|
[node name="ShaderLoadedLabel" type="Label" parent="VBoxContainer"]
|
2020-07-28 01:11:06 +00:00
|
|
|
margin_top = 64.0
|
|
|
|
margin_right = 384.0
|
|
|
|
margin_bottom = 78.0
|
2020-07-25 13:26:57 +00:00
|
|
|
text = "No shader loaded!"
|
|
|
|
autowrap = true
|
|
|
|
|
2020-07-28 01:11:06 +00:00
|
|
|
[node name="ShaderParams" type="VBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
|
2020-07-25 13:26:57 +00:00
|
|
|
[node name="FileDialog" type="FileDialog" parent="."]
|
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
2020-07-28 01:11:06 +00:00
|
|
|
margin_right = 392.0
|
|
|
|
margin_bottom = 264.0
|
2020-07-25 13:26:57 +00:00
|
|
|
window_title = "Open a File"
|
|
|
|
resizable = true
|
|
|
|
mode = 0
|
|
|
|
access = 2
|
|
|
|
filters = PoolStringArray( "*shader" )
|
|
|
|
current_dir = "/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
|
|
|
current_path = "/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/"
|
|
|
|
[connection signal="about_to_show" from="." to="." method="_on_ShaderEffect_about_to_show"]
|
|
|
|
[connection signal="confirmed" from="." to="." method="_on_ShaderEffect_confirmed"]
|
|
|
|
[connection signal="popup_hide" from="." to="." method="_on_ShaderEffect_popup_hide"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/ChooseShader" to="." method="_on_ChooseShader_pressed"]
|
|
|
|
[connection signal="file_selected" from="FileDialog" to="." method="_on_FileDialog_file_selected"]
|