Commit Graph

16 Commits

Author SHA1 Message Date
Théo B
546d459696 Performance Improvements
Pass theme list & its entries around by reference rather than copying them.
Fix bug in async icon loading that caused icons to be loaded multiple times.

Original PR by @LiquidFenrir
2024-05-10 17:43:47 -04:00
Dylan G
aba2cd5f18 Finally update copyright; Flask meta files removed 2020-12-24 23:38:58 +00:00
05b56b1aa1 Add BGM Preview Functionality
Some code adapted from Themely. Thanks to ErmanSayin
2018-05-09 22:26:39 -04:00
95d8808a73 Copyright Update
* Replaced contributors section in README with CONTRIBUTORS.md
* Updated copyright notice to include all contributors
* Updated SMDH
2018-04-10 16:09:10 -04:00
LiquidFenrir
70e086b20c adds dynamic preview loading and silence minizip warnings (#11)
* make use of the return value for safety

* get rid of warnings
(sizeof(wchar_t) is the same as sizeof(u32), so no problem there)

* dynamic preview loading
fix crash when too many themes have previews available
2017-08-31 21:57:08 -04:00
LiquidFenrir
ebd2a9d6ae Several improvements (#9)
* fix icon filename

* update pp2d to fix preview problem

* several improvements:
- rely on a single header for simple/common headers
- cleaned up main by putting the interface drawing function in its own file
- load previews from .zip themes (may cause some loading times when launching
- only need 1 shuffle image thanks to pp2d's blending abilities

* not needed anymore

* fix preview color and position

* forgot

* add proper icon loading
thanks steveice10 for bannertool which this was pretty much taken from

* only add proper themes to the list

* add slightly more space between the icon and the name

* not monospace, the little movement every blink is annoying

* fix typo
2017-08-31 07:55:00 -04:00
3fa0d36e41 Add LICENSE header, update README 2017-08-29 08:15:28 -04:00
129eef0f38 Fix Unicode support (thanks @Stary2001) 2017-08-27 23:46:43 -04:00
87b6bb11d1 Add smdh parsing (errors out for some reason) 2017-08-26 19:24:17 -04:00
2654c1dfa7 Add unicode functions; fix really really dumb bug with theme installation from folder. 2017-08-26 16:40:36 -04:00
5fb9d86b62 Nani the fuck 2017-08-09 08:39:33 -04:00
Alex Taber
99d9dd1206 More stuff 2017-08-02 15:54:40 -04:00
de719f9f01 Delete source 2017-08-01 17:15:40 -04:00
0d59b5deea 99% working. Only issues are: data aborts when installing a theme after viewing a preview, bgm only works when installed as part of a theme shuffle. Single themes are silent 2017-07-28 23:12:22 -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