Add support for shuffle (#3)

This commit adds support for theme shuffles.

To use, pass the first node for the theme into the install_shuffle method and it'll automatically install based on what's selected. 

Note that right now, *all themes in /Themes/ are selected for debug purposes.* This means if you have more than 10 themes in /Themes/ it will not work right now. This will be changed once an interface for selecting themes is done.
This commit is contained in:
Alex Taber
2017-07-24 09:10:44 -04:00
committed by GitHub
parent 37aa9022e1
commit 416135bac4
3 changed files with 207 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ int main(void)
splashes_node->data = NULL;
splashes_node->next = NULL;
prepare_splashes(splashes_node);
printf("%li\n", shuffle_install(theme_node));
}
if (kDown & KEY_START)
{