Mini change

This commit is contained in:
Rekku 2024-09-01 20:54:20 +01:00
parent 04852c04a7
commit a4c26e8575
2 changed files with 13 additions and 26 deletions

View file

@ -15,14 +15,13 @@ func _ready():
# TODO this alowes copy and paste from RTB in logs? # TODO this alowes copy and paste from RTB in logs?
if (content != null and bios_type > 0): if (content != null and bios_type > 0):
$Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer.add_child(content) $Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer.add_child(content)
func _process(delta): func _process(delta):
if Input.is_action_pressed("back_button"): if Input.is_action_pressed("back_button"):
lbhide.visible=true lbhide.visible=true
rbhide.visible=true rbhide.visible=true
queue_free() queue_free()
c
func set_content(new_content): func set_content(new_content):
content = load(new_content).instantiate() content = load(new_content).instantiate()

View file

@ -194,7 +194,7 @@ size_flags_horizontal = 3
unique_name_in_owner = true unique_name_in_owner = true
layout_mode = 2 layout_mode = 2
tab_alignment = 1 tab_alignment = 1
current_tab = 3 current_tab = 1
script = ExtResource("3_id6l4") script = ExtResource("3_id6l4")
[node name="GLOBALS" type="MarginContainer" parent="Background/SplitContainer/MarginContainer/TabContainer"] [node name="GLOBALS" type="MarginContainer" parent="Background/SplitContainer/MarginContainer/TabContainer"]
@ -252,6 +252,16 @@ layout_mode = 2
text = "TATE MODE" text = "TATE MODE"
icon = ExtResource("4_q6hd2") icon = ExtResource("4_q6hd2")
[node name="Widescreen7" type="CheckButton" parent="Background/SplitContainer/MarginContainer/TabContainer/GLOBALS/ScrollContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "RESET RETROCECK"
icon = ExtResource("4_q6hd2")
[node name="Widescreen8" type="CheckButton" parent="Background/SplitContainer/MarginContainer/TabContainer/GLOBALS/ScrollContainer/VBoxContainer/GridContainer"]
layout_mode = 2
text = "RESET ALL EMULATORS"
icon = ExtResource("4_q6hd2")
[node name="decorations_gridcontainer" type="GridContainer" parent="Background/SplitContainer/MarginContainer/TabContainer/GLOBALS/ScrollContainer/VBoxContainer"] [node name="decorations_gridcontainer" type="GridContainer" parent="Background/SplitContainer/MarginContainer/TabContainer/GLOBALS/ScrollContainer/VBoxContainer"]
visible = false visible = false
layout_mode = 2 layout_mode = 2
@ -557,7 +567,6 @@ icon_alignment = 1
vertical_icon_alignment = 0 vertical_icon_alignment = 0
[node name="SYSTEM" type="MarginContainer" parent="Background/SplitContainer/MarginContainer/TabContainer"] [node name="SYSTEM" type="MarginContainer" parent="Background/SplitContainer/MarginContainer/TabContainer"]
visible = false
layout_mode = 2 layout_mode = 2
script = ExtResource("36_wv31h") script = ExtResource("36_wv31h")
metadata/_tab_index = 1 metadata/_tab_index = 1
@ -808,6 +817,7 @@ disabled = true
text = "TK_MOVEFILES" text = "TK_MOVEFILES"
[node name="TK_TROUBLESHOOT" type="MarginContainer" parent="Background/SplitContainer/MarginContainer/TabContainer"] [node name="TK_TROUBLESHOOT" type="MarginContainer" parent="Background/SplitContainer/MarginContainer/TabContainer"]
visible = false
layout_mode = 2 layout_mode = 2
metadata/_tab_index = 3 metadata/_tab_index = 3
@ -845,28 +855,6 @@ popup/item_2/id = 2
popup/item_3/text = "Retroarch" popup/item_3/text = "Retroarch"
popup/item_3/id = 3 popup/item_3/id = 3
[node name="reset_container" type="VBoxContainer" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer"]
layout_mode = 2
[node name="reset_label" type="Label" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer/reset_container"]
layout_mode = 2
text = "TK_RESET"
[node name="reset_separator" type="HSeparator" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer/reset_container"]
layout_mode = 2
[node name="reset_single_button" type="Button" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer/reset_container"]
layout_mode = 2
text = "TK_RESETSINGLE"
[node name="reset_all_button" type="Button" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer/reset_container"]
layout_mode = 2
text = "TK_RESETALL"
[node name="reset_full_button" type="Button" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer/reset_container"]
layout_mode = 2
text = "TK_RESETFULL"
[node name="controls_container" type="VBoxContainer" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer"] [node name="controls_container" type="VBoxContainer" parent="Background/SplitContainer/MarginContainer/TabContainer/TK_TROUBLESHOOT/VBoxContainer"]
layout_mode = 2 layout_mode = 2