201 lines
6.0 KiB
Plaintext
201 lines
6.0 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://theme/menu_theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://widgets/FileSelectWeb.gd" type="Script" id=2]
|
|
|
|
[node name="FileSelect" type="PanelContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_min_size = Vector2( 384, 240 )
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 380.0
|
|
margin_bottom = 236.0
|
|
custom_constants/separation = 2
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_right = 376.0
|
|
margin_bottom = 22.0
|
|
|
|
[node name="lbl_prompt" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
|
unique_name_in_owner = true
|
|
margin_top = 4.0
|
|
margin_right = 238.0
|
|
margin_bottom = 18.0
|
|
text = "Select a ROM from your device's storage"
|
|
|
|
[node name="btn_upload" type="Button" parent="VBoxContainer/HBoxContainer2"]
|
|
margin_left = 246.0
|
|
margin_right = 293.0
|
|
margin_bottom = 22.0
|
|
text = "Upload"
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
|
margin_top = 24.0
|
|
margin_right = 376.0
|
|
margin_bottom = 53.0
|
|
rect_min_size = Vector2( 0, 29 )
|
|
scroll_vertical_enabled = false
|
|
|
|
[node name="folder_buttons" type="HBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
|
custom_constants/separation = 4
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_top = 55.0
|
|
margin_right = 376.0
|
|
margin_bottom = 232.0
|
|
size_flags_vertical = 3
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer/HBoxContainer"]
|
|
margin_right = 220.0
|
|
margin_bottom = 177.0
|
|
rect_min_size = Vector2( 120, 0 )
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 1.5
|
|
|
|
[node name="ItemList" type="ItemList" parent="VBoxContainer/HBoxContainer/PanelContainer"]
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 216.0
|
|
margin_bottom = 173.0
|
|
rect_min_size = Vector2( 120, 160 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 228.0
|
|
margin_right = 376.0
|
|
margin_bottom = 177.0
|
|
size_flags_horizontal = 3
|
|
custom_constants/separation = 1
|
|
|
|
[node name="lbl_filename_header" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_right = 148.0
|
|
margin_bottom = 14.0
|
|
size_flags_vertical = 1
|
|
text = "Filename:"
|
|
|
|
[node name="mc" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
margin_top = 15.0
|
|
margin_right = 148.0
|
|
margin_bottom = 29.0
|
|
custom_constants/margin_top = 0
|
|
custom_constants/margin_left = 12
|
|
custom_constants/margin_bottom = 0
|
|
|
|
[node name="lbl_filename_content" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc"]
|
|
unique_name_in_owner = true
|
|
margin_left = 12.0
|
|
margin_right = 148.0
|
|
margin_bottom = 14.0
|
|
size_flags_vertical = 3
|
|
text = "Test"
|
|
autowrap = true
|
|
|
|
[node name="lbl_filetype_header" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 30.0
|
|
margin_right = 148.0
|
|
margin_bottom = 44.0
|
|
size_flags_vertical = 1
|
|
text = "Type:"
|
|
|
|
[node name="mc2" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
margin_top = 45.0
|
|
margin_right = 148.0
|
|
margin_bottom = 59.0
|
|
custom_constants/margin_top = 0
|
|
custom_constants/margin_left = 12
|
|
custom_constants/margin_bottom = 0
|
|
|
|
[node name="lbl_filetype_content" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc2"]
|
|
unique_name_in_owner = true
|
|
margin_left = 12.0
|
|
margin_right = 148.0
|
|
margin_bottom = 14.0
|
|
size_flags_vertical = 1
|
|
text = "Test"
|
|
autowrap = true
|
|
|
|
[node name="lbl_filesize_header" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 60.0
|
|
margin_right = 148.0
|
|
margin_bottom = 74.0
|
|
size_flags_vertical = 1
|
|
text = "Size:"
|
|
|
|
[node name="mc3" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
margin_top = 75.0
|
|
margin_right = 148.0
|
|
margin_bottom = 89.0
|
|
custom_constants/margin_top = 0
|
|
custom_constants/margin_left = 12
|
|
custom_constants/margin_bottom = 0
|
|
|
|
[node name="lbl_filesize_content" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc3"]
|
|
unique_name_in_owner = true
|
|
margin_left = 12.0
|
|
margin_right = 148.0
|
|
margin_bottom = 14.0
|
|
size_flags_vertical = 1
|
|
text = "Test"
|
|
autowrap = true
|
|
|
|
[node name="lbl_fileinfo_header" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 90.0
|
|
margin_right = 148.0
|
|
margin_bottom = 104.0
|
|
size_flags_vertical = 1
|
|
text = "Info:"
|
|
|
|
[node name="mc4" type="MarginContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
margin_top = 105.0
|
|
margin_right = 148.0
|
|
margin_bottom = 154.0
|
|
size_flags_vertical = 3
|
|
custom_constants/margin_top = 0
|
|
custom_constants/margin_left = 12
|
|
custom_constants/margin_bottom = 0
|
|
|
|
[node name="lbl_fileinfo_content" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/mc4"]
|
|
unique_name_in_owner = true
|
|
margin_left = 12.0
|
|
margin_right = 148.0
|
|
margin_bottom = 49.0
|
|
size_flags_vertical = 3
|
|
text = "Test"
|
|
autowrap = true
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
margin_top = 155.0
|
|
margin_right = 148.0
|
|
margin_bottom = 177.0
|
|
|
|
[node name="btn_ok" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_right = 24.0
|
|
margin_bottom = 22.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 8
|
|
disabled = true
|
|
text = "OK"
|
|
|
|
[node name="btn_continue" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_left = 32.0
|
|
margin_right = 91.0
|
|
margin_bottom = 22.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 8
|
|
disabled = true
|
|
text = "Continue"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/btn_upload" to="." method="_on_btn_upload_pressed"]
|
|
[connection signal="item_activated" from="VBoxContainer/HBoxContainer/PanelContainer/ItemList" to="." method="_on_ItemList_item_activated"]
|
|
[connection signal="item_selected" from="VBoxContainer/HBoxContainer/PanelContainer/ItemList" to="." method="_on_ItemList_item_selected"]
|