Asset Packs: Warning for packs that contain icons and fonts for RAM usage#344
Open
956MB wants to merge 3 commits intoNext-Flip:devfrom
Open
Asset Packs: Warning for packs that contain icons and fonts for RAM usage#344956MB wants to merge 3 commits intoNext-Flip:devfrom
956MB wants to merge 3 commits intoNext-Flip:devfrom
Conversation
- Checks asset packs if they contain Fonts/Icons and adds "Size Warning" list entry that opens new scenes. - First scene is just a warning with text explaining that fonts and icons remain loaded and use up memory. - Second scene uses the file list widget to display all the selected asset packs fonts and icons, as well as their sizes. This information is just about being extra informative. No actions can be done on any of the files shown.
956MB
added a commit
to 956MB/Momentum-Firmware
that referenced
this pull request
Jan 5, 2025
Member
Author
956MB
added a commit
that referenced
this pull request
Jan 2, 2026
956MB
added a commit
that referenced
this pull request
Jan 2, 2026
This branch consolidates several [PRs](https://github.com/Next-Flip/Momentum-Firmware/issues?q=is:pr+is:open+author:956MB) (UI fixes and additions) into a usable build. Flash space is extremely low as is, and excluding some weather stations and other SubGHz protocols is necessary to be able to fit these PRs and allow for further changes. The ones that have been *temporarily* excluded are hopefully uncommon or legacy protocols that won't be missed if you're using this branch. The point of this branch being primarily UI features. * #327 * #344 * #354 * #385 Excluded protocols: * Uncommon/Regional gate, garage, and alarm protocols: `nero_sketch`, `nero_radio`, `ido`, `kia`, `power_smart`, `doitrand`, `ansonic`, `smc5326`, `linear_delta3`, `dooya`, `kinggates_stylo_4k`, `dickert_mahs`, `hay21`, `feron`, `elplast`, `schrader_gg4`, `tpms_generic`. * Obscure weather-station protocols: `solight_te44`, `infactory`, `acurite_986`, `auriol_ahfl`, `auriol_hg0601a`, `emos_e601x`, `gt_wt_02`, `gt_wt_03`, `kedsum_th`, `nexus_th`, `oregon_v1`, `thermopro_tx4`, `tx_8300`, `vauno_en8822c`, `wendox_w6726`.
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What's new
Asset Packs: Warning for packs that contain icons and fonts for RAM usage
Checks asset packs if they contain Fonts and/or Icons and adds "Size Warning" list entry, as well as a warning screen describing the ram usage of font/icons in the selected pack, and an info list of all the sizes of the files in the pack.
The information in the info screen is just about being extra informative. No actions can be done on any of the files shown.
Screenshots
Packs without fonts/icons, all is normal
'Size Warning' entry added to the list in
MNTM > Interface > GraphicsWarning screen (optional 'Back' button to just not look at the size info)
Size info for all font/icon files
For the reviewer