feat(bank_panel): docked bank grid with LICE waveform thumbnails (M5 Wave A)

Docked SWELL window toggled by a new action, drawing the current bank as
per-sample min/max thumbnails (PCM_source + peaks) with an in-memory cache.
Pure grid-layout/cache-key math in bank_grid (tested). Renames peaks::Sample
-> AudioSample to avoid colliding with bank_model::Sample.
This commit is contained in:
2026-07-22 21:02:22 -04:00
parent ec211a5620
commit 71a3b26a47
12 changed files with 936 additions and 33 deletions
+22
View File
@@ -0,0 +1,22 @@
// resource.rc — SWELL/Win32 dialog templates for ReaSampler.
//
// Windows: compiled by the platform resource compiler (MSVC rc / windres) and
// linked into reaper_reasampler.
// macOS/Linux: pre-processed once by SWELL's resgen into a C++ source that is
// added to the module target (see CLAUDE.md §SWELL dialog resources / README).
//
// IDD_BANK_PANEL is a bare child dialog with no controls: the bank_panel shell
// owns every pixel and draws the sample grid with LICE in WM_PAINT. It is created
// as a child (WS_CHILD) so REAPER's docker can reparent it into a dock.
#include "resource.h"
#ifdef _WIN32
#include <windows.h>
#endif
IDD_BANK_PANEL DIALOG DISCARDABLE 0, 0, 400, 300
STYLE WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
END