forked from flipperdevices/flipperzero-firmware
-
-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This accomplishes a few things: - Retype vars introduced in previous commits to match format of existing project code. - Move common elements to a single struct for the whole application. This also removes the struct for each of the two current views and passes around the main struct as callback contexts. - Remove the use of view models as copies of data and instead point the model for each view at the main struct. All of the draw callbacks for existing views end up needing this data and only have access to a view model at runtime. - Partial cleanup of circular dependencies and unneeded variables. Some headers had circular includes which would compile but caused issues.
- Loading branch information
1 parent
a75ac8f
commit 4277b04
Showing
6 changed files
with
196 additions
and
265 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.