Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
View Class Reference

#include <View.h>

Collaboration diagram for View:
Collaboration graph

Public Member Functions

 View ()
 
void focusRegained ()
 
void setTripletsLedState ()
 
int buttonAction (int x, int y, bool on, bool inCardRoutine)
 
void setTimeBaseScaleLedState ()
 
void setLedStates ()
 
void clipStatusMidiLearnPadPressed (bool on, Clip *whichLoopable)
 
void noteRowMuteMidiLearnPadPressed (bool on, NoteRow *whichNoteRow)
 
void endMidiLearnPressSession (uint8_t newThingPressed)
 
void noteOnReceivedForMidiLearn (MIDIDevice *fromDevice, int channel, int note, int velocity)
 
void ccReceivedForMIDILearn (MIDIDevice *fromDevice, int channel, int cc, int value)
 
void drumMidiLearnPadPressed (bool on, Drum *drum, Kit *kit)
 
void melodicInstrumentMidiLearnPadPressed (bool on, MelodicInstrument *instrument)
 
void sectionMidiLearnPadPressed (bool on, uint8_t section)
 
void midiLearnFlash ()
 
void setModLedStates ()
 
void modEncoderAction (int whichModEncoder, int offset)
 
void modEncoderButtonAction (uint8_t whichModEncoder, bool on)
 
void modButtonAction (uint8_t whichButton, bool on)
 
void setKnobIndicatorLevels ()
 
void setKnobIndicatorLevel (uint8_t whichModEncoder)
 
void setActiveModControllableTimelineCounter (TimelineCounter *playPositionCounter)
 
void setActiveModControllableWithoutTimelineCounter (ModControllable *modControllable, ParamManager *paramManager)
 
void cycleThroughReverbPresets ()
 
void setModRegion (uint32_t pos=0xFFFFFFFF, uint32_t length=0, int noteRowId=0)
 
void notifyParamAutomationOccurred (ParamManager *paramManager, bool updateModLevels=true)
 
void displayAutomation ()
 
void displayOutputName (Output *output, bool doBlink=true, Clip *clip=NULL)
 
void instrumentChanged (ModelStackWithTimelineCounter *modelStack, Instrument *newInstrument)
 
void navigateThroughPresetsForInstrumentClip (int offset, ModelStackWithTimelineCounter *modelStack, bool doBlink=false)
 
void navigateThroughAudioOutputsForAudioClip (int offset, AudioClip *clip, bool doBlink=false)
 
bool changeInstrumentType (int newInstrumentType, ModelStackWithTimelineCounter *modelStack, bool doBlink=false)
 
void drawOutputNameFromDetails (int instrumentType, int slot, int subSlot, char const *name, bool editedByUser, bool doBlink, Clip *clip=NULL)
 
void endMIDILearn ()
 
void getClipMuteSquareColour (Clip *clip, uint8_t thisColour[])
 
int clipStatusPadAction (Clip *clip, bool on, int yDisplayIfInSessionView=-1)
 
void flashPlayEnable ()
 
void flashPlayDisable ()
 

Public Attributes

uint8_t thingPressedForMidiLearn
 
bool deleteMidiCommandOnRelease
 
bool midiLearnFlashOn
 
bool shouldSaveSettingsAfterMidiLearn
 
int8_t highestMIDIChannelSeenWhileLearning
 
int8_t lowestMIDIChannelSeenWhileLearning
 
LearnedMIDIlearnedThing
 
MelodicInstrumentmelodicInstrumentPressedForMIDILearn
 
DrumdrumPressedForMIDILearn
 
KitkitPressedForMIDILearn
 
ModelStackWithThreeMainThings activeModControllableModelStack
 
uint8_t dummy [MODEL_STACK_MAX_SIZE - sizeof(ModelStackWithThreeMainThings)]
 
bool pendingParamAutomationUpdatesModLevels
 
bool clipArmFlashOn
 
bool blinkOn
 
uint32_t timeSaveButtonPressed
 
int modNoteRowId
 
uint32_t modPos
 
uint32_t modLength
 

Constructor & Destructor Documentation

◆ View()

View::View ( )

Member Function Documentation

◆ buttonAction()

int View::buttonAction ( int  x,
int  y,
bool  on,
bool  inCardRoutine 
)

◆ ccReceivedForMIDILearn()

void View::ccReceivedForMIDILearn ( MIDIDevice fromDevice,
int  channel,
int  cc,
int  value 
)

◆ changeInstrumentType()

bool View::changeInstrumentType ( int  newInstrumentType,
ModelStackWithTimelineCounter modelStack,
bool  doBlink = false 
)

◆ clipStatusMidiLearnPadPressed()

void View::clipStatusMidiLearnPadPressed ( bool  on,
Clip whichLoopable 
)

◆ clipStatusPadAction()

int View::clipStatusPadAction ( Clip clip,
bool  on,
int  yDisplayIfInSessionView = -1 
)

◆ cycleThroughReverbPresets()

void View::cycleThroughReverbPresets ( )

◆ displayAutomation()

void View::displayAutomation ( )

◆ displayOutputName()

void View::displayOutputName ( Output output,
bool  doBlink = true,
Clip clip = NULL 
)

◆ drawOutputNameFromDetails()

void View::drawOutputNameFromDetails ( int  instrumentType,
int  slot,
int  subSlot,
char const *  name,
bool  editedByUser,
bool  doBlink,
Clip clip = NULL 
)

◆ drumMidiLearnPadPressed()

void View::drumMidiLearnPadPressed ( bool  on,
Drum drum,
Kit kit 
)

◆ endMIDILearn()

void View::endMIDILearn ( )

◆ endMidiLearnPressSession()

void View::endMidiLearnPressSession ( uint8_t  newThingPressed)

◆ flashPlayDisable()

void View::flashPlayDisable ( )

◆ flashPlayEnable()

void View::flashPlayEnable ( )

◆ focusRegained()

void View::focusRegained ( )

◆ getClipMuteSquareColour()

void View::getClipMuteSquareColour ( Clip clip,
uint8_t  thisColour[] 
)

◆ instrumentChanged()

void View::instrumentChanged ( ModelStackWithTimelineCounter modelStack,
Instrument newInstrument 
)

◆ melodicInstrumentMidiLearnPadPressed()

void View::melodicInstrumentMidiLearnPadPressed ( bool  on,
MelodicInstrument instrument 
)

◆ midiLearnFlash()

void View::midiLearnFlash ( )

◆ modButtonAction()

void View::modButtonAction ( uint8_t  whichButton,
bool  on 
)

◆ modEncoderAction()

void View::modEncoderAction ( int  whichModEncoder,
int  offset 
)

◆ modEncoderButtonAction()

void View::modEncoderButtonAction ( uint8_t  whichModEncoder,
bool  on 
)

◆ navigateThroughAudioOutputsForAudioClip()

void View::navigateThroughAudioOutputsForAudioClip ( int  offset,
AudioClip clip,
bool  doBlink = false 
)

◆ navigateThroughPresetsForInstrumentClip()

void View::navigateThroughPresetsForInstrumentClip ( int  offset,
ModelStackWithTimelineCounter modelStack,
bool  doBlink = false 
)

◆ noteOnReceivedForMidiLearn()

void View::noteOnReceivedForMidiLearn ( MIDIDevice fromDevice,
int  channel,
int  note,
int  velocity 
)

◆ noteRowMuteMidiLearnPadPressed()

void View::noteRowMuteMidiLearnPadPressed ( bool  on,
NoteRow whichNoteRow 
)

◆ notifyParamAutomationOccurred()

void View::notifyParamAutomationOccurred ( ParamManager paramManager,
bool  updateModLevels = true 
)

◆ sectionMidiLearnPadPressed()

void View::sectionMidiLearnPadPressed ( bool  on,
uint8_t  section 
)

◆ setActiveModControllableTimelineCounter()

void View::setActiveModControllableTimelineCounter ( TimelineCounter playPositionCounter)

◆ setActiveModControllableWithoutTimelineCounter()

void View::setActiveModControllableWithoutTimelineCounter ( ModControllable modControllable,
ParamManager paramManager 
)

◆ setKnobIndicatorLevel()

void View::setKnobIndicatorLevel ( uint8_t  whichModEncoder)

◆ setKnobIndicatorLevels()

void View::setKnobIndicatorLevels ( )

◆ setLedStates()

void View::setLedStates ( )

◆ setModLedStates()

void View::setModLedStates ( )

◆ setModRegion()

void View::setModRegion ( uint32_t  pos = 0xFFFFFFFF,
uint32_t  length = 0,
int  noteRowId = 0 
)

◆ setTimeBaseScaleLedState()

void View::setTimeBaseScaleLedState ( )

◆ setTripletsLedState()

void View::setTripletsLedState ( )

Member Data Documentation

◆ activeModControllableModelStack

ModelStackWithThreeMainThings View::activeModControllableModelStack

◆ blinkOn

bool View::blinkOn

◆ clipArmFlashOn

bool View::clipArmFlashOn

◆ deleteMidiCommandOnRelease

bool View::deleteMidiCommandOnRelease

◆ drumPressedForMIDILearn

Drum* View::drumPressedForMIDILearn

◆ dummy

uint8_t View::dummy[MODEL_STACK_MAX_SIZE - sizeof(ModelStackWithThreeMainThings)]

◆ highestMIDIChannelSeenWhileLearning

int8_t View::highestMIDIChannelSeenWhileLearning

◆ kitPressedForMIDILearn

Kit* View::kitPressedForMIDILearn

◆ learnedThing

LearnedMIDI* View::learnedThing

◆ lowestMIDIChannelSeenWhileLearning

int8_t View::lowestMIDIChannelSeenWhileLearning

◆ melodicInstrumentPressedForMIDILearn

MelodicInstrument* View::melodicInstrumentPressedForMIDILearn

◆ midiLearnFlashOn

bool View::midiLearnFlashOn

◆ modLength

uint32_t View::modLength

◆ modNoteRowId

int View::modNoteRowId

◆ modPos

uint32_t View::modPos

◆ pendingParamAutomationUpdatesModLevels

bool View::pendingParamAutomationUpdatesModLevels

◆ shouldSaveSettingsAfterMidiLearn

bool View::shouldSaveSettingsAfterMidiLearn

◆ thingPressedForMidiLearn

uint8_t View::thingPressedForMidiLearn

◆ timeSaveButtonPressed

uint32_t View::timeSaveButtonPressed

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