uzor-examples-1.2.1 is not a library.
Level 1 — uzor as a bare hit-tester
Demonstrates: pull ONLY InputCoordinator from uzor; build winit + vello +
widget rendering + widget state entirely by hand. The button below is
written ENTIRELY from scratch — uzor's button widget is NOT used.
L1: InputCoordinator only — user wires platform events manually
L2: + ContextManager + LayoutManager + ready-made uzor widgets
L4: uzor-framework — framework owns everything, user provides App trait
Key patterns demonstrated ─────────────────────────
InputCoordinator::begin_frame→ register widgets →end_frame- Manual
InputStateconstruction from winit events (no EventProcessor) register_atomic(id, WidgetKind::Custom, rect, Sense::CLICK | Sense::HOVER, &layer)- Click detection via
WidgetResponse::clickedinend_frameresponses - vello
Scenebuilt from scratch — background + rounded rect + no text hack
Surface initialisation uses vello::util::RenderContext (the proven path
used by every uzor GPU backend). This avoids the manual wgpu::Instance +
SurfaceTargetUnsafe pattern that caused STATUS_STACK_BUFFER_OVERRUN in the
previous version.
Run