UX Overhaul (#305)

* Fix bgm checking bug

* Converted install and menu options into button menus rather than combos

* Fix sort order

* Various touch screen changes so that most functions can be done via touch

 * Dim theme list when navigating menus

* Translation framework implemented

* bug when no themes loaded fixed

* Fix theme preview regression introduced in d037691
This commit is contained in:
Alex Taber
2024-05-12 14:24:43 -04:00
committed by GitHub
parent 546d459696
commit a43cbcca74
23 changed files with 1060 additions and 536 deletions

View File

@@ -27,6 +27,7 @@
#include "unicode.h"
#include "fs.h"
#include "draw.h"
#include "ui_strings.h"
void splash_delete(void)
{
@@ -54,7 +55,7 @@ void splash_install(const Entry_s * splash)
if(size == 0 && bottom_size == 0)
{
throw_error("No splash.bin or splashbottom.bin found.\nIs this a splash?", ERROR_LEVEL_WARNING);
throw_error(language.splashes.no_splash_found, ERROR_LEVEL_WARNING);
}
else
{
@@ -65,7 +66,7 @@ void splash_install(const Entry_s * splash)
if(config_buf[0xC] == 0)
{
free(config_buf);
throw_error("WARNING: Splashes are disabled in Luma Config", ERROR_LEVEL_WARNING);
throw_error(language.splashes.splash_disabled, ERROR_LEVEL_WARNING);
}
}
}
@@ -127,4 +128,4 @@ void splash_check_installed(void * void_arg)
}
}
#endif
}
}