Commit Graph

255 Commits

Author SHA1 Message Date
eb74a8ba02 Add screen.c and stb_image 2017-07-28 16:09:10 -04:00
Alex Taber
416135bac4 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.
2017-07-24 09:10:44 -04:00
Alex Taber
37aa9022e1 Added splash support (#2)
Combination of quality of life improvements, bugfixes and splash support:

* unzip_file now works with any file, not just a theme

* Made linked list nodes generic so they work for both splashes and themes

* Fixed bug in previous commit with deleting the zip file once it was unzipped

* All zips in /Splashes/ are now extracted, as with /Themes/

* Splashes are all added to the linked list properly

* Splashes can be installed given a path, but only works on Luma. Undecided as to whether or not I'm going to change this.

TODO:

* Automatically change the luma configuration to enable splash screens

* MAYBE add support for other CFWs (if there's an interest). Maybe set a folder to extract splashes to in some kind of user settings?
2017-07-21 20:49:17 -04:00
Alex Taber
217846bca4 Initial basic functionality commit
What this commit adds:
* Ability to apply a theme, given a folder
* Extract all .zip files in /Themes/ into a relevant folder
* Get all theme metadata from info.smdh
* Proper unicode handling

What's still needed for initial release:
* Theme shuffling
* GUI
2017-07-20 17:19:07 -04:00
Alex Taber
9d405d958a Initial commit 2017-07-10 17:48:14 -04:00