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

[ext_resource type="Script" uid="uid://bskxkqg1al67p" path="res://sources/language_tool/video_gp_description.gd" id="1_kww8f"]
[ext_resource type="Texture2D" uid="uid://b1227jts6lw67" path="res://assets/theme/play.svg" id="2_dbuc8"]
[ext_resource type="PackedScene" uid="uid://dbl3r8426473v" path="res://sources/language_tool/plus_button.tscn" id="2_liexj"]
[ext_resource type="Texture2D" uid="uid://5fffpm7hc12k" path="res://assets/menus/upload.png" id="3_f6nbg"]
[ext_resource type="Texture2D" uid="uid://b8tctfnsj3prx" path="res://assets/menus/minus_button.png" id="4_vccxx"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tny0s"]
bg_color = Color(0, 0, 0, 1)

[node name="VideoGPDescription" type="HBoxContainer" unique_id=2036427965]
script = ExtResource("1_kww8f")

[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1852761962]
custom_minimum_size = Vector2(1166, 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=1397237282]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 64
text = "GP"
alignment = 0

[node name="VideoContainer" type="MarginContainer" parent="." unique_id=657189715]
custom_minimum_size = Vector2(1166, 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="VideoContainer" unique_id=399649510]
layout_mode = 2

[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="VideoContainer/HBoxContainer" unique_id=2114624832]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(200, 2.08165e-12)
layout_mode = 2

[node name="Panel" type="Panel" parent="VideoContainer/HBoxContainer/VideoStreamPlayer" unique_id=528184457]
show_behind_parent = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_tny0s")

[node name="TextureRect" type="TextureRect" parent="VideoContainer/HBoxContainer/VideoStreamPlayer" unique_id=107786378]
show_behind_parent = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -75.0
offset_top = -75.0
offset_right = 75.0
offset_bottom = 75.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_dbuc8")

[node name="VideoUploadButton" parent="VideoContainer/HBoxContainer" unique_id=1050217735 instance=ExtResource("2_liexj")]
unique_name_in_owner = true
layout_mode = 2

[node name="TextureRect" parent="VideoContainer/HBoxContainer/VideoUploadButton" index="0" unique_id=1207987905]
texture = ExtResource("3_f6nbg")

[node name="Button" parent="." unique_id=1870391071 instance=ExtResource("2_liexj")]
layout_mode = 2

[node name="TextureRect" parent="Button" index="0" unique_id=1207987905]
texture = ExtResource("4_vccxx")

[node name="FileDialog" type="FileDialog" parent="." unique_id=372659473]
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

[connection signal="gui_input" from="VideoContainer/HBoxContainer/VideoStreamPlayer" to="." method="_on_video_stream_player_gui_input"]
[connection signal="pressed" from="VideoContainer/HBoxContainer/VideoUploadButton" to="." method="_on_video_upload_button_pressed"]
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]

[editable path="VideoContainer/HBoxContainer/VideoUploadButton"]
[editable path="Button"]
