Thin brush panel, preview, and node utility shells
This commit is contained in:
@@ -385,6 +385,12 @@ Current slice:
|
||||
`src/legacy_node_stroke_preview_sample_services.*` instead of staying inline
|
||||
in `src/node_stroke_preview.cpp`, which trims another coherent preview
|
||||
execution pocket while preserving the live draw path.
|
||||
- `NodeStrokePreview::draw_stroke_immediate()` now also routes through
|
||||
`execute_legacy_node_stroke_preview_immediate_draw(...)` in
|
||||
`src/legacy_node_stroke_preview_runtime_services.*`, which moves
|
||||
render-target validation, viewport/clear-color save-restore, and immediate
|
||||
runtime request assembly out of the live node file and leaves
|
||||
`src/node_stroke_preview.cpp` at 160 lines.
|
||||
- `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
|
||||
@@ -394,10 +400,22 @@ Current slice:
|
||||
now also lives in `src/legacy_ui_node_style.*` instead of staying inline in
|
||||
`src/node.cpp`, which trims another coherent base scene-graph shell pocket
|
||||
without changing the public surface.
|
||||
- `Node::app_redraw()` and `Node::watch(...)` now also live in
|
||||
`src/legacy_ui_node_execution.cpp` instead of staying inline in `src/node.cpp`,
|
||||
which trims another small generic node utility pocket from the live file.
|
||||
- `NodePanelBrushPreset` global panel registration now also lives in
|
||||
`src/legacy_brush_preset_list_services.*` instead of staying on the live
|
||||
node type as a static registry field, which trims another retained
|
||||
controller-state pocket from `src/node_panel_brush.cpp`.
|
||||
- The remaining `NodePanelBrush` and `NodePanelBrushPreset` member bodies now
|
||||
also live in the existing retained helper layers
|
||||
(`src/legacy_brush_panel_item_ui.*`,
|
||||
`src/legacy_brush_panel_ui.*`,
|
||||
`src/legacy_brush_panel_services.*`,
|
||||
`src/legacy_brush_preset_panel_ui.*`,
|
||||
`src/legacy_brush_preset_list_services.*`, and
|
||||
`src/legacy_brush_preset_services.*`), which leaves
|
||||
`src/node_panel_brush.cpp` as a 2-line translation unit.
|
||||
|
||||
Write scope:
|
||||
- `src/node_stroke_preview.cpp`
|
||||
|
||||
Reference in New Issue
Block a user