mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 14:35:39 +00:00
WallK
671623dd4f
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
17 lines
400 B
GDScript
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()
|