Onboarding: Add layout and depth pages

This commit is contained in:
James Babcock committed 2026-10-10 21:52:19 -07:00
1 parent 1d257e8bb6
commit 6b1e64c5ac
17 files changed
+766 -74

No files matched your search

+8
View File
@@ -15,6 +15,14 @@ export type OnboardingNav = {
* viewport and handles every other gesture.
*/
export interface OnboardingPage {
/**
* Show the page fullscreen: the whole 640×480 panel, with the app switcher
* and status bar hidden. Otherwise it is an ordinary window in the
* chosen layout.
*/
readonly fullscreen?: boolean;
/** Whether the page belongs in the flow right now; skipped both ways when false. */
applies?(): boolean;
/** The page became current, going forward or back. */
enter?(): void;
paint(image: GrayImage, focused: boolean): void;