[gd_scene load_steps=6 format=2]

[ext_resource path="res://src/scenes/open_with_node/open_with_node.gd" type="Script" id=1]
[ext_resource path="res://assets/fonts/open_sans_emoji/OpenSansEmoji.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://assets/fonts/dejavu_sans_mono/DejaVuSansMono-Bold.ttf" type="DynamicFontData" id=3]

[sub_resource type="DynamicFont" id=2]
size = 13
use_filter = true
font_data = ExtResource( 3 )
fallback/0 = ExtResource( 2 )

[sub_resource type="DynamicFont" id=1]
size = 13
use_filter = true
font_data = ExtResource( 3 )
fallback/0 = ExtResource( 2 )

[node name="OpenWithNode" type="ConfirmationDialog"]
anchor_right = 1.0
anchor_bottom = 1.0
window_title = "How do you want to open this file?"
resizable = true
script = ExtResource( 1 )

[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 8.0
margin_top = 8.0
margin_right = 1016.0
margin_bottom = 561.0

[node name="MIMERichTextLabel" type="RichTextLabel" parent="VBoxContainer"]
margin_right = 1008.0
margin_bottom = 18.0
focus_mode = 2
custom_fonts/bold_font = SubResource( 2 )
bbcode_enabled = true
bbcode_text = "Media type: #"
text = "Media type: #"
fit_content_height = true
selection_enabled = true

[node name="CommandLineEdit" type="LineEdit" parent="VBoxContainer"]
margin_top = 22.0
margin_right = 1008.0
margin_bottom = 49.0
size_flags_vertical = 0
caret_blink = true

[node name="AlwaysUseCheckBox" type="CheckBox" parent="VBoxContainer"]
margin_top = 53.0
margin_right = 436.0
margin_bottom = 78.0
size_flags_horizontal = 0
text = "Always use this command to open files of this type?"

[node name="UseStreamingCheckBox" type="CheckBox" parent="VBoxContainer"]
margin_top = 82.0
margin_right = 300.0
margin_bottom = 107.0
size_flags_horizontal = 0
text = "Allow streaming files of this type"

[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer"]
margin_top = 111.0
margin_right = 1008.0
margin_bottom = 273.0
focus_mode = 2
custom_fonts/bold_font = SubResource( 1 )
bbcode_enabled = true
bbcode_text = "______________________________________________________

[b]%uri%[/b] - Inserts the path to the media to be opened

Examples:
If the media is a video, it could be opened with VLC
[b]vlc %uri%[/b]

If you want to open the file with the default program then clear the input box"
text = "______________________________________________________

%uri% - Inserts the path to the media to be opened

Examples:
If the media is a video, it could be opened with VLC
vlc %uri%

If you want to open the file with the default program then clear the input box"
fit_content_height = true
selection_enabled = true
