Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Homescreen app into subfolder #2

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

dedmen
Copy link

@dedmen dedmen commented Jan 31, 2025

  • Split Homescreen out into separate app
  • Add infrastructure to have apps in subfolders/addons
  • Added onClose events for apps (so they can clean up after themselves)
  • Make homescreen use a controls group to store apps (so we can delete everything at once)

Todo:
The phone itself should create a "app-area" controls group.
After app is closed, the phone should clear that area (in case any app leaves something behind or doesn't implement onClose properly)
When an app is opened, pass only the appArea to it, it can then create its contents right into the appArea.
Then we also don't need to specify phone height/width, because the app can read the size of the appArea, and its easier for us to change the size.

@SpicyBagpipes SpicyBagpipes merged commit 9ca8eed into SpicyBagpipes:banana-phone Jan 31, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants