[gd_scene format=3 uid="uid://cfpx5q6dd2gq7"]

[ext_resource type="Script" uid="uid://brjtalga57k4m" path="res://sources/language_tool/image_and_sound_gp_description.gd" id="1_rm4b8"]
[ext_resource type="PackedScene" uid="uid://dbl3r8426473v" path="res://sources/language_tool/plus_button.tscn" id="1_uutsu"]
[ext_resource type="Texture2D" uid="uid://5fffpm7hc12k" path="res://assets/menus/upload.png" id="2_0hqnp"]
[ext_resource type="Texture2D" uid="uid://b8tctfnsj3prx" path="res://assets/menus/minus_button.png" id="3_q62yc"]

[node name="ImageAndSoundGPDescription" type="HBoxContainer" unique_id=865508915]
offset_right = 2780.0
offset_bottom = 240.0
script = ExtResource("1_rm4b8")

[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1849482185]
custom_minimum_size = Vector2(776, 0)
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 10

[node name="GPMenuButton" type="MenuButton" parent="MarginContainer" unique_id=853092023]
unique_name_in_owner = true
layout_mode = 2
mouse_filter = 2
theme_override_font_sizes/font_size = 64
text = "GP"
alignment = 0

[node name="ImageContainer" type="MarginContainer" parent="." unique_id=132870390]
unique_name_in_owner = true
custom_minimum_size = Vector2(776, 0)
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 10

[node name="HBoxContainer" type="HBoxContainer" parent="ImageContainer" unique_id=1649532075]
layout_mode = 2

[node name="ImagePreview" type="TextureRect" parent="ImageContainer/HBoxContainer" unique_id=161960178]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 100)
layout_mode = 2
expand_mode = 1

[node name="ImageClearButton" parent="ImageContainer/HBoxContainer" unique_id=59774048 instance=ExtResource("1_uutsu")]
unique_name_in_owner = true
layout_mode = 2

[node name="TextureRect" parent="ImageContainer/HBoxContainer/ImageClearButton" index="0"]
texture = ExtResource("3_q62yc")

[node name="ImageUploadButton" parent="ImageContainer/HBoxContainer" unique_id=1418866201 instance=ExtResource("1_uutsu")]
unique_name_in_owner = true
layout_mode = 2

[node name="TextureRect" parent="ImageContainer/HBoxContainer/ImageUploadButton" index="0"]
texture = ExtResource("2_0hqnp")

[node name="MarginContainer3" type="MarginContainer" parent="." unique_id=112988935]
custom_minimum_size = Vector2(996, 0)
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 10

[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer3" unique_id=2050320296]
layout_mode = 2

[node name="SoundPreview" type="Button" parent="MarginContainer3/HBoxContainer" unique_id=1396333683]
unique_name_in_owner = true
custom_minimum_size = Vector2(200, 2.08165e-12)
layout_mode = 2
theme_override_font_sizes/font_size = 70
text = "Play"

[node name="SoundClearButton" parent="MarginContainer3/HBoxContainer" unique_id=1578675970 instance=ExtResource("1_uutsu")]
unique_name_in_owner = true
layout_mode = 2

[node name="TextureRect" parent="MarginContainer3/HBoxContainer/SoundClearButton" index="0"]
texture = ExtResource("3_q62yc")

[node name="SoundUploadButton" parent="MarginContainer3/HBoxContainer" unique_id=180782432 instance=ExtResource("1_uutsu")]
unique_name_in_owner = true
layout_mode = 2

[node name="TextureRect" parent="MarginContainer3/HBoxContainer/SoundUploadButton" index="0"]
texture = ExtResource("2_0hqnp")

[node name="FileDialog" type="FileDialog" parent="." unique_id=994818927]
title = "Open a File"
initial_position = 2
size = Vector2i(1500, 1000)
always_on_top = true
popup_window = true
ok_button_text = "Open"
file_mode = 0
access = 2

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1742139366]

[connection signal="pressed" from="ImageContainer/HBoxContainer/ImageClearButton" to="." method="_on_image_clear_button_pressed"]
[connection signal="pressed" from="ImageContainer/HBoxContainer/ImageUploadButton" to="." method="_on_image_upload_button_pressed"]
[connection signal="pressed" from="MarginContainer3/HBoxContainer/SoundPreview" to="." method="_on_sound_preview_pressed"]
[connection signal="pressed" from="MarginContainer3/HBoxContainer/SoundClearButton" to="." method="_on_sound_clear_button_pressed"]
[connection signal="pressed" from="MarginContainer3/HBoxContainer/SoundUploadButton" to="." method="_on_sound_upload_button_pressed"]

[editable path="ImageContainer/HBoxContainer/ImageClearButton"]
[editable path="ImageContainer/HBoxContainer/ImageUploadButton"]
[editable path="MarginContainer3/HBoxContainer/SoundClearButton"]
[editable path="MarginContainer3/HBoxContainer/SoundUploadButton"]
