summaryrefslogtreecommitdiff
path: root/src/layout.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 22:05:19 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit08942ef68b10d4ce478bd3c62d306f2a633d51cb (patch)
tree5e47334fcfb2301fe3545bf69ad73ac9967c4cd6 /src/layout.zig
parentfc2bc13e9f45099d4e2fe086e2a52aab7de8ad5c (diff)
downloadpardes-08942ef68b10d4ce478bd3c62d306f2a633d51cb.tar.gz
pardes-08942ef68b10d4ce478bd3c62d306f2a633d51cb.zip
Move body drawing out of pardes.zig into body_layer.zig
Pure move, no behaviour change: renderBody, renderBodyLayer, paintPointerSelection, paintSourceSelection, paintTerminalSelection and bodyText go verbatim to the end of body_layer.zig, which already held the body's layer geometry and hit-testing, so the pane body as the surface shows it is one file. The file doc now says so. The methods become free functions taking `p: *Pardes`; their 16 call sites (render and renderPane, the tag painter, selection and dump code) change from `p.renderBody(..)` to `body_layer.renderBody(p, ..)`. pardes.zig gains `pub const body_layer = @import("body_layer.zig");`; pointerSourceLine, selRegexArmed and cellBounds become pub because the moved code calls them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/layout.zig')
0 files changed, 0 insertions, 0 deletions