Kryon Feature Matrix
What every widget and feature supports, per compile target and per renderer
backend. For how backends are selected and implemented see docs/BACKENDS.md;
for the cartridge binary format see docs/KRB_FORMAT.md; for the language see
docs/KRY_LANGUAGE_SPEC.md. Keep this file current with the code, and
regenerate the browsable view after every change:
python3 scripts/feature-matrix-html.py writes docs/FEATURE_MATRIX.html.
Legend: ✅ available · ◐ partial (reason given) · ✗ not available · — not
applicable. C is the libkryon.a C API; k2c is what .kry reaches
through the C compiler — always equal to C, because the language is C-close
and every library call is a legal statement (the widget-statement whitelist
below only adds sugar). The other compilers lower subsets, which is where
the columns diverge.
The pipeline
| Target |
Producer |
Runtime |
Status |
| C |
k2c |
cc + libkryon.a (raylib/null/canvas/libdraw surface backend) |
Most complete path; production use |
| C++ |
k2cpp |
c++ + libkryon.a; C++ codegen with C linkage, same lowering as k2c |
Parity port of the k2c backend |
| Go |
k2go |
go/kryon native Go package, no cgo |
Declarative subset; executable CI gate |
| JS/Web |
k2js |
web/kryon-runtime.js ESM recorder/presenter |
Syntax, Node recorder snapshots, and generated runtime state parity gated |
| KRB cartridge |
k2b |
src/krb/krb.c via the KryBackend vtable |
Format v2; byte-exact across engines; CI-gated |
| KIR |
k2kir |
— (inspection artifact) |
Debugging/tooling only |
Two backend tiers exist (see docs/BACKENDS.md):
- Tier A — surface backends: implement the ~700-symbol raylib-compatible
surface (
include/kryon_compat.generated.h), selected at link time via
KRYON_BACKEND=raylib|null|canvas|libdraw. The whole widget catalog runs on
these.
- Tier B — cartridge hosts: implement the ~20-function
KryBackend vtable
(include/kry_backend.h), selected at runtime. Only the KRB widget
subset runs on these.
Widget statement whitelist (.kry frontend)
parse_widget_statement (cmd/kir/kir_parse.c) recognizes 102 widget names.
k2c compiles any library call regardless (plain call statement); k2cpp shares that lowering (C++ output, C linkage); k2go lowers
the full whitelist onto its Runtime interface (except Canvas, below);
k2js records whitelisted standalone widget calls as browser-loadable runtime
operations; and k2b lowers a subset of it:
Background Text LabelText BulletText ValueBool ValueInt ValueUInt ValueFloat Paragraph TextLines Rect Line Bevel Icon Picture ImageWithBg ImageButton Button Selectable CheckboxFlags SmallButton InvisibleButton ArrowButton Bullet Separator SeparatorText ColorEdit3 ColorEdit4 ColorPicker3 ColorPicker4 ColorButton Tooltip IconButton Href TextField TextArea Dropdown Slider Toggle Checkbox Radio Progress Spinbox Combobox Screen Column Row Stack End Scroll PlotLines PlotHistogram DragFloat DragInt DragFloatRange2 DragIntRange2 SliderFloat SliderInt VSliderFloat VSliderInt SliderAngle InputFloat InputInt InputDouble Canvas BeginDisabled EndDisabled Modal ActionModal MessageDialog ConfirmDialog PromptDialog TitleBar MenuBar PopupMenu ContextMenu TabBar BottomNav TopNav Toolbar ShowToast ShowToastFor LabelFrame Notebook PanedView Collapsible ListBox TreeView SourceView TableView ColorPicker TabItemButton ClosableTabBar DragDropSource DragDropTarget MultiSelectList CanvasGrid SelectableText
(Canvas is whitelisted but no Canvas(...) widget exists — examples call
BeginCanvas directly. Scroll coverage uses the C BeginUIScrollContainer /
EndUIScrollContainer API.)
Widget matrix
The upstream widget-family crosswalk and its remaining semantic gaps are kept
in IMGUI_WIDGET_COVERAGE.md.
Columns: C = the C API · k2c = .kry→C codegen (always equal to C) · k2cpp = .kry→C++ codegen (mirrors k2c) · k2go = .kry→Go codegen
(pure Go importing go/kryon as kryon and calling kryon.<Widget>) · Go =
hand-written Go via the go/kryon package API · KRB = lowered into a
cartridge by k2b.
Retained-tree caveat that applies to the whole C column: #ui lowering
records ~29 widget kinds, while the retained painter covers BACKGROUND, TEXT,
RECT, LINE, BUTTON, TEXT_FIELD, TEXT_AREA, SLIDER, TOGGLE, and CHECKBOX. It
routes retained interaction for BUTTON, TEXT_FIELD, TEXT_AREA, SLIDER, TOGGLE,
and CHECKBOX;
every other kind renders through its immediate-mode call during the
declaration pass (src/ui/ui_tree.c).
UI/Display
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| Background |
✅ |
✅ |
✅ |
✅ |
✅ Background |
✅ node |
| Text |
✅ |
✅ |
✅ |
✅ |
✅ Text |
✅ node |
| Text properties (bounds, wrap, clip, color, alignment, disabled) |
✅ |
✅ |
✅ |
✅ |
✅ Text(TextProps) |
✅ |
| Label/value and bullet text |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| Value helpers (bool, int, unsigned, float) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| Paragraph (rich text + inline icons) |
✅ |
✅ |
✅ |
✅ |
✅ Paragraph |
✗ |
| TextLines |
✅ |
✅ |
✅ |
✅ |
✅ TextLines |
✗ |
| Rect |
✅ |
✅ |
✅ |
✅ (+ RectGradientH) |
◐ DrawRectangle* primitives |
✅ node |
| Line |
✅ |
✅ |
✅ |
✅ |
✅ DrawLine |
✅ |
| Bevel |
✅ |
✅ |
✅ |
✅ |
✅ Bevel |
✅ |
| Icon sheets (MingCute UI plus 6 full-color families) |
✅ |
✅ |
✅ |
✅ (by icon type) |
✅ Icon |
✗ |
| Image/Picture |
✅ |
✅ |
✅ |
✅ kryon.Picture(kryon.PictureProps) |
✅ kryon.Picture |
✅ node (embedded asset or PNG) |
| ImageWithBg / ImageButton |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| PlotLines / PlotHistogram |
✅ |
✅ |
✅ |
✅ |
✅ PlotLines / PlotHistogram |
✗ |
UI/Input
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| Button (ButtonProps) |
✅ |
✅ |
✅ |
✅ |
✅ kryon.Button(kryon.ButtonProps) / kryon.Button("Save") |
✅ node |
| Selectable / CheckboxFlags |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| Legacy positional buttons |
✅ low-level only |
✅ only for existing C callers |
✅ only for existing C callers |
✗ use kryon.Button(kryon.ButtonProps) |
✗ generated Go uses kryon.Button |
◐ BUTTON style byte |
| IconButton / PaddedIconBtn |
✅ |
✅ |
✅ |
◐ IconButton only |
◐ IconButton only |
✗ |
| InfoButton |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Href (TextLink / TextLinkOpenURL) |
✅ |
✅ |
✅ |
✅ |
✅ Href |
✗ |
| IconLink |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| TextField |
✅ |
✅ |
✅ |
✅ |
✅ kryon.TextField(kryon.TextFieldProps) / kryon.TextField("Name", &value) |
✅ TEXTINPUT node |
| Read-only text |
✅ |
✅ |
✅ |
✅ via Text |
✅ Text(TextProps) |
✗ |
| TextArea (selection, syntax highlight) |
✅ |
✅ |
✅ |
✅ |
✅ NewTextArea/TextArea |
✗ |
| Dropdown / DropdownEx |
✅ |
✅ |
✅ |
✅ Dropdown (Ex needs rich option arrays) |
✅ Dropdown(Ex) |
✅ DROPDOWN control |
| Slider |
✅ |
✅ |
✅ |
✅ |
✅ Slider/Slider |
✅ SLIDER control |
| Vertical sliders |
✅ |
✅ |
✅ |
✅ VSliderFloat / VSliderInt |
✅ |
✅ VSLIDER control |
| Toggle (switch) |
✅ |
✅ |
✅ |
✅ |
✅ Toggle |
✅ node |
| Checkbox (+ disabled) |
✅ |
✅ |
✅ |
✅ |
✅ Checkbox |
✅ node |
| Radio |
✅ |
✅ |
✅ |
✅ |
✅ Radio |
✅ KRB_CTRL_RADIO |
| Progress |
✅ |
✅ |
✅ |
✅ |
✅ Progress |
✅ KRB_CTRL_PROGRESS |
| Spinbox |
✅ |
✅ |
✅ |
✅ |
✅ Spinbox |
✅ SPINBOX control |
| Combobox |
✅ |
✅ |
✅ |
✅ |
✅ Combobox |
✅ COMBOBOX control (renders like the dropdown, mirroring the C widget) |
| ColorPicker (RGB sliders) |
✅ |
✅ |
✅ |
✅ |
✅ ColorPicker |
✗ |
| DragFloat / DragInt (scalar and N-component) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| DragFloatRange2 / DragIntRange2 (ordered endpoints) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| SliderFloat / SliderInt / VSliderFloat / VSliderInt / SliderAngle |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| InputFloat / InputInt / InputDouble (scalar and N-component) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| SmallButton / InvisibleButton / ArrowButton / Bullet / Separator |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| SeparatorText |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| ColorEdit3 / ColorEdit4 / ColorPicker3 / ColorPicker4 / ColorButton |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
UI/Layout
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| Column / Row / Stack (flex-like) |
✅ |
✅ |
✅ |
✅ all three |
✅ all three |
✅ structural no-ops (node table is the tree) |
| Group |
✅ (lowers to Stack) |
✅ |
✅ |
◐ via Column |
✅ via Stack |
✅ |
| Scroll container |
✅ BeginScroll/EndScroll |
✅ C API |
✅ C API |
✅ generated wheel/drag/nested-child tests |
✅ wheel scrolling, scrollbar dragging, and nested clipping via BeginScroll/EndScroll |
✅ SCROLL node |
| Separator |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
| LabelFrame |
✅ |
✅ |
✅ |
✅ |
✅ LabelFrame |
✅ rect/text lowering |
| Notebook (tabs) |
✅ |
✅ |
✅ |
✅ |
✅ Notebook |
✗ |
| PanedView (splitter) |
✅ |
✅ |
✅ |
✅ |
✅ PanedView |
✗ |
| Collapsible |
✅ |
✅ |
✅ |
✅ |
✅ Collapsible |
✗ |
Tk pack/grid helpers (FramePack, GridCell, Place) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
UIForm cursor (UIForm*) |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Canvas (pan/zoom, hit-test, grid) |
✅ |
✅ |
✅ |
✅ Begin/EndCanvas |
✅ Begin/EndCanvas+hit-test |
✗ |
UI/Collections
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| ListBox (+ disabled) |
✅ |
✅ |
✅ |
✅ |
✅ ListBox |
✗ |
| TreeView (+ disabled) / CascadingTreeView |
✅ |
✅ |
✅ |
◐ TreeView |
◐ TreeView |
✗ |
| SourceView (code + line numbers) |
✅ |
✅ |
✅ |
✅ |
✅ SourceView |
✗ |
| TableView (resizing, frozen rows, sort direction, cell colors, column visibility/order, focus/keyboard/clipboard, disabled) |
✅ |
✅ |
✅ |
✅ |
✅ TableView |
✗ |
| CanvasGrid |
✅ |
✅ |
✅ |
✅ |
✅ CanvasGrid |
✗ |
| SelectableText |
✅ |
✅ |
✅ |
✅ |
✅ SelectableText |
✗ |
| MultiSelectList (Ctrl/Shift range selection) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| Nested disabled scope |
✅ |
✅ |
✅ |
✅ |
✅ BeginDisabled / EndDisabled |
✗ |
UI/Navigation
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| MenuBar / PopupMenu / ContextMenu |
✅ |
✅ |
✅ |
✅ |
✅ (MenuBar, nested items, retained right-click context state) |
✗ |
| Popup scope (ordinary, hover-tooltip, modal arbitrary native content) |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| TabBar |
✅ |
✅ |
✅ |
✅ |
✅ TabBar |
✗ |
| TabItemButton / closable tab items |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| Typed drag-and-drop source / target |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| SubtabBar / PaneTabBar (dock zones) |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| BottomNav (+ config modal) |
✅ |
✅ |
✅ |
✅ |
✅ BottomNav |
◐ NavButton lowers to a BUTTON |
| TopNav / Toolbar / ToolbarHeader |
✅ |
✅ |
✅ |
◐ TopNav/Toolbar only |
✅ TopNav/Toolbar |
✗ |
| TitleBar family |
✅ |
✅ |
✅ |
◐ TitleBar only |
✅ TitleBar |
✗ |
UI/Overlays
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| ActionModal / Modal / Modal3Button / ModalFrame |
✅ |
✅ |
✅ |
◐ Modal only |
◐ Modal only |
✗ |
| MessageDialog / ConfirmDialog / PromptDialog |
✅ |
✅ |
✅ |
✅ |
✅ |
✗ |
| Toast |
✅ |
✅ |
✅ |
✅ ShowToast(For) |
✅ ShowToast(For) |
✗ |
| GuideOverlay / TutorialImage(Placeholder) |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| TransitionFade / Focus ring |
✅ |
✅ |
✅ |
✗ |
✗ |
◐ AnimNode + TIME opcode drive animation |
| ThemeSettings / ThemeSwitcher / ThemePicker |
✅ |
✅ |
✅ |
◐ theme-control methods only |
◐ SetCurrentTheme/SetThemeStyle (control only) |
✗ |
| FocusDebugOverlay |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| InfoRows / OverlayButton / IconSliderPopup |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
UI/Composite And App Framework
| Widget |
C |
k2c |
k2cpp |
k2go |
Go |
KRB |
| LabelTextField / SectionLabel |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| CheckboxRow / SpinboxRow / ButtonRow / BottomIconRow |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| BottomNavConfig |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| SidebarAccountHeader / ProfilePicturePicker |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Reorder (drag handle + placeholder) |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| ImageBox |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Route stack / shell measurement |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Capabilities / safe content rect |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Setting normalization helpers |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
Game2D (scene tree, src/scene/)
| Node |
C |
✅ |
✅ |
k2go |
Go |
KRB |
| Scene / Node2D / Camera2D |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Sprite2D / AnimatedSprite2D / TileMap / TileLayer / Light2D |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| CollisionShape2D / Area2D / Body2D (box2d) |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
| Timer / AudioSource / AnimationPlayer |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
Signals (KrySignal) / keyframe animation |
✅ |
✅ |
✅ |
✗ |
✗ |
✗ |
KRB cartridge vocabulary (no C widget equivalent)
| Item |
Notes |
|
| DATA node |
state-field mount read/written by bytecode |
|
| CIRCLE / RING nodes |
lowered from DrawCircleV / DrawRing calls |
|
NavButton |
k2b-only lowering; becomes a BUTTON with KRB_FLAG_NAV |
|
AnimNode |
k2b-only; animated node driven by TIME |
|
| v2 logic bytecode |
stack machine, node mutation, if-guards over node ranges |
|
| Host capabilities |
imported storage/http/audio/notify calls (krb_caps.c) |
|
Cross-cutting features
| Feature |
C |
Go |
KRB |
|
| Theming |
✅ 6 palettes × light/dark INI, scopes, vars, runtime loader |
✅ SetCurrentTheme/SetThemeDarkMode/GetTheme* |
◐ theme color slots (KrySwSetTheme); light/dark env knobs on hosts |
|
| Style tokens |
✅ radius/border/shadow/bevel; RETRO, MATERIAL, SYSTEM styles |
✅ Get/SetUIStyleTokens |
✗ |
|
| Animation |
✅ transitions (smoothstep), ripple, keyframe scene anims |
✗ |
◐ AnimNode + TIME opcode |
|
| Text/fonts |
◐ multi-font registry, per-codepoint fallback, italic synthesis, wrap, selectable text, Android/browser IME preedit+commit; no shaping/bidi |
✅ RegisterUIFont(Data), Push/Pop/UseUIFont, input queue |
◐ font8x8 default, or pre-baked KFA1 glyph atlas; no TTF rasterization |
|
| DPI/scaling |
✅ viewport-derived scale, ScaleUIPx |
✅ ScaleUIPx, GetWindowScaleDPI |
◐ per-mille UI scale (KRB_RUN_UI_SCALE) |
|
| Clipping |
✅ 16-deep scissor stack + input clip stack |
✅ Begin/EndScissorMode |
✅ 16-deep clip_push/pop in kry_sw |
|
| Z-order/popups |
✅ overlay paint pass, modal capture, input-capture stack |
◐ dropdown popups internal to Dropdown |
◐ dropdown menus handled by the engine |
|
| Input |
✅ unified front-end, pointer gestures/ownership, keyboard focus + Tab + accelerators, clipboard, backend-neutral IME composition; no gamepad nav |
✅ native host key/mouse/text queues |
◐ vtable: mouse, press, wheel, text-key queue |
|
| Accessibility |
◐ retained accessibility snapshots + host sink + DOM ARIA bridge; native screen-reader bridge pending |
✗ |
✗ |
|
| i18n |
✅ locale strings + CJK font switching; no RTL |
✗ |
✗ |
|
| Multi-window |
✅ OpenUIWindow (X11 dlopen / SDL) |
✗ |
— single framebuffer |
|
| 3D rendering |
✅ camera + mesh/shader tier incl. curated rlgl entry points and raymath-style math3d (GLSL 100); raylib backend implements it, others stub it |
✗ |
✗ |
|
| State/data binding |
✅ retained event queue; scene signals |
✅ #ui functions + retained events |
✅ field mounts (KrbMount*) + bytecode |
|
| Dialogs/platform |
✅ file dialogs (web/portal/gtk/zenity/kdialog/yad), XDG paths, desktop metadata packaging, single-instance lock, tray, notifications (Android/web/Linux) |
✅ tray + notify polling |
◐ host capability imports (storage/http/audio/notify) |
|
| Debug tooling |
✅ widget inspector, node registry + snippets |
✗ |
◐ KryBackendRec call-stream recording |
|
Renderer backends
Tier A — surface backends (link-time, KRYON_BACKEND)
| Backend |
Graphics API |
Platforms |
CI |
Notes |
|
raylib (default) |
OpenGL ES 2.0 over SDL2 |
Linux, FreeBSD |
✅ ci.yml (Linux + FreeBSD) |
Default everywhere; dist/static SDK targets; implements the full 3D tier (camera/mesh/shader + rlgl entry points) |
|
raylib web |
WebGL (ES2) over GLFW3 |
Emscripten |
✅ web/app builds |
mk/web.mk; present shim for WebKitGTK |
|
raylib windows opengl |
OpenGL 2.1 |
Windows (mingw) |
✅ release builds |
Default Windows flavor |
|
raylib windows rlsw |
raylib software renderer (no GPU) |
Windows |
✅ release builds |
WINDOWS_RENDERERS second flavor |
|
raylib windows RGFW rule |
GL 1.1 immediate mode |
Windows |
✗ opt-in make rule |
KRYON_RAYLIB_WINDOWS_RULE |
|
raylib android |
GLES via NDK NativeActivity |
Android (downstream Gradle) |
✗ downstream apps |
mk/android.mk |
|
null |
none (zero-return stubs) |
all |
✗ (used by local headless tests) |
Injected input still works |
|
canvas |
HTML5 Canvas2D via EM_JS (ASYNCIFY loop) |
Emscripten |
✅ make canvas-test, make canvas2d-parity-check, make web-canvas-matrix-check |
No raylib/WebGL; HiDPI Canvas2D, 2D raylib aliases, touch/gamepad/drop-file hooks, glyph atlases, textures/render textures/tinting, WebAudio, and weak stubs for non-2D raylib areas |
|
libdraw |
kry_sw RGBA8 presented through plan9port libdraw/devdraw |
plan9port on Unix/X11 |
✅ make libdraw-test (devdraw smoke + 9c/9l clean-surface check) |
No libraylib; widgets/drawing/screenshots through software backend; TTF/TrueType-outline glyph atlases via stb_truetype; rounded controls, alpha/tint texture blits, rotation, render textures, plan9port input/resize; non-UI raylib areas use weak null stubs |
|
Tier B — cartridge hosts (KryBackend vtable, runtime selection)
| Host |
Rendering |
Input |
Textures |
Text |
CI |
Notes |
|
KryBackendDraw |
raylib surface |
raylib |
✅ |
full font stack |
✅ |
Auto-installed via constructor; hooks cartridge audio; runs inside raylib apps and kryon-preview |
|
kry_sw |
software RGBA8 rasterizer |
injected (KrySwMouse etc.) |
✅ + PNG decode |
font8x8 or KFA1 atlas |
✅ |
No GPU/libc deps; KrySwToRGB565 for embedded panels; one-shot dirty-rect tracking |
|
krb-run |
kry_sw headless |
injected |
✅ |
via kry_sw |
✅ linux/windows/macos |
PNG dump + KryBackendRec call log; conformance host |
|
krb-sdl |
kry_sw → SDL2 streaming texture |
SDL2 |
✅ |
via kry_sw |
✅ |
Template for the planned Android EGL host |
|
krb-web |
kry_sw → wasm, Canvas2D putImageData |
JS bridge exports |
✅ |
via kry_sw |
✅ renderers.yml |
Byte-identical to native; node-capture for tests |
|
KryBackendRec |
wraps any backend |
passthrough |
passthrough |
passthrough |
✅ exactness job |
Records the vtable call stream for cross-engine comparison |
|
KryBackendNull |
stub vtable |
none |
✗ (texture_rgba NULL) |
✗ |
✅ logic tests |
Default until KryBackendSelect |
|
Known gaps
- The
canvas Tier A backend passes its node call-sequence gate and has
been pixel-verified in a real browser page (rounded rects, annulus ring
segments, dual-color gradients, and full RGBA texture tinting all check
out). Remaining limits: cross-app clipboard paste is unreachable through
the synchronous API (an in-app mirror handles round-trips), WebAudio
playback depends on browser user-gesture unlock rules, and stream/mixed
processors apply to Canvas-managed stream buffers, not decoded browser
AudioBuffer playback that has already been handed to WebAudio.
- The
libdraw Tier A backend passes the plan9port devdraw widget smoke and a
9c/9l clean-surface compile/link check. It is intended for C UI apps:
windowing, input, resize, software drawing, widgets, rounded controls, thick
lines, image loading, alpha/tint and source-rectangle texture blits, picture
rotation, render textures, TTF/TrueType-outline glyph-atlas text,
screenshots, files, and clipboard mirror are covered. Advanced raylib areas
outside UI apps (3D, shaders, gestures, audio) are null-grade fallback.
k2go targets native Go: the Runtime interface covers the widget
whitelist plus the generated-code widget families in go/kryon (controls,
Props widgets, dialogs, canvas, Tk layout helpers, toasts, theme control),
with .kry array declarations lowering to Go slices at the use site.
Remaining boundaries: a forward goto over declarations is a loud Go
compile error, DropdownEx's rich option arrays are not expressible from
.kry, and C pointer/Texture2D values cannot be written (icons pass by
UIIconType, option lists as joined strings or [N]string).
k2js emits ESM for the web recorder runtime. make k2js-runtime-snapshot-test lowers every conformance source, imports the
generated ESM in Node, runs frame(), and compares the recorded widget
streams. make generated-runtime-parity-test also drives generated JS
through the same state/input workflows as generated Go and C, then diffs the
final state JSON. This is runtime state parity for the recorder surface, not
browser pixel comparison.
k2b drops unsupported widget calls and reports them per file; the
cartridge widget set remains smaller than the C catalog (see matrix).
Combobox lowers to a KRB_CTRL_COMBOBOX control that renders like the
dropdown, matching the C widget. Progress lowers to a read-only
KRB_CTRL_PROGRESS control bound to an integer state field. Radio lowers
to KRB_CTRL_RADIO for the common selected == id pattern and writes id
into the mounted selection field on click. LabelFrame lowers to border
rectangles plus title background/text nodes.
- Retained tree paints 10 node kinds and routes interaction for 6 (see caveat
above the widget matrix).
- No text shaping yet: no HarfBuzz, ligatures, bidi, or RTL mirroring. Android
and DOM text controls do have backend-neutral IME preedit/commit; gamepad UI
navigation remains absent.
- Theme styles beyond RETRO/MATERIAL/SYSTEM (fluent/adwaita/liquid-glass
labels in
ThemeSettingsProps) fall back to SYSTEM tokens.
kry_sw tracks the dirty rectangle per call (KrySwDirty is one-shot);
hosts that present full frames (krb-sdl, krb-web) do not use it yet.
- Plan 11 engines still to come: native Canvas2D fast path, Android EGL
host, ESP32 RGB565 host. The Linux framebuffer host was removed again -
raylib covers desktop presentation and the canvas backend covers native
web, so it carried maintenance cost without a user.