RetroDECK/tools/configurator/components/popup.gd
WallK 671623dd4f Full BIOS check functionality, temp file management
Added BIOS check (both basic and expert)
Blocking godot until bios files are checked (to check if ok)
Calling function wrapper
Added conditions to check for runtime dir env var
Changed fallback dir
2024-03-25 12:22:36 +02:00

17 lines
400 B
GDScript

extends Control
var content = null
func _ready():
if (content != null):
$Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer.add_child(content)
func set_content(new_content):
content = load(new_content).instantiate()
func set_title(new_title):
$Panel/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer/Label.text = new_title
func _on_back_pressed():
queue_free()