Name captures after their source track: label and filename both, on every interactive mint site, and show the name on the panel card
This commit is contained in:
@@ -5,8 +5,21 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "core/ui/rect.h"
|
||||
|
||||
namespace reasampler::ui {
|
||||
|
||||
// Both card overlay strips — the name line across the top, the length read-out along the
|
||||
// bottom — are this tall, with this much horizontal inset.
|
||||
inline constexpr int kCardStripHeight = 12;
|
||||
inline constexpr int kCardStripPad = 3;
|
||||
|
||||
// The strip the card's name line occupies: across the top of the cell, drawn OVER the
|
||||
// waveform exactly as the length read-out is drawn over it at the bottom. Empty when the
|
||||
// cell has no room for both strips plus a waveform worth looking at — the caller draws
|
||||
// nothing rather than burying the card under text.
|
||||
Rect cardNameStrip(const Rect& cell);
|
||||
|
||||
// Musical length inputs, taken straight off a Sample's capture-time stamp. tempoBpm 0 = unknown;
|
||||
// timeSigNum/Denom 0 = unstamped.
|
||||
struct MusicalLength {
|
||||
|
||||
Reference in New Issue
Block a user