Add theme dump functionality

This commit is contained in:
Alex Taber
2020-12-24 14:34:56 -05:00
parent 17afdbaae2
commit a266203a92
6 changed files with 110 additions and 3 deletions

View File

@@ -55,6 +55,8 @@ typedef enum {
INSTALL_LOADING_REMOTE_PREVIEW,
INSTALL_LOADING_REMOTE_BGM,
INSTALL_DUMPING_THEME,
INSTALL_NONE,
} InstallType;
@@ -81,6 +83,8 @@ typedef enum {
TEXT_INSTALL_LOADING_REMOTE_PREVIEW,
TEXT_INSTALL_LOADING_REMOTE_BGM,
TEXT_INSTALL_DUMPING_THEME,
// Other text
TEXT_VERSION,

View File

@@ -128,7 +128,7 @@ Instructions_s extra_instructions[3] = {
},
{
"\uE07B Browse ThemePlaza",
NULL,
"\uE07C Dump Current Theme"
},
{
"\uE004 Sorting menu",
@@ -142,4 +142,4 @@ Instructions_s extra_instructions[3] = {
},
};
#endif
#endif

View File

@@ -75,6 +75,8 @@ Result bgm_install(Entry_s theme);
Result shuffle_install(Entry_List_s themes);
Result dump_theme(void);
void themes_check_installed(void * void_arg);
#endif
#endif