![]() |
Deluge Firmware 1.3.0
Build date: 2026.11.28
|
#include <accidental_rows.h>

Public Member Functions | |
| Layout () | |
| For the current clip. | |
| bool | mayHaveHiddenRows () const |
| False if the current clip can't have hidden rows at all (a kit, or not in scale mode). | |
| std::optional< YNoteRange > | hiddenYNotes (int32_t yDisplay) const |
Private Attributes | |
| InstrumentClip * | clip_ = nullptr |
| Null if the clip can't have hidden rows. | |
| bool | flats_ = false |
Which pitches are hidden behind which pad rows, for the current clip in the song's key. Finding the key's spelling takes some work, so make one of these per render or pad press and ask it about each row.
|
nodiscard |
The pitches drawn on the in-scale row at yDisplay: the semitones just below the next in-scale pitch in a sharp key, or just above the previous in-scale pitch in a flat key. Empty if there are none.