Deluge Firmware 1.3.0
Build date: 2025.07.08
Loading...
Searching...
No Matches
InstrumentClipView Class Referencefinal
Inheritance diagram for InstrumentClipView:
Collaboration diagram for InstrumentClipView:

Public Member Functions

bool opened () override
void focusRegained () override
void displayOrLanguageChanged () final
ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine) override
ActionResult handleScaleButtonAction (bool on, bool inCardRoutine)
bool handleInstrumentChange (OutputType outputType)
ActionResult padAction (int32_t x, int32_t y, int32_t velocity) override
ActionResult potentiallyRandomizeDrumSamples ()
ActionResult potentiallyRandomizeDrumSample (Kit *kit, Drum *drum, char *chosenFilename)
ActionResult commandEnterNoteVelocityEditor (int32_t x, int32_t y)
ActionResult commandLearnMutePad (int32_t y, int32_t velocity)
ActionResult commandLearnAuditionPad (InstrumentClip *clip, Output *output, OutputType outputType, int32_t yDisplay, int32_t velocity)
ActionResult commandSaveKitRow (InstrumentClip *clip, Output *output, OutputType outputType, int32_t yDisplay)
ActionResult commandActivateSongMacro (int32_t y, int32_t velocity)
ActionResult commandLearnUserScale ()
ActionResult commandCycleThroughScales ()
 Cycle through preset scales. SHIFT + SCALE in scale mode.
ActionResult commandFlashRootNote ()
 Flash the current root note. Part of SCALE down.
ActionResult commandEnterScaleModeWithRoot (uint8_t root)
 Enter scale mode with selected root. AUDITION + SCALE or SCALE + AUDITION in schromatic mode.
ActionResult commandEnterScaleMode ()
 Enter scale mode. SCALE when in chromatic mode.
ActionResult commandExitScaleMode ()
 Exit scale mdoe. SCALE when in scale mode.
ActionResult commandChangeRootNote (uint8_t yDisplay)
 Change current root note. AUDITION + SCALE or SCALE + AUDITION in scale mod.
ActionResult verticalEncoderAction (int32_t offset, bool inCardRoutine) override
 VERTICAL ENCODER ACTION related.
ActionResult commandTransposeKey (int32_t offset, bool inCardRoutine)
void commandShiftColour (int32_t offset)
ActionResult scrollVertical (int32_t scrollAmount, bool inCardRoutine, bool draggingNoteRow=false, ModelStackWithTimelineCounter *modelStack=nullptr)
ActionResult scrollVertical_limit (int32_t scrollAmount, bool inCardRoutine, bool draggingNoteRow, ModelStackWithTimelineCounter *modelStack, InstrumentClip *clip, bool isKit, bool preventOverScrolling, int32_t &noteRowToShiftI, int32_t &noteRowToSwapWithI)
void scrollVertical_potentiallySwitchOffAuditionedNotes (bool draggingNoteRow, ModelStackWithTimelineCounter *modelStack, InstrumentClip *clip, bool currentClipIsActive)
void scrollVertical_grabNotesPressed (ModelStackWithTimelineCounter *modelStack, InstrumentClip *clip)
void scrollVertical_dragSelectedNoteRow (InstrumentClip *clip, Output *output, bool isKit, int32_t noteRowToShiftI, int32_t noteRowToSwapWithI)
void scrollVertical_potentiallySwitchOnAuditionedNotes (bool draggingNoteRow, ModelStackWithTimelineCounter *modelStack, InstrumentClip *clip, Output *output, OutputType outputType, bool isKit, bool inSoundEditor, bool currentClipIsActive, bool renderDisplay, bool updateDrumSelection)
void scrollVertical_placeNotesPressed (ModelStackWithTimelineCounter *modelStack, InstrumentClip *clip, bool isKit)
uint8_t getEditPadPressXDisplayOnScreen (uint8_t yDisplay)
 OTHER uncategorized (yet)
void editPadAction (bool state, uint8_t yDisplay, uint8_t xDisplay, uint32_t xZoom)
void mutePadPress (uint8_t yDisplay)
bool ensureNoteRowExistsForYDisplay (uint8_t yDisplay)
void recalculateColours ()
void recalculateColour (uint8_t yDisplay)
void reassessAllAuditionStatus ()
void reassessAuditionStatus (uint8_t yDisplay)
uint8_t getVelocityForAudition (uint8_t yDisplay, uint32_t *sampleSyncLength)
uint8_t getNumNoteRowsAuditioning ()
uint8_t oneNoteAuditioning ()
void offsetNoteCodeAction (int32_t newOffset)
int32_t getYVisualFromYDisplay (int32_t yDisplay)
int32_t getYVisualWithinOctaveFromYDisplay (int32_t yDisplay)
ActionResult auditionPadAction (int32_t velocity, int32_t yDisplay, bool shiftButtonDown)
void potentiallyUpdateMultiRangeMenu (int32_t velocity, int32_t yDisplay, Instrument *instrument)
void potentiallyRecordAuditionPadAction (bool clipIsActiveOnInstrument, int32_t velocity, int32_t yDisplay, Instrument *instrument, bool isKit, ModelStackWithTimelineCounter *modelStackWithTimelineCounter, ModelStackWithNoteRow *modelStackWithNoteRowOnCurrentClip, Drum *drum)
void recordNoteOnEarly (int32_t velocity, int32_t yDisplay, Instrument *instrument, bool isKit, ModelStackWithNoteRow *modelStackWithNoteRowOnCurrentClip, Drum *drum)
void recordNoteOn (int32_t velocity, int32_t yDisplay, Instrument *instrument, ModelStackWithTimelineCounter *modelStackWithTimelineCounter, ModelStackWithNoteRow *modelStackWithNoteRowOnCurrentClip)
NoteRowgetNoteRowOnActiveClip (int32_t yDisplay, Instrument *instrument, bool clipIsActiveOnInstrument, ModelStackWithNoteRow *modelStackWithNoteRowOnCurrentClip, Drum *drum)
void potentiallyRefreshNoteRowMenu ()
bool startAuditioningRow (int32_t velocity, int32_t yDisplay, bool shiftButtonDown, bool isKit, NoteRow *noteRowOnActiveClip, Drum *drum)
void finishAuditioningRow (int32_t yDisplay, ModelStackWithNoteRow *modelStack, NoteRow *noteRowOnActiveClip)
void enterScaleMode (uint8_t yDisplay=255)
void exitScaleMode ()
void drawMuteSquare (NoteRow *thisNoteRow, RGB thisImage[], uint8_t thisOccupancyMask[])
void cutAuditionedNotesToOne ()
ActionResult horizontalEncoderAction (int32_t offset) override
void fillOffScreenImageStores ()
void graphicsRoutine () override
void drawAuditionSquare (uint8_t yDisplay, RGB thisImage[])
void flashDefaultRootNote ()
void selectEncoderAction (int8_t offset) override
void doubleClipLengthAction ()
void setSelectedDrum (Drum *drum, bool shouldRedrawStuff=true, Kit *selectedKit=nullptr, bool shouldSendMidiFeedback=true)
bool isDrumAuditioned (Drum *drum)
int32_t setupForEnteringScaleMode (int32_t newRootNote=2147483647, int32_t yDisplay=(kDisplayHeight/2))
int32_t setupForExitingScaleMode ()
void setupChangingOfRootNote (int32_t newRootNote, int32_t yDisplay=(kDisplayHeight/2))
void deleteDrum (SoundDrum *drum)
void cancelAllAuditioning ()
void modEncoderButtonAction (uint8_t whichModEncoder, bool on) override
void tellMatrixDriverWhichRowsContainSomethingZoomable () override
void drawDrumName (Drum *drum, bool justPopUp=false)
void getDrumName (Drum *drum, StringBuf &drumName)
void notifyPlaybackBegun () override
void openedInBackground ()
bool renderMainPads (uint32_t whichRows, RGB image[][kDisplayWidth+kSideBarWidth], uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth], bool drawUndefinedArea=true) override
void performActualRender (uint32_t whichRows, RGB *image, uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth], int32_t xScroll, uint32_t xZoom, int32_t renderWidth, int32_t imageWidth, bool drawUndefinedArea=true)
bool renderSidebar (uint32_t whichRows, RGB image[][kDisplayWidth+kSideBarWidth], uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth]) override
void playbackEnded () override
void scrollFinished () override
void clipNeedsReRendering (Clip *clip) override
void modEncoderAction (int32_t whichModEncoder, int32_t offset) override
ClipMindertoClipMinder () override
void reportMPEInitialValuesForNoteEditing (ModelStackWithNoteRow *modelStack, int16_t const *mpeValues)
void reportMPEValueForNoteEditing (int32_t expressionDimension, int32_t value)
void reportNoteOffForMPEEditing (ModelStackWithNoteRow *modelStack)
void dontDeleteNotesOnDepress ()
void tempoEncoderAction (int8_t offset, bool encoderButtonPressed, bool shiftButtonPressed)
void sendAuditionNote (bool on, uint8_t yDisplay, uint8_t velocity, uint32_t sampleSyncLength)
void setLedStates ()
uint32_t getSquareWidth (int32_t square, int32_t effectiveLength)
void drawNoteCode (uint8_t yDisplay)
bool createNewInstrument (OutputType instrumentType, bool is_fm=false)
bool changeOutputType (OutputType newOutputType)
SoundgetSoundForNoteRow (NoteRow *noteRow, ParamManagerForTimeline **getParamManager)
void someAuditioningHasEnded (bool recalculateLastAuditionedNoteOnScreen)
bool getAffectEntire () override
void checkIfAllEditPadPressesEnded (bool mayRenderSidebar=true)
void endEditPadPress (uint8_t i)
void endAllEditPadPresses ()
void copyAutomation (int32_t whichModEncoder, int32_t navSysId=NAVIGATION_CLIP)
void pasteAutomation (int32_t whichModEncoder, int32_t navSysId=NAVIGATION_CLIP)
void renderOLED (deluge::hid::display::oled_canvas::Canvas &canvas) override
UIType getUIType () override
 What type of UI is this? e.g. UIType::ARRANGER.
UIModControllableContext getUIModControllableContext () override
 What mod controllable context is this UI using? E.g. Automation View can use the Song ModControllable when in Arranger but the Clip ModControllable when in a Clip.
bool enterNoteEditor ()
void exitNoteEditor ()
void handleNoteEditorEditPadAction (int32_t x, int32_t y, int32_t on)
void deselectNoteAndGoUpOneLevel ()
ActionResult handleNoteEditorVerticalEncoderAction (int32_t offset, bool inCardRoutine)
ActionResult handleNoteEditorHorizontalEncoderAction (int32_t offset)
ActionResult handleNoteEditorButtonAction (deluge::hid::Button b, bool on, bool inCardRoutine)
void adjustVelocity (int32_t velocityChange)
void updateVelocityValue (int32_t &velocityValue, int32_t newVelocity)
void displayVelocity (int32_t velocityValue, int32_t velocityChange)
void popupVelocity (char const *displayString)
void adjustNoteProbabilityWithOffset (int32_t offset)
void adjustNoteIteranceWithOffset (int32_t offset, bool allowTogglingBetweenPresetsAndCustom=true)
void adjustNoteIteranceWithFinalValue (Iterance finalValue)
void adjustNoteFillWithOffset (int32_t offset)
NotegetLeftMostNotePressed ()
void adjustNoteParameterValue (int32_t withOffset, int32_t withFinalValue, int32_t changeType, int32_t parameterMinValue, int32_t parameterMaxValue, bool allowTogglingBetweenPresetsAndCustom=true)
void editNoteRepeat (int32_t offset)
void blinkSelectedNote (int32_t whichMainRows=0)
void resetSelectedNoteBlinking ()
bool enterNoteRowEditor ()
void exitNoteRowEditor ()
bool handleNoteRowEditorPadAction (int32_t x, int32_t y, int32_t on)
bool handleNoteRowEditorMainPadAction (int32_t x, int32_t y, int32_t on)
void handleNoteRowEditorAuditionPadAction (int32_t y)
void copyNotesToFile (Serializer &writer, bool selectedDrumOnly=false)
Error pasteNotesFromFile (Deserializer &reader, bool overwriteExisting, bool noScaling, bool previewOnly, bool selectedDrumOnly)
void patternPreview ()
void patternClear ()
ActionResult handleNoteRowEditorVerticalEncoderAction (int32_t offset, bool inCardRoutine)
ActionResult handleNoteRowEditorHorizontalEncoderAction (int32_t offset)
ActionResult handleNoteRowEditorButtonAction (deluge::hid::Button b, bool on, bool inCardRoutine)
int32_t setNoteRowProbabilityWithOffset (int32_t offset)
int32_t setNoteRowIteranceWithOffset (int32_t offset, bool allowTogglingBetweenPresetsAndCustom=true)
int32_t setNoteRowIteranceWithFinalValue (Iterance finalValue)
int32_t setNoteRowFillWithOffset (int32_t offset)
int32_t setNoteRowParameterValue (int32_t withOffset, int32_t withFinalValue, int32_t changeType, int32_t parameterMinValue, int32_t parameterMaxValue, bool allowTogglingBetweenPresetsAndCustom=true)
ModelStackWithNoteRowcreateNoteRowForYDisplay (ModelStackWithTimelineCounter *modelStack, int32_t yDisplay)
ModelStackWithNoteRowgetOrCreateNoteRowForYDisplay (ModelStackWithTimelineCounter *modelStack, int32_t yDisplay)
void commandEuclidean (int32_t offset)
void editNumEuclideanEvents (ModelStackWithNoteRow *modelStack, int32_t offset, int32_t yDisplay)
void editNoteRowLength (int32_t offset)
void rotateNoteRowHorizontally (int32_t offset)
void editNoteRowLength (ModelStackWithNoteRow *modelStack, int32_t offset, int32_t yDisplay)
void noteRowChanged (InstrumentClip *clip, NoteRow *noteRow) override
void blinkSelectedNoteRow (int32_t whichMainRows=0)
void resetSelectedNoteRowBlinking ()
const char * getFillString (uint8_t fill)
void enterDrumCreator (ModelStackWithNoteRow *modelStack, bool doRecording=false)
Public Member Functions inherited from ClipView
uint32_t getMaxZoom () override
uint32_t getMaxLength () override
int32_t getLengthChopAmount (int32_t square)
int32_t getLengthExtendAmount (int32_t square)
Public Member Functions inherited from TimelineView
void scrollFinished () override
TimelineViewtoTimelineView () final
 Convert this view to a TimelineView.
virtual bool calculateZoomPinSquares (uint32_t oldScroll, uint32_t newScroll, uint32_t newZoom, uint32_t oldZoom)
virtual bool setupScroll (uint32_t oldScroll)
virtual int32_t getNavSysId () const
ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine) override
void displayZoomLevel (bool justPopup=false)
ActionResult horizontalEncoderAction (int32_t offset) override
void displayScrollPos ()
void displayNumberOfBarsAndBeats (uint32_t number, uint32_t quantization, bool countFromOne, char const *tooLongText)
void initiateXScroll (uint32_t newXScroll, int32_t numSquaresToScroll=kDisplayWidth)
bool zoomToMax (bool inOnly=false)
void initiateXZoom (int32_t zoomMagnitude, int32_t newScroll, uint32_t oldZoom)
void midiLearnFlash () override
bool scrollRightToEndOfLengthIfNecessary (int32_t maxLength)
bool scrollLeftIfTooFarRight (int32_t maxLength)
void tripletsButtonPressed ()
void setTripletsLEDState ()
int32_t getPosFromSquare (int32_t square, int32_t localScroll=-1) const
int32_t getPosFromSquare (int32_t square, int32_t xScroll, uint32_t xZoom) const
int32_t getSquareFromPos (int32_t pos, bool *rightOnSquare=nullptr, int32_t localScroll=-1)
int32_t getSquareFromPos (int32_t pos, bool *rightOnSquare, int32_t xScroll, uint32_t xZoom)
int32_t getSquareEndFromPos (int32_t pos, int32_t localScroll=-1)
bool isSquareDefined (int32_t square, int32_t xScroll=-1)
bool isSquareDefined (int32_t square, int32_t xScroll, uint32_t xZoom)
bool inTripletsView () const
Public Member Functions inherited from RootUI
bool canSeeViewUnderneath () final
virtual bool supportsTriplets () const
virtual uint32_t getGreyedOutRowsNotRepresentingOutput (Output *output)
virtual void sampleNeedsReRendering (Sample *sample)
Public Member Functions inherited from UI
virtual void modButtonAction (uint8_t whichButton, bool on)
virtual ActionResult timerCallback ()
virtual bool pcReceivedForMidiLearn (MIDICable &fromCable, int32_t channel, int32_t program)
virtual bool noteOnReceivedForMidiLearn (MIDICable &fromCable, int32_t channel, int32_t note, int32_t velocity)
virtual bool getGreyoutColsAndRows (uint32_t *cols, uint32_t *rows)
virtual bool exitUI ()
 returns whether a UI exited
void close ()
virtual UIgetUI ()
 When entering a UI (e.g. automationView), you may wish to open a different UI based on the current context (e.g. automationViewArranger, automationViewAudioClip, etc.)
virtual UIType getUIContextType ()
 What context does UI relate to? e.g. UIType could be AUTOMATION but UIContextType could be ARRANGER, AUDIO CLIP, INSTRUMENT CLIP.
Public Member Functions inherited from InstrumentClipMinder
void displayOrLanguageChanged ()
bool createNewInstrument (OutputType newOutputType, bool is_dx=false)
void setLedStates ()
void focusRegained ()
ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine)
void calculateDefaultRootNote ()
void drawActualNoteCode (int16_t noteCode)
void cycleThroughScales ()
bool setScale (Scale newScale)
void displayScaleName (Scale scale)
void displayCurrentScaleName ()
void selectEncoderAction (int32_t offset)
bool changeOutputType (OutputType newOutputType)
void renderOLED (deluge::hid::display::oled_canvas::Canvas &canvas)
Public Member Functions inherited from ClipMinder
ActionResult buttonAction (deluge::hid::Button b, bool on)
void transitionToArrangerOrSession ()
 Called by button action of active clip view when b == SESSION_VIEW.

Public Attributes

CopiedParamAutomation copiedParamAutomation
bool auditioningSilently
bool fileBrowserShouldNotPreview
int16_t mpeValuesAtHighestPressure [MPE_RECORD_LENGTH_FOR_NOTE_EDITING][kNumExpressionDimensions]
int16_t mpeMostRecentPressure
uint32_t mpeRecordLastUpdateTime
EditPadPress editPadPresses [kEditPadPressBufferSize]
uint8_t lastAuditionedVelocityOnScreen [kDisplayHeight]
uint8_t auditionPadIsPressed [kDisplayHeight]
uint8_t numEditPadPressesPerNoteRowOnScreen [kDisplayHeight]
uint8_t lastAuditionedYDisplay
uint8_t numEditPadPresses
uint32_t timeLastEditPadPress
uint32_t timeFirstEditPadPress
uint32_t timeHorizontalKnobLastReleased
bool shouldIgnoreVerticalScrollKnobActionIfNotAlsoPressedForThisNotePress
bool shouldIgnoreHorizontalScrollKnobActionIfNotAlsoPressedForThisNotePress
bool editedAnyPerNoteRowStuffSinceAuditioningBegan
SquareInfo gridSquareInfo [kDisplayHeight][kDisplayWidth]
int32_t lastSelectedNoteXDisplay
int32_t lastSelectedNoteYDisplay
bool noteRowFlashOn
bool noteRowBlinking
Public Attributes inherited from UI
bool oledShowsUIUnderneath

Private Member Functions

void nudgeNotes (int32_t offset)
void displayProbability (uint8_t probability, bool prevBase)
void displayIterance (Iterance iterance)
void copyNotes (Serializer *writer, bool selectedDrumOnly=false)
void pasteNotes (bool overwriteExisting=true, bool pasteFromFile=false, bool noScaling=false, bool previewOnly=false, bool selectedDrumOnly=false)
void deleteCopiedNoteRows ()
void rotateNoteRowHorizontally (ModelStackWithNoteRow *modelStack, int32_t offset, int32_t yDisplay, bool shouldDisplayDirectionEvenIfNoNoteRow=false)
DrumgetNextDrum (Drum *oldDrum, bool mayBeNone=false)
DrumflipThroughAvailableDrums (int32_t newOffset, Drum *drum, bool mayBeNone=false)
NoteRowcreateNewNoteRowForKit (ModelStackWithTimelineCounter *modelStack, int32_t yDisplay, int32_t *getIndex=nullptr)
void createDrumForAuditionedNoteRow (DrumType drumType)
bool isRowAuditionedByInstrument (int32_t yDisplay)
void commandQuantizeNotes (int8_t offset, NudgeMode nudgeMode)
void commandStartQuantize (int8_t offset, NudgeMode nudgeMode)
ActionResult commandStopQuantize (int32_t y)
void silenceAllAuditions ()
DrumgetAuditionedDrum (int32_t velocity, int32_t yDisplay, bool shiftButtonDown, Instrument *instrument, ModelStackWithTimelineCounter *modelStackWithTimelineCounter, ModelStackWithNoteRow *modelStackWithNoteRowOnCurrentClip)
void recordNoteOff (int32_t yDisplay, ModelStackWithNoteRow *modelStackWithNoteRowOnCurrentClip)
int32_t getVelocityToSound (int32_t velocity)

Private Attributes

bool doneAnyNudgingSinceFirstEditPadPress
bool offsettingNudgeNumberDisplay
uint8_t flashScaleModeLedErrorCount
DrumselectedDrum
DrumdrumForNewNoteRow
uint8_t yDisplayOfNewNoteRow
int32_t quantizeAmount
uint32_t timeSongButtonPressed
std::array< RGB, kDisplayHeight > rowColour
std::array< RGB, kDisplayHeight > rowTailColour
std::array< RGB, kDisplayHeight > rowBlurColour
CopiedNoteRowfirstCopiedNoteRow
int32_t copiedScreenWidth
ScaleType copiedScaleType
int16_t copiedYNoteOfBottomRow

Additional Inherited Members

Static Public Member Functions inherited from InstrumentClipMinder
static void redrawNumericDisplay ()
static void drawMIDIControlNumber (int32_t controlNumber, bool automationExists)
static bool makeCurrentClipActiveOnInstrumentIfPossible (ModelStack *modelStack)
Static Public Attributes inherited from InstrumentClipMinder
static int16_t defaultRootNote
static bool toggleScaleModeOnButtonRelease
static uint32_t scaleButtonPressTime
static bool flashDefaultRootNoteOn
static uint8_t editingMIDICCForWhichModKnob
Protected Member Functions inherited from ClipView
int32_t getTickSquare ()
ActionlengthenClip (int32_t newLength)
ActionshortenClip (int32_t newLength)
uint32_t changeClipLength (int32_t offset, uint32_t oldLength, Action *&action)
Protected Member Functions inherited from ClipNavigationTimelineView
void horizontalScrollForLinearRecording (int32_t newXScroll)
Protected Attributes inherited from UI
UIType uiType
Static Protected Attributes inherited from ClipNavigationTimelineView
static int32_t xScrollBeforeFollowingAutoExtendingLinearRecording

Member Function Documentation

◆ buttonAction()

ActionResult InstrumentClipView::buttonAction ( deluge::hid::Button b,
bool on,
bool inCardRoutine )
overridevirtual

Reimplemented from ClipView.

◆ clipNeedsReRendering()

void InstrumentClipView::clipNeedsReRendering ( Clip * clip)
overridevirtual

Reimplemented from RootUI.

◆ commandLearnUserScale()

ActionResult InstrumentClipView::commandLearnUserScale ( )

Learn notes from current clip + scale mode clips as USER scale. Enters scale mode if wasn't in it already. LEARN + SCALE.

◆ displayOrLanguageChanged()

void InstrumentClipView::displayOrLanguageChanged ( )
finalvirtual

Reimplemented from UI.

◆ focusRegained()

void InstrumentClipView::focusRegained ( )
overridevirtual

Reimplemented from ClipView.

◆ getAffectEntire()

bool InstrumentClipView::getAffectEntire ( )
overridevirtual

Reimplemented from RootUI.

◆ getUIModControllableContext()

UIModControllableContext InstrumentClipView::getUIModControllableContext ( )
inlineoverridevirtual

What mod controllable context is this UI using? E.g. Automation View can use the Song ModControllable when in Arranger but the Clip ModControllable when in a Clip.

Reimplemented from UI.

◆ getUIType()

UIType InstrumentClipView::getUIType ( )
inlineoverridevirtual

What type of UI is this? e.g. UIType::ARRANGER.

Implements UI.

◆ graphicsRoutine()

void InstrumentClipView::graphicsRoutine ( )
overridevirtual

Reimplemented from UI.

◆ horizontalEncoderAction()

ActionResult InstrumentClipView::horizontalEncoderAction ( int32_t offset)
overridevirtual

Reimplemented from ClipView.

◆ modEncoderAction()

void InstrumentClipView::modEncoderAction ( int32_t whichModEncoder,
int32_t offset )
overridevirtual

Reimplemented from UI.

◆ modEncoderButtonAction()

void InstrumentClipView::modEncoderButtonAction ( uint8_t whichModEncoder,
bool on )
overridevirtual

Reimplemented from UI.

◆ noteRowChanged()

void InstrumentClipView::noteRowChanged ( InstrumentClip * clip,
NoteRow * noteRow )
overridevirtual

Reimplemented from RootUI.

◆ notifyPlaybackBegun()

void InstrumentClipView::notifyPlaybackBegun ( )
overridevirtual

Reimplemented from RootUI.

◆ opened()

bool InstrumentClipView::opened ( )
overridevirtual

Reimplemented from UI.

◆ padAction()

ActionResult InstrumentClipView::padAction ( int32_t x,
int32_t y,
int32_t velocity )
overridevirtual

Reimplemented from UI.

◆ playbackEnded()

void InstrumentClipView::playbackEnded ( )
overridevirtual

Reimplemented from RootUI.

◆ renderMainPads()

bool InstrumentClipView::renderMainPads ( uint32_t whichRows,
RGB image[][kDisplayWidth+kSideBarWidth],
uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth],
bool drawUndefinedArea = true )
overridevirtual

Reimplemented from UI.

◆ renderOLED()

void InstrumentClipView::renderOLED ( deluge::hid::display::oled_canvas::Canvas & canvas)
inlineoverridevirtual

Implements UI.

◆ renderSidebar()

bool InstrumentClipView::renderSidebar ( uint32_t whichRows,
RGB image[][kDisplayWidth+kSideBarWidth],
uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth] )
overridevirtual

Reimplemented from UI.

◆ scrollFinished()

void InstrumentClipView::scrollFinished ( )
overridevirtual

Reimplemented from UI.

◆ selectEncoderAction()

void InstrumentClipView::selectEncoderAction ( int8_t offset)
overridevirtual

Reimplemented from UI.

◆ tellMatrixDriverWhichRowsContainSomethingZoomable()

void InstrumentClipView::tellMatrixDriverWhichRowsContainSomethingZoomable ( )
overridevirtual

Reimplemented from TimelineView.

◆ toClipMinder()

ClipMinder * InstrumentClipView::toClipMinder ( )
inlineoverridevirtual

Convert this clip to a clip minder. Returns true for views which manage a single clip, false for song level views

Reimplemented from UI.

◆ verticalEncoderAction()

ActionResult InstrumentClipView::verticalEncoderAction ( int32_t offset,
bool inCardRoutine )
overridevirtual

VERTICAL ENCODER ACTION related.

Reimplemented from UI.


The documentation for this class was generated from the following files: