20#include "definitions_cxx.hpp"
21#include "gui/colour/rgb.h"
58 [[nodiscard]] std::optional<YNoteRange>
hiddenYNotes(int32_t yDisplay)
const;
73 int32_t
auditionYNote(
bool on, uint8_t yDisplay, int32_t yNoteOfRow, std::span<const EditPadPress> presses);
79 uint8_t* occupancyMask, int32_t renderWidth, int32_t xScroll, uint32_t xZoom);
bool mayHaveHiddenRows() const
False if the current clip can't have hidden rows at all (a kit, or not in scale mode).
Definition accidental_rows.h:54
std::optional< YNoteRange > hiddenYNotes(int32_t yDisplay) const
Definition accidental_rows.cpp:40
InstrumentClip * clip_
Null if the clip can't have hidden rows.
Definition accidental_rows.h:61
Layout()
For the current clip.
Definition accidental_rows.cpp:32
Definition accidental_rows.h:44
std::array< std::optional< int16_t >, kDisplayHeight > auditionedHiddenYNote_
Per pad row, the hidden pitch being auditioned on it, if any.
Definition accidental_rows.h:83
static void render(YNoteRange hidden, RGB rowColour, bool allowNoteTails, TimelineView *view, RGB *image, uint8_t *occupancyMask, int32_t renderWidth, int32_t xScroll, uint32_t xZoom)
Definition accidental_rows.cpp:87
static NoteRow * noteRowForPress(const EditPadPress &press, int32_t *getIndex=nullptr)
Definition accidental_rows.cpp:53
int32_t auditionYNote(bool on, uint8_t yDisplay, int32_t yNoteOfRow, std::span< const EditPadPress > presses)
Definition accidental_rows.cpp:68
Definition instrument_clip.h:52
Definition model_stack.h:187
Definition model_stack.h:129
Definition note_row.h:106
This class represents the colour format most used by the Deluge globally.
Definition rgb.h:14
Definition timeline_view.h:27
Definition instrument_clip_view.h:57
An inclusive range of pitches.
Definition accidental_rows.h:35