Add overlay components 176-195; pixel Harbor and Kit.Cue

Dialogs on DialogBase with focusable panels that harbor parked focus,
popovers on PopoverBase, bubbles, drawers, sheets, a lightbox, an RPG
dialogue box, notifications, a pause menu and a dithered title card.
Kit.Cue moves from feedback to pixel.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 23:11:46 -04:00
1 parent 03680980da
commit 5c3c883b7d
37 files changed
+2835 -31

No files matched your search

+3 -1
View File
@@ -48,6 +48,8 @@ type frame struct {
cur Settings
at time.Time
typing bool
// harbor holds the focus of controls turning off.
harbor *ui.Element
}
type frameKey struct{}
@@ -59,7 +61,7 @@ func Use(c *ui.Context, s Settings) {
if f.cur.Palette != s.Palette {
slog.Debug("8bit: palette", "name", s.Palette.Name)
}
f.cur, f.at, f.typing = s, c.Now(), false
f.cur, f.at, f.typing, f.harbor = s, c.Now(), false, nil
c.SetTheme(theme(s.Palette))
}