The generated raylib wrappers forward every public symbol, so an app
that builds raylib without the audio module (SUPPORT_MODULE_RAUDIO=0)
fails to link on the audio forwarders. KRYON_COMPAT_AUDIO=0 now skips
the audio section (the last module section in raylib.h) when generating
the wrappers; the null backend keeps the complete stub set.
OpenGL ES 2 has no glReadBuffer, so the front-buffer override was a
no-op and post-swap reads return cleared buffers on Mesa's software
drivers. With INBE_SHOT_ARM=1 the front-end EndDrawing wrapper
flushes the render batch, glReadPixels the completed back buffer
BEFORE the swap, and LoadImageFromScreen returns that frame (flipped,
alpha flattened). Backend symbols are weak so null/canvas links stay
clean.
raylib's stock readback runs after SwapBuffers and returns a cleared/
transparent back buffer on software GL (llvmpipe under headless X and
CI xvfb) — every screenshot export came out ~100% transparent. The
override reads GL_FRONT (the presented frame), flips, and flattens
alpha so the ARGB window visual can't hollow out external captures
either.
raylib's TakeScreenshot prefixes CORE.Storage.basePath unconditionally;
on the SDL backend that is the binary's directory, so an absolute output
path arrived as "<bindir>//abs/path" and the export failed silently.
TakeScreenshot is now a front-end surface symbol (src/backend/kry_screenshot.c):
absolute paths are used as-is, relative paths keep resolving against the
application directory like before. Pixels come from LoadImageFromScreen(),
so no backend internals are needed and the null backend stays a stub.
A cartridge that comes out thin (inbe's pet screen: an egg widget,
locale text, Paragraphs) was silently missing everything k2b cannot
lower. The builder now tracks dropped call kinds per file and prints
one stderr line: 'k2b: <file>: N call kinds not in KRB: Paragraph x2
draw_egg x1 ...' - pet_screen.kry reports seven, which is the honest
content of the gap.
Everything kryon owns is now addressable and interactable through one
file-tree surface: /info, /theme tokens, /input (mouse position, buttons,
keys, text, wheel - readable and writable), and /widgets (the live
ui_inspect tree with per-widget kind/text/bounds/source plus a tap that
clicks for real).
Input injection is new underneath: kry_inject keeps a pure-state event
queue whose edges derive at each pump (raylib-style previous-vs-current),
and the generated backend wrappers consult it before platform input, so
injected events reach app code that queries GetMousePosition or
IsMouseButtonReleased directly. KryonInjectPump runs from
UpdateKeyPlatformState; injected mouse positions serve for one frame
(two for taps) so the real mouse keeps working. KryTTap/KryTType/
KryTKey in kryon_test.h now inject for real instead of recording
strings.
ui_inspect gained SetUIInspectVisible so the SFS can record the widget
tree without arming the click-stealing overlay. tests/sfs_test.c covers
listing/reading every namespace, edge semantics, tap-to-UIHandleClick,
and the KryT helpers; wired into make test (suite green).