Theme and Theme Inheritance

On branch feat/godot-configurator
 Changes to be committed:
	new file:   tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Bold.ttf
	new file:   tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Bold.ttf.import
	new file:   tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Regular.ttf
	new file:   tools/configurator/assets/fonts/OpenDyslexic3/OpenDyslexic3-Regular.ttf.import
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Black.otf
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Black.otf.import
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Bold.otf
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Bold.otf.import
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-ExtraLight.otf
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-ExtraLight.otf.import
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Light.otf
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Light.otf.import
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Regular.otf
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-Regular.otf.import
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-SemiBold.otf
	new file:   tools/configurator/assets/fonts/akrobat/Akrobat-SemiBold.otf.import
	new file:   tools/configurator/assets/fonts/akrobat/akrobat-extrabold-webfont.ttf
	new file:   tools/configurator/assets/fonts/akrobat/akrobat-extrabold-webfont.ttf.import
	new file:   tools/configurator/assets/fonts/munro/munro-narrow.ttf
	new file:   tools/configurator/assets/fonts/munro/munro-narrow.ttf.import
	new file:   tools/configurator/assets/fonts/munro/munro-small.ttf
	new file:   tools/configurator/assets/fonts/munro/munro-small.ttf.import
	new file:   tools/configurator/assets/fonts/munro/munro.ttf
	new file:   tools/configurator/assets/fonts/munro/munro.ttf.import
	new file:   tools/configurator/assets/graphics/Rekku/Rekku-test.xcf
	new file:   tools/configurator/assets/graphics/Rekku/base.png
	new file:   tools/configurator/assets/graphics/Rekku/base.png.import
	new file:   tools/configurator/assets/graphics/Rekku/blink1.png
	new file:   tools/configurator/assets/graphics/Rekku/blink1.png.import
	new file:   tools/configurator/assets/graphics/Rekku/blink2.png
	new file:   tools/configurator/assets/graphics/Rekku/blink2.png.import
	new file:   tools/configurator/assets/graphics/Rekku/eyes-open.png
	new file:   tools/configurator/assets/graphics/Rekku/eyes-open.png.import
	new file:   tools/configurator/assets/graphics/Rekku/mouth-A.png
	new file:   tools/configurator/assets/graphics/Rekku/mouth-A.png.import
	new file:   tools/configurator/assets/graphics/Rekku/mouth-O.png
	new file:   tools/configurator/assets/graphics/Rekku/mouth-O.png.import
	new file:   tools/configurator/assets/graphics/Rekku/mouth-base.png
	new file:   tools/configurator/assets/graphics/Rekku/mouth-base.png.import
	new file:   tools/configurator/assets/graphics/Rekku/rekku-blink-down.png
	new file:   tools/configurator/assets/graphics/Rekku/rekku-blink-down.png.import
	new file:   tools/configurator/assets/graphics/Rekku/rekku-blink-up.png
	new file:   tools/configurator/assets/graphics/Rekku/rekku-blink-up.png.import
	new file:   tools/configurator/assets/graphics/Rekku/rekku-idle.png
	new file:   tools/configurator/assets/graphics/Rekku/rekku-idle.png.import
	new file:   tools/configurator/assets/graphics/Rekku/rekku-speak1.png
	new file:   tools/configurator/assets/graphics/Rekku/rekku-speak1.png.import
	new file:   tools/configurator/assets/graphics/Rekku/rekku-speak2.png
	new file:   tools/configurator/assets/graphics/Rekku/rekku-speak2.png.import
	new file:   tools/configurator/assets/graphics/retrodeck.png
	new file:   tools/configurator/assets/graphics/retrodeck.png.import
	new file:   tools/configurator/assets/themes/accesible_theme.tres
	new file:   tools/configurator/assets/themes/default_theme.tres
	new file:   tools/configurator/assets/themes/modern_theme.tres
	new file:   tools/configurator/assets/themes/retro_theme.tres
	modified:   tools/configurator/components/bios_check/bios_check.gd
	modified:   tools/configurator/main.gd
	modified:   tools/configurator/main.tscn
	modified:   tools/configurator/res/pixel_ui_theme/RetroDECKTheme.tres
This commit is contained in:
monkeyx-net 2024-07-28 19:44:07 +01:00
parent b4df4b8903
commit 5107d330ce
59 changed files with 952 additions and 49 deletions

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://cyolqiyi4h8fq"
path="res://.godot/imported/OpenDyslexic3-Bold.ttf-e08c5bbd6afd96931f6f126bac01c29f.fontdata"
[deps]
source_file="res://assets/fonts/OpenDyslexic3/OpenDyslexic3-Bold.ttf"
dest_files=["res://.godot/imported/OpenDyslexic3-Bold.ttf-e08c5bbd6afd96931f6f126bac01c29f.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://c8lbo5ljgtaaa"
path="res://.godot/imported/OpenDyslexic3-Regular.ttf-64604afa13dc8f16ae68cb4aa3d91c31.fontdata"
[deps]
source_file="res://assets/fonts/OpenDyslexic3/OpenDyslexic3-Regular.ttf"
dest_files=["res://.godot/imported/OpenDyslexic3-Regular.ttf-64604afa13dc8f16ae68cb4aa3d91c31.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://c62ndu2n0vdse"
path="res://.godot/imported/Akrobat-Black.otf-58a387abad411a0ba1e8ede209bbaad1.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/Akrobat-Black.otf"
dest_files=["res://.godot/imported/Akrobat-Black.otf-58a387abad411a0ba1e8ede209bbaad1.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://cmqkbqp753qs5"
path="res://.godot/imported/Akrobat-Bold.otf-7ca68850824f1de1bfa3f2ae834ae562.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/Akrobat-Bold.otf"
dest_files=["res://.godot/imported/Akrobat-Bold.otf-7ca68850824f1de1bfa3f2ae834ae562.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://ca3dbbju6fe4o"
path="res://.godot/imported/Akrobat-ExtraLight.otf-e1e2cfb678c3abe6f88796a61a68d308.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/Akrobat-ExtraLight.otf"
dest_files=["res://.godot/imported/Akrobat-ExtraLight.otf-e1e2cfb678c3abe6f88796a61a68d308.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://su62dpupbik3"
path="res://.godot/imported/Akrobat-Light.otf-3d206ad89efef2fbbb8f590de7e9ab0d.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/Akrobat-Light.otf"
dest_files=["res://.godot/imported/Akrobat-Light.otf-3d206ad89efef2fbbb8f590de7e9ab0d.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://1x3s2oon2g64"
path="res://.godot/imported/Akrobat-Regular.otf-5c1ca00980c7c578431380b5677644fd.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/Akrobat-Regular.otf"
dest_files=["res://.godot/imported/Akrobat-Regular.otf-5c1ca00980c7c578431380b5677644fd.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://dpg8eofna31sc"
path="res://.godot/imported/Akrobat-SemiBold.otf-66f337095e525a327625450750bf4da9.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/Akrobat-SemiBold.otf"
dest_files=["res://.godot/imported/Akrobat-SemiBold.otf-66f337095e525a327625450750bf4da9.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://bakh3m3i3unjc"
path="res://.godot/imported/akrobat-extrabold-webfont.ttf-d5220fd0d634f9cbd6a824afc8413751.fontdata"
[deps]
source_file="res://assets/fonts/akrobat/akrobat-extrabold-webfont.ttf"
dest_files=["res://.godot/imported/akrobat-extrabold-webfont.ttf-d5220fd0d634f9cbd6a824afc8413751.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://gv17pcf5f2lp"
path="res://.godot/imported/munro-narrow.ttf-eebb0ff361c143ec171a43475490d53c.fontdata"
[deps]
source_file="res://assets/fonts/munro/munro-narrow.ttf"
dest_files=["res://.godot/imported/munro-narrow.ttf-eebb0ff361c143ec171a43475490d53c.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://b6eqmq2kp80je"
path="res://.godot/imported/munro-small.ttf-9be0aa72f914e623b8c93addb3ec9706.fontdata"
[deps]
source_file="res://assets/fonts/munro/munro-small.ttf"
dest_files=["res://.godot/imported/munro-small.ttf-9be0aa72f914e623b8c93addb3ec9706.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View file

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://q405aelgnmvo"
path="res://.godot/imported/munro.ttf-c45ff1701342af95744d8196bd62e7d3.fontdata"
[deps]
source_file="res://assets/fonts/munro/munro.ttf"
dest_files=["res://.godot/imported/munro.ttf-c45ff1701342af95744d8196bd62e7d3.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d4gbeecdhkoot"
path="res://.godot/imported/base.png-96d273a9ca39274efc2088db6661c3c0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/base.png"
dest_files=["res://.godot/imported/base.png-96d273a9ca39274efc2088db6661c3c0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bqowe5c6fqr6g"
path="res://.godot/imported/blink1.png-a7112f25c505f2c80d032904b5d05206.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/blink1.png"
dest_files=["res://.godot/imported/blink1.png-a7112f25c505f2c80d032904b5d05206.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://coocjx0uygkpa"
path="res://.godot/imported/blink2.png-fa7262aa06475877c5e1c3b08a05c761.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/blink2.png"
dest_files=["res://.godot/imported/blink2.png-fa7262aa06475877c5e1c3b08a05c761.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://qupd0iuumdax"
path="res://.godot/imported/eyes-open.png-12ace6662f3958e72f4ee400ce9f7afc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/eyes-open.png"
dest_files=["res://.godot/imported/eyes-open.png-12ace6662f3958e72f4ee400ce9f7afc.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://de310sge5dty4"
path="res://.godot/imported/mouth-A.png-a07918bebdfb9cd640681a89c96cd2c7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/mouth-A.png"
dest_files=["res://.godot/imported/mouth-A.png-a07918bebdfb9cd640681a89c96cd2c7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csl6y57koqhxq"
path="res://.godot/imported/mouth-O.png-3ed1177bd680b88e216f65d342be10ba.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/mouth-O.png"
dest_files=["res://.godot/imported/mouth-O.png-3ed1177bd680b88e216f65d342be10ba.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c630uihetgrgv"
path="res://.godot/imported/mouth-base.png-06a0314e18bcac1bd38fee549d93ae6c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/mouth-base.png"
dest_files=["res://.godot/imported/mouth-base.png-06a0314e18bcac1bd38fee549d93ae6c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dym6yad66luyl"
path="res://.godot/imported/rekku-blink-down.png-bbe8a3f4ef134d9abc668e102c52f605.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/rekku-blink-down.png"
dest_files=["res://.godot/imported/rekku-blink-down.png-bbe8a3f4ef134d9abc668e102c52f605.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://pjf86q3d6375"
path="res://.godot/imported/rekku-blink-up.png-175fca406b6d41d5ae2d780d29de011e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/rekku-blink-up.png"
dest_files=["res://.godot/imported/rekku-blink-up.png-175fca406b6d41d5ae2d780d29de011e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://jw1s5l1dhufg"
path="res://.godot/imported/rekku-idle.png-7c0a85c588152bdca2bb087f15db3f70.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/rekku-idle.png"
dest_files=["res://.godot/imported/rekku-idle.png-7c0a85c588152bdca2bb087f15db3f70.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dp0lb1sy2cl0i"
path="res://.godot/imported/rekku-speak1.png-0fb6149bdc95d2bc0809fe376deca4d7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/rekku-speak1.png"
dest_files=["res://.godot/imported/rekku-speak1.png-0fb6149bdc95d2bc0809fe376deca4d7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://r7fihohhmfau"
path="res://.godot/imported/rekku-speak2.png-043758fe5b13d27496228cc3e24069c9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/Rekku/rekku-speak2.png"
dest_files=["res://.godot/imported/rekku-speak2.png-043758fe5b13d27496228cc3e24069c9.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://brf74puvpnwsd"
path="res://.godot/imported/retrodeck.png-35b6cd32271c6756d76a442f4642a509.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/retrodeck.png"
dest_files=["res://.godot/imported/retrodeck.png-35b6cd32271c6756d76a442f4642a509.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,6 @@
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://co27jgr76wvcl"]
[ext_resource type="FontFile" uid="uid://c8lbo5ljgtaaa" path="res://assets/fonts/OpenDyslexic3/OpenDyslexic3-Regular.ttf" id="1_d8f12"]
[resource]
default_font = ExtResource("1_d8f12")

View file

@ -0,0 +1,3 @@
[gd_resource type="Theme" format=3 uid="uid://hhc60cllcg47"]
[resource]

View file

@ -0,0 +1,6 @@
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://dcyix4kssqal2"]
[ext_resource type="FontFile" uid="uid://1x3s2oon2g64" path="res://assets/fonts/akrobat/Akrobat-Regular.otf" id="1_qs1qb"]
[resource]
default_font = ExtResource("1_qs1qb")

View file

@ -0,0 +1,6 @@
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://3ljv5xgd4c1u"]
[ext_resource type="FontFile" uid="uid://q405aelgnmvo" path="res://assets/fonts/munro/munro.ttf" id="1_kirwi"]
[resource]
default_font = ExtResource("1_kirwi")

View file

@ -8,16 +8,17 @@ var console: bool = false
var BIOS_COLUMNS_BASIC := ["BIOS File Name", "System", "Found", "Hash Match", "Description"]
var BIOS_COLUMNS_EXPERT := ["BIOS File Name", "System", "Found", "Hash Match", "Description", "Subdirectory", "Hash"]
@onready var bios_type:int = get_tree().current_scene.bios_type
@onready var custom_theme: Theme = get_tree().current_scene.custom_theme
func _ready():
$".".theme = custom_theme
#Check if XDG_RUNTIME_DIR is set and choose temp file location
if OS.has_environment("XDG_RUNTIME_DIR"):
#bios_tempfile = OS.get_environment("XDG_RUNTIME_DIR") + "/godot_temp/godot_bios_files_checked.tmp"
bios_tempfile = "/var/config/retrodeck/godot/godot_bios_files_checked.tmp"
else:
bios_tempfile = "/var/config/retrodeck/godot/godot_bios_files_checked.tmp"
var table := $Table
classFunctions = ClassFunctions.new()
add_child(classFunctions)

View file

@ -8,10 +8,14 @@ var wrapper_command: String = "../../tools/retrodeck_function_wrapper.sh"
var log_text = "GD_Configurator: "
var log_parameters: Array = ["log", "i", log_text]
var log_results: Dictionary
var theme_option: OptionButton
signal signal_theme_changed
var custom_theme: Theme = $".".theme
func _ready():
class_functions = ClassFunctions.new()
_get_nodes()
_connect_signals()
add_child(class_functions) # Needed for threaded results
var children = findElements(self, "Control")
for n: Control in children: #iterate the children
@ -23,6 +27,25 @@ func _ready():
func _get_nodes() -> void:
status_code_label = get_node("%status_code_label")
theme_option = get_node("%theme_optionbutton")
func _connect_signals() -> void:
#signal_theme_changed.connect(_conf_theme)
theme_option.item_selected.connect(_conf_theme)
signal_theme_changed.emit(theme_option.item_selected)
func _conf_theme(index: int) -> void:
match index:
1:
custom_theme = preload("res://assets/themes/default_theme.tres")
2:
custom_theme = preload("res://assets/themes/retro_theme.tres")
3:
custom_theme = preload("res://assets/themes/modern_theme.tres")
4:
custom_theme = preload("res://assets/themes/accesible_theme.tres")
$".".theme = custom_theme
func _input(event):
if event.is_action_pressed("quit"):

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=27 format=3 uid="uid://61f6m4r1mpan"]
[gd_scene load_steps=28 format=3 uid="uid://61f6m4r1mpan"]
[ext_resource type="Texture2D" uid="uid://bv6vh33cnfaw4" path="res://icon.svg" id="1_axfei"]
[ext_resource type="Script" path="res://main.gd" id="1_obpq7"]
[ext_resource type="Theme" uid="uid://hhc60cllcg47" path="res://assets/themes/default_theme.tres" id="1_xyph5"]
[ext_resource type="Script" path="res://TabContainer.gd" id="3_id6l4"]
[ext_resource type="AudioStream" uid="uid://dig4pco500pyt" path="res://res/configurator.mp3" id="3_xivj6"]
[ext_resource type="Texture2D" uid="uid://dx0u5hiwxfgu5" path="res://res/pixel_ui_theme/8x8_ui_elements.png" id="4_2tuu4"]
@ -90,6 +91,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_xyph5")
script = ExtResource("1_obpq7")
metadata/bios_type = 0
@ -726,6 +728,24 @@ layout_mode = 2
size_flags_vertical = 1
text = "|| ------( )--------"
[node name="theme_optionbutton" type="OptionButton" parent="Background/MarginContainer/TabContainer/TK_CONFIGURATOR/ScrollContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
item_count = 5
selected = 0
popup/item_0/text = "Choose Theme"
popup/item_0/id = 0
popup/item_0/disabled = true
popup/item_0/separator = true
popup/item_1/text = "Default"
popup/item_1/id = 1
popup/item_2/text = "Retro"
popup/item_2/id = 2
popup/item_3/text = "Modern"
popup/item_3/id = 3
popup/item_4/text = "Accessible"
popup/item_4/id = 4
[node name="TK_ABOUT" type="MarginContainer" parent="Background/MarginContainer/TabContainer"]
visible = false
layout_mode = 2

File diff suppressed because one or more lines are too long