Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MenuItemSourceSelection Class Referenceabstract

#include <MenuItemSourceSelection.h>

Inheritance diagram for MenuItemSourceSelection:
Inheritance graph
Collaboration diagram for MenuItemSourceSelection:
Collaboration graph

Public Member Functions

 MenuItemSourceSelection ()
 
void beginSession (MenuItem *navigatedBackwardFrom=NULL)
 
void selectEncoderAction (int offset) final
 
virtual ParamDescriptor getDestinationDescriptor ()=0
 
uint8_t getIndexOfPatchedParamToBlink () final
 
uint8_t shouldBlinkPatchingSourceShortcut (int s, uint8_t *colour) final
 
void readValueAgain () final
 
void drawValue ()
 
- Public Member Functions inherited from MenuItem
 MenuItem (char const *newName=NULL)
 
virtual void horizontalEncoderAction (int offset)
 
virtual void selectEncoderAction (int offset)
 
virtual void beginSession (MenuItem *navigatedBackwardFrom=NULL)
 
virtual bool isRelevant (Sound *sound, int whichThing)
 
virtual char const * getName ()
 
virtual MenuItemselectButtonPress ()
 
virtual int checkPermissionToBeginSession (Sound *sound, int whichThing, MultiRange **currentRange)
 
virtual void readValueAgain ()
 
virtual bool selectEncoderActionEditsInstrument ()
 
virtual uint8_t getPatchedParamIndex ()
 
virtual uint8_t getIndexOfPatchedParamToBlink ()
 
virtual uint8_t shouldDrawDotOnName ()
 
virtual uint8_t shouldBlinkPatchingSourceShortcut (int s, uint8_t *colour)
 
virtual MenuItempatchingSourceShortcutPress (int s, bool previousPressStillActive=false)
 
virtual void unlearnAction ()
 
virtual bool allowsLearnMode ()
 
virtual void learnKnob (MIDIDevice *fromDevice, int whichKnob, int modKnobMode, int midiChannel)
 
virtual bool learnNoteOn (MIDIDevice *fromDevice, int channel, int noteCode)
 
virtual void learnCC (MIDIDevice *fromDevice, int channel, int ccNumber, int value)
 
virtual bool shouldBlinkLearnLed ()
 
virtual bool isRangeDependent ()
 
virtual bool usesAffectEntire ()
 
virtual void drawName ()
 

Public Attributes

uint8_t s
 
- Public Attributes inherited from MenuItem
char const * name
 

Protected Member Functions

bool sourceIsAllowed (int source)
 
uint8_t shouldDrawDotOnValue ()
 

Constructor & Destructor Documentation

◆ MenuItemSourceSelection()

MenuItemSourceSelection::MenuItemSourceSelection ( )

Member Function Documentation

◆ beginSession()

void MenuItemSourceSelection::beginSession ( MenuItem navigatedBackwardFrom = NULL)
virtual

Reimplemented from MenuItem.

Reimplemented in MenuItemSourceSelectionRegular.

◆ drawValue()

void MenuItemSourceSelection::drawValue ( )

◆ getDestinationDescriptor()

virtual ParamDescriptor MenuItemSourceSelection::getDestinationDescriptor ( )
pure virtual

◆ getIndexOfPatchedParamToBlink()

uint8_t MenuItemSourceSelection::getIndexOfPatchedParamToBlink ( )
finalvirtual

Reimplemented from MenuItem.

◆ readValueAgain()

void MenuItemSourceSelection::readValueAgain ( )
finalvirtual

Reimplemented from MenuItem.

◆ selectEncoderAction()

void MenuItemSourceSelection::selectEncoderAction ( int  offset)
finalvirtual

Reimplemented from MenuItem.

◆ shouldBlinkPatchingSourceShortcut()

uint8_t MenuItemSourceSelection::shouldBlinkPatchingSourceShortcut ( int  s,
uint8_t *  colour 
)
finalvirtual

Reimplemented from MenuItem.

◆ shouldDrawDotOnValue()

uint8_t MenuItemSourceSelection::shouldDrawDotOnValue ( )
protected

◆ sourceIsAllowed()

bool MenuItemSourceSelection::sourceIsAllowed ( int  source)
protected

Member Data Documentation

◆ s

uint8_t MenuItemSourceSelection::s

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