Expand description
Text overlay (MILK_MSG.INI) state and lifecycle.
Holds the parsed message definitions (MessageDef) and the
active list with per-instance lifecycle state. Each tick computes
the current fade alpha for every active message and produces a
list of MessageRenderInstances the renderer turns into glyph
quads.
Trigger surface (keybinds wired in the GUI layer, ยง15):
Tโ cycle through the loaded message slots in INI order.Ctrl+Yโ clear every active message immediately.
Also exposes a one-shot transient API (show_transient) used by
the MPRIS auto-title path: when MPRIS reports a new track title,
the engine spawns a temporary message with a synthesised default
style (centred, fade-in / sustain / fade-out).
Structsยง
- Active
Message ๐ - One live message instance.
- Message
Manager - Message system: definitions + active instances + cycle cursor.
- Message
Render Instance - Per-frame snapshot of one active message, fed to the renderer.
Mirrors a tiny subset of
MessageDefโ the renderer only needs positioning + size + colour + the current fade alpha.