Final docs

This commit is contained in:
2026-06-16 13:07:21 -05:00
parent c0a2ae234f
commit 43d0593872
4 changed files with 127 additions and 22 deletions
+10 -3
View File
@@ -97,6 +97,13 @@ eventSubscribe(&state.onComplete, myHandler, myUserPtr);
## Where events are used
- `inputactiondata_t`: `onPressed`, `onReleased` per action
- Any engine subsystem that exposes hooks (network connect/disconnect,
asset batch completion, etc.)
| Subsystem | Event | Fires when |
|-----------|-------|-----------|
| `inputactiondata_t` | `onPressed`, `onReleased` | Action button state changes |
| `uitextbox_t` | `onPageComplete` | Typewriter scroll reveals the full page |
| `uitextbox_t` | `onLastPage` | Last page is fully scrolled |
| `uifullbox_t` | `onTransitionEnd` | Colour transition animation completes |
| `uiloading_t` | `onShow` / `onHide` | Loading indicator fade completes |
| Asset system | `assetbatch_t` callback | All entries in a batch reach LOADED/ERROR |
See `.claude/ui.md` for the UI event details.