@fourjs/ui — retained-mode UI at §113a's MVP tier (§73–§75).
Ten controls over one base class: Panel (container + §74 layout),
Label (text measured with @fourjs/text), Button (§72 click →
activation), the three checkables — Toggle, Checkbox, and
RadioButton (exclusive by group name) — Slider (pointer drag
Widgets do not draw themselves. The frozen dependency matrix gives this
package core, math, scene, input, and text — no render, no
materials, no geometry — so a widget owns hierarchy, size, hit area, and
state, and the application supplies the pixels through a WidgetSkin.
widget.ts's header is the full argument.
@fourjs/ui— retained-mode UI at §113a's MVP tier (§73–§75).Ten controls over one base class: Panel (container + §74 layout), Label (text measured with
@fourjs/text), Button (§72 click → activation), the three checkables — Toggle, Checkbox, and RadioButton (exclusive by group name) — Slider (pointer dragWidgets do not draw themselves. The frozen dependency matrix gives this package
core,math,scene,input, andtext— norender, nomaterials, nogeometry— so a widget owns hierarchy, size, hit area, and state, and the application supplies the pixels through a WidgetSkin.widget.ts's header is the full argument.