code wiki / _hdl_build / nx_browser_forms_paint.nx
nx_browser_forms_paint.nx
buildroot/runtime/_hdl_build/nx_browser_forms_paint.nx
about
nx_browser_forms_paint.nx -- RENDER layer for the Nishi-browser form fields: draw a <input>/<textarea>
as a bordered box with its current value + a caret when focused (password fields masked). Composes the
shipped paint primitives (nx_paint_solid_rect + nx_paint_text) over the pure field state from
nx_browser_forms. The browser calls this in a post-layout OVERLAY pass (one call per field, with the
field's layout rect) -- decoupled from the CSS engine (which has no <input> styling). Pure framebuffer
so it is pixel-gate-provable (nx_browser_forms_render_gate). license_tier: ORIGINAL
dependencies 3 imports · 1 importers
imports: nx_browser_forms.nxnx_paint_solid_rect.nxnx_paint_text.nx
imported by: nx_browser_forms_render_gate.nx
structs
| none |
consts
| none |
functions
| 11 | func bfp_col(c: *CssColor, r: i64, g: i64, b: i64, a: i64) -> i64 { c.r = r; c.g = g; c.b = b; c.a = a; return 0 } called by 1: bf_paint_field |
| 14 | func bf_paint_field(fb: *Framebuffer, x: i64, y: i64, w: i64, h: i64, fld: *BrField, focused: i64) -> i64 |
| 60 | func main() -> i64 { return 0 } |