71a3b26a47
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.
23 lines
743 B
Plaintext
23 lines
743 B
Plaintext
// 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
|