splashscreen

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 17 Imported by: 0

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

View Source
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.

func (*App) Manifest

func (inst *App) Manifest() (m app.Manifest)

func (*App) Mount

func (inst *App) Mount(ctx app.MountContextI) (err error)

func (*App) Unmount

func (inst *App) Unmount(ctx app.MountContextI) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL