1
- [gd_scene load_steps =27 format =3 uid ="uid://cjx4cfx0f2k2" ]
1
+ [gd_scene load_steps =28 format =3 uid ="uid://cjx4cfx0f2k2" ]
2
2
3
3
[ext_resource type ="Theme" uid ="uid://jtuqhw3am1h3" path ="res://resources/default_theme.tres" id ="1" ]
4
4
[ext_resource type ="Texture2D" uid ="uid://du66o2pueo6qh" path ="res://assets/icons/config/emulators.png" id ="2" ]
25
25
[ext_resource type ="Texture2D" uid ="uid://7qv28u4mq7xl" path ="res://assets/icons/config/about.png" id ="23" ]
26
26
[ext_resource type ="Script" path ="res://source/utils/ScrollHandler.gd" id ="24" ]
27
27
[ext_resource type ="Script" path ="res://scenes/ui_nodes/AccessibilityFocus.gd" id ="25" ]
28
+ [ext_resource type ="Script" path ="res://scenes/root/FileSystemPopup.gd" id ="26_sbwuo" ]
28
29
29
30
[sub_resource type ="ButtonGroup" id ="ButtonGroup_l35le" ]
30
31
@@ -33,9 +34,12 @@ disable_3d = true
33
34
transparent_bg = true
34
35
initial_position = 1
35
36
size = Vector2i (1000 , 480 )
37
+ transient = true
36
38
exclusive = true
37
39
borderless = true
38
40
transparent = true
41
+ popup_window = true
42
+ content_scale_size = Vector2i (1000 , 480 )
39
43
content_scale_mode = 1
40
44
content_scale_aspect = 3
41
45
theme = ExtResource ("1" )
@@ -464,6 +468,46 @@ layout_mode = 2
464
468
visible = false
465
469
layout_mode = 2
466
470
471
+ [node name ="FileSystemPopup" type ="FileDialog" parent ="." ]
472
+ unique_name_in_owner = true
473
+ title = "Open a File"
474
+ position = Vector2i (0 , 24 )
475
+ size = Vector2i (949 , 477 )
476
+ popup_window = true
477
+ theme = ExtResource ("1" )
478
+ ok_button_text = "Open"
479
+ file_mode = 0
480
+ access = 2
481
+ script = ExtResource ("26_sbwuo" )
482
+
483
+ [node name ="WarningPopup" type ="AcceptDialog" parent ="." ]
484
+ unique_name_in_owner = true
485
+ handle_input_locally = false
486
+ size = Vector2i (608 , 346 )
487
+ popup_window = true
488
+ content_scale_size = Vector2i (608 , 346 )
489
+ content_scale_mode = 1
490
+ content_scale_aspect = 4
491
+ theme = ExtResource ("1" )
492
+
493
+ [node name ="WarningLabel" type ="Label" parent ="WarningPopup" ]
494
+ unique_name_in_owner = true
495
+ anchors_preset = 15
496
+ anchor_right = 1.0
497
+ anchor_bottom = 1.0
498
+ offset_left = 8.0
499
+ offset_top = 8.0
500
+ offset_right = -8.0
501
+ offset_bottom = -49.0
502
+ text = "
503
+ "
504
+ horizontal_alignment = 1
505
+ vertical_alignment = 1
506
+ autowrap_mode = 3
507
+ clip_text = true
508
+ text_overrun_behavior = 3
509
+
510
+ [connection signal ="close_requested" from ="." to ="." method ="_on_close_requested" ]
467
511
[connection signal ="focus_entered" from ="Panel/HBoxContainer/ScrollContainer" to ="." method ="_on_ScrollContainer_focus_entered" ]
468
512
[connection signal ="button_up" from ="Panel/HBoxContainer/ScrollContainer/Panel/PanelContainer/QuitTab" to ="." method ="_on_Tab_pressed" binds = [0 ]]
469
513
[connection signal ="focus_entered" from ="Panel/HBoxContainer/ScrollContainer/Panel/PanelContainer/QuitTab" to ="." method ="_on_Tab_focus_entered" binds = [0 ]]
@@ -488,3 +532,6 @@ layout_mode = 2
488
532
[connection signal ="focus_entered" from ="Panel/HBoxContainer/MarginContainer/SettingsTab" to ="." method ="_on_SettingsTab_focus_entered" ]
489
533
[connection signal ="theme_reload" from ="Panel/HBoxContainer/MarginContainer/SettingsTab/RegionSettings" to ="." method ="_on_theme_reload" ]
490
534
[connection signal ="theme_reload" from ="Panel/HBoxContainer/MarginContainer/SettingsTab/SystemSettings" to ="." method ="_on_theme_reload" ]
535
+ [connection signal ="about_to_popup" from ="FileSystemPopup" to ="FileSystemPopup" method ="_on_about_to_popup" ]
536
+ [connection signal ="close_requested" from ="FileSystemPopup" to ="FileSystemPopup" method ="restore_window_focus" ]
537
+ [connection signal ="focus_exited" from ="FileSystemPopup" to ="FileSystemPopup" method ="restore_window_focus" ]
0 commit comments