Documentation
¶
Overview ¶
Package splashscreen is a windowed keelson app (ADR-0026 AppI) that presents the project's splash artwork alongside two companion panes:
- Splash — the bundled grayscale artwork, scaled to the window.
- About — name, version, copyright and build/run provenance.
- NOTICE — the project NOTICE, rendered verbatim.
The window chrome (title bar, drag, resize, close) is owned by the runtime; this app renders only the body. The splash asset is embedded (see app_register.go); the NOTICE copy under assets/ is refreshed from the repo-root NOTICE via the go:generate directive in app_register.go.
Index ¶
Constants ¶
const ManifestId app.AppIdT = "github.com/stergiotis/boxer/apps/splashscreen"
ManifestId is the stable AppI identity (ADR-0026: the Go import path).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is the per-window splashscreen instance.
func (*App) Frame ¶
func (inst *App) Frame(ctx app.FrameContextI) (err error)
Frame renders one frame of the splashscreen window body. The host has already pre-pushed a window-unique salt onto inst.ids via c.IdScope (windowhost.renderWindowBody, ADR-0026 §SD9), so widget ids derived from inst.ids are unique across all concurrently open instances — the app must not Reset() the stack or wrap the body in its own instance salt (doing so discards the host salt and collides with sibling apps that share a label string). When driven outside the host (the tour calls Frame directly), the caller must bind inst.ids to its own scoped stack first.