docs: restore planned editor/widgets layout as a future UI-redesign target

Keep the widget-module breakdown (meter/plot/gain_curve/crossover) documented
as the intended split for when editor.rs is redesigned, clearly marked as
deferred rather than current.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Mikkeli Matlock
2026-06-23 23:17:51 +09:00
parent 411b27fcf3
commit 3ae860188e
+16 -2
View File
@@ -124,8 +124,22 @@ src/
oversampler.rs # ✅ 4x polyphase oversampler for true-peak detection (detection-only) oversampler.rs # ✅ 4x polyphase oversampler for true-peak detection (detection-only)
``` ```
The editor's meters and plot are drawn directly with egui's `Painter` in `editor.rs` rather than The editor's meters and plot are currently drawn directly with egui's `Painter` inline in
as separate widget files; a `gain_curve` display and draggable crossover handles are still to come. `editor.rs`. When the UI is redesigned (gain curve, draggable crossover, real layout), the plan is
to split it into a widget module so each visualiser is self-contained and reusable:
```
src/
editor/
mod.rs # editor assembly + layout (replaces editor.rs)
widgets/
meter.rs # |L | GR | R| level + gain-reduction cluster (extract from editor.rs)
plot.rs # rolling in/out/GR scope (extract from editor.rs)
gain_curve.rs # static gain-curve display per channel (threshold/ratio/knee) — planned
crossover.rs # frequency display with draggable crossover handles — planned
```
Deferred until the redesign — no need to split prematurely while the layout is still a placeholder.
--- ---