Extract node lifecycle, preview runtime, and Win32 input state

This commit is contained in:
2026-06-16 22:18:30 +02:00
parent 24d9d5b6e2
commit 2a2f0c7dd6
12 changed files with 420 additions and 245 deletions

View File

@@ -335,6 +335,13 @@ Current slice:
`src/legacy_node_stroke_preview_draw_services.*` instead of staying inline in
`src/node_stroke_preview.cpp`, which trims another coherent preview
draw-pass pocket while preserving the current runtime-facing shell.
- The immediate preview runtime/orchestration block in
`NodeStrokePreview::draw_stroke_immediate()` for stroke setup, prepared
stroke construction, pass planning, shader setup, and live render request
assembly now also lives in
`src/legacy_node_stroke_preview_runtime_services.*` instead of staying
inline in `src/node_stroke_preview.cpp`, which trims another coherent
preview runtime pocket while preserving the current live draw path.
- `NodeCanvas::init()` plus the remaining `NodeCanvas::draw()` outer shell now
also live in `src/legacy_node_canvas_draw_services.*` instead of staying
inline in `src/node_canvas.cpp`, which materially reduces the live node to a
@@ -644,6 +651,9 @@ Current slice:
in `src/platform_windows/windows_window_shell.*` instead of `src/main.cpp`,
which materially thins the entry file even though broader runtime/entrypoint
composition is still open
- retained input-state zeroing and reverse key-map initialization now also live
in `src/platform_windows/windows_window_shell.*` instead of `src/main.cpp`,
which trims another small but real retained-state pocket from the entry TU
- the remaining interactive Win32 runtime pocket for touch registration,
render/UI thread startup, debug GL callback hookup, Wintab init/skip, icon
setup, placement restore, optional VR start, splash dismissal, message
@@ -802,6 +812,11 @@ Current slice:
`Node::GetRTL()` now also lives in `src/legacy_ui_node_style.*` instead of
staying inline in `src/node.cpp`, which trims another coherent generic node
shell pocket without changing the public surface.
- The remaining generic `Node` lifecycle/state pocket for no-op lifecycle
hooks, add/remove propagation, move construction, destruction cleanup, and
base clone plumbing now also lives in `src/legacy_ui_node_lifecycle.*`
instead of staying inline in `src/node.cpp`, which materially thins another
coherent generic scene-graph shell without changing the public surface.
Write scope:
- `src/node.cpp`