Bake window derives itself: %-knob fold, declick pad, Gate held to exhaustion, preview velocity; Hold is the one knob a loop needs

This commit is contained in:
2026-08-01 20:26:04 -04:00
parent d3894dae6d
commit 19aeb92775
36 changed files with 1040 additions and 274 deletions
+8 -1
View File
@@ -18,7 +18,14 @@ inline constexpr int kBakeButtonWidth = 54; // the resample-bake trigger
struct ChromeRects {
Rect toolbar; // full-width top row
Rect title; // the title text slot: the toolbar left of the control run
Rect bake; // ---- the right-anchored run, left to right ----
// The bake Hold cell. Its width is RESERVED unconditionally even though the control is
// only load-bearing for a looped Gate sound (bake_plan.h's bakeWindowNeedsHold): the run
// is right-anchored, so laying it out conditionally would slide Bake and Preview out from
// under the pointer whenever a loop is dialled in or out.
Rect holdCell; // ---- the right-anchored run, left to right ----
Rect holdKnob;
Rect holdLabel;
Rect bake;
Rect preview;
Rect velCell; // preview-velocity knob cell (knob + label band)
Rect velKnob;