From 3ae860188ea3e599ccd3a4ff82c3889903d8ce89 Mon Sep 17 00:00:00 2001 From: Mikkeli Matlock Date: Tue, 23 Jun 2026 23:17:51 +0900 Subject: [PATCH] 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 --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 673fca7..02e84f0 100644 --- a/README.md +++ b/README.md @@ -124,8 +124,22 @@ src/ 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 -as separate widget files; a `gain_curve` display and draggable crossover handles are still to come. +The editor's meters and plot are currently drawn directly with egui's `Painter` inline in +`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. ---