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

#include <SaveSongUI.h>

Inheritance diagram for SaveSongUI:
Inheritance graph
Collaboration diagram for SaveSongUI:
Collaboration graph

Public Member Functions

 SaveSongUI ()
 
bool opened ()
 
void focusRegained ()
 
bool performSave (bool mayOverwrite=false)
 
int padAction (int x, int y, int velocity)
 
- Public Member Functions inherited from SaveUI
 SaveUI ()
 
bool opened ()
 
virtual bool performSave (bool mayOverwrite=false)=0
 
void focusRegained ()
 
bool renderSidebar (uint32_t whichRows, uint8_t image[][displayWidth+sideBarWidth][3]=NULL, uint8_t occupancyMask[][displayWidth+sideBarWidth]=NULL)
 
bool canSeeViewUnderneath () final
 
int timerCallback ()
 
int buttonAction (int x, int y, bool on, bool inCardRoutine)
 
bool getGreyoutRowsAndCols (uint32_t *cols, uint32_t *rows)
 
- Public Member Functions inherited from SlotBrowser
 SlotBrowser ()
 
void focusRegained ()
 
int horizontalEncoderAction (int offset)
 
int getCurrentFilePath (String *path)
 
- Public Member Functions inherited from Browser
 Browser ()
 
void close ()
 
virtual int getCurrentFilePath (String *path)=0
 
int buttonAction (int x, int y, bool on, bool inCardRoutine)
 
void currentFileDeleted ()
 
int goIntoFolder (char const *folderName)
 
int createFolder ()
 
void selectEncoderAction (int8_t offset)
 
bool opened ()
 
- Public Member Functions inherited from QwertyUI
 QwertyUI ()
 
int padAction (int x, int y, int velocity)
 
int horizontalEncoderAction (int offset)
 
int timerCallback ()
 
bool renderMainPads (uint32_t whichRows, uint8_t image[][displayWidth+sideBarWidth][3]=NULL, uint8_t occupancyMask[][displayWidth+sideBarWidth]=NULL, bool drawUndefinedArea=true)
 
- Public Member Functions inherited from UI
 UI ()
 
virtual int padAction (int x, int y, int velocity)
 
virtual int buttonAction (int x, int y, bool on, bool inCardRoutine)
 
virtual int horizontalEncoderAction (int offset)
 
virtual int verticalEncoderAction (int offset, bool inCardRoutine)
 
virtual void selectEncoderAction (int8_t offset)
 
virtual void modEncoderAction (int whichModEncoder, int offset)
 
virtual void modButtonAction (uint8_t whichButton, bool on)
 
virtual void modEncoderButtonAction (uint8_t whichModEncoder, bool on)
 
virtual void graphicsRoutine ()
 
virtual int timerCallback ()
 
virtual bool opened ()
 
virtual void focusRegained ()
 
virtual bool canSeeViewUnderneath ()
 
virtual ClipMindertoClipMinder ()
 
virtual void scrollFinished ()
 
virtual bool noteOnReceivedForMidiLearn (MIDIDevice *fromDevice, int channel, int note, int velocity)
 
virtual bool getGreyoutRowsAndCols (uint32_t *cols, uint32_t *rows)
 
virtual bool renderMainPads (uint32_t whichRows=0, uint8_t image[][displayWidth+sideBarWidth][3]=NULL, uint8_t occupancyMask[][displayWidth+sideBarWidth]=NULL, bool drawUndefinedArea=true)
 
virtual bool renderSidebar (uint32_t whichRows=0, uint8_t image[][displayWidth+sideBarWidth][3]=NULL, uint8_t occupancyMask[][displayWidth+sideBarWidth]=NULL)
 
void close ()
 

Public Attributes

bool collectingSamples
 

Additional Inherited Members

- Static Public Member Functions inherited from Browser
static FileItemgetCurrentFileItem ()
 
static int readFileItemsForFolder (char const *filePrefixHere, bool allowFolders, char const **allowedFileExtensionsHere, char const *filenameToStartAt, int newMaxNumFileItems, int newCatalogSearchDirection=CATALOG_SEARCH_BOTH)
 
static void sortFileItems ()
 
static FileItemgetNewFileItem ()
 
static void emptyFileItems ()
 
static void deleteSomeFileItems (int startAt, int stopAt)
 
static void deleteFolderAndDuplicateItems (int instrumentAvailabilityRequirement=AVAILABILITY_ANY)
 
static PresetNavigationResult doPresetNavigation (int offset, Instrument *oldInstrument, int availabilityRequirement, bool doBlink)
 
static int getUnusedSlot (int instrumentType, String *newName, char const *thingName)
 
static ReturnOfConfirmPresetOrNextUnlaunchedOne confirmPresetOrNextUnlaunchedOne (int instrumentType, String *searchName, int availabilityRequirement)
 
static ReturnOfConfirmPresetOrNextUnlaunchedOne findAnUnlaunchedPresetIncludingWithinSubfolders (Song *song, int instrumentType, int availabilityRequirement)
 
static void cullSomeFileItems ()
 
- Static Public Attributes inherited from Browser
static String currentDir
 
static CStringArray fileItems
 
static int numFileItemsDeletedAtStart
 
static int numFileItemsDeletedAtEnd
 
static char const * firstFileItemRemaining
 
static char const * lastFileItemRemaining
 
static int instrumentTypeToLoad
 
static char const * filenameToStartSearchAt
 
- Static Public Attributes inherited from QwertyUI
static bool predictionInterrupted
 
static String enteredText
 
- Protected Member Functions inherited from SaveUI
void enterKeyPress () final
 
- Protected Member Functions inherited from SlotBrowser
int beginSlotSession (bool shouldDrawKeys=true, bool allowIfNoFolder=false)
 
void processBackspace ()
 
virtual void predictExtendedTextFromMemory ()
 
void convertToPrefixFormatIfPossible ()
 
void enterKeyPress ()
 
int getCurrentFilenameWithoutExtension (String *filename)
 
- Protected Member Functions inherited from Browser
int setEnteredTextFromCurrentFilename ()
 
int goUpOneDirectoryLevel ()
 
virtual int arrivedInNewFolder (int direction, char const *filenameToStartAt=NULL, char const *defaultDir=NULL)
 
bool predictExtendedText ()
 
void goIntoDeleteFileContextMenu ()
 
int mainButtonAction (bool on)
 
virtual void exitAction ()
 
virtual int backButtonAction ()
 
virtual void folderContentsReady (int entryDirection)
 
virtual void currentFileChanged (int movementDirection)
 
void displayText (bool blinkImmediately=false)
 
- Protected Member Functions inherited from QwertyUI
bool opened ()
 
virtual bool predictExtendedText ()
 
void drawKeys ()
 
virtual void processBackspace ()
 
virtual void enterKeyPress ()=0
 
virtual void displayText (bool blinkImmediately=false)
 
- Static Protected Member Functions inherited from Browser
static Slot getSlot (char const *displayName)
 
static int readFileItemsFromFolderAndMemory (Song *song, int instrumentType, char const *filePrefixHere, char const *filenameToStartAt, char const *defaultDirToAlsoTry, bool allowFoldersint, int availabilityRequirement=AVAILABILITY_ANY, int newCatalogSearchDirection=CATALOG_SEARCH_RIGHT)
 
- Protected Attributes inherited from SlotBrowser
InstrumentcurrentInstrument
 
- Protected Attributes inherited from Browser
bool shouldWrapFolderContents
 
bool allowBrandNewNames
 
bool qwertyAlwaysVisible
 
char const * filePrefix
 
- Static Protected Attributes inherited from SaveUI
static bool currentFolderIsEmpty
 
- Static Protected Attributes inherited from SlotBrowser
static bool currentFileHasSuffixFormatNameImplied
 
- Static Protected Attributes inherited from Browser
static int fileIndexSelected
 
static int scrollPosVertical
 
static int numCharsInPrefix
 
static bool qwertyVisible
 
static bool arrivedAtFileByTyping
 
static bool allowFoldersSharingNameWithFile
 
static char const ** allowedFileExtensions
 
static int8_t numberEditPos
 
static NumericLayerScrollingTextscrollingText
 
- Static Protected Attributes inherited from QwertyUI
static int16_t enteredTextEditPos
 
static int scrollPosHorizontal
 

Constructor & Destructor Documentation

◆ SaveSongUI()

SaveSongUI::SaveSongUI ( )

Member Function Documentation

◆ focusRegained()

void SaveSongUI::focusRegained ( )
virtual

Reimplemented from UI.

◆ opened()

bool SaveSongUI::opened ( )
virtual

Reimplemented from Browser.

◆ padAction()

int SaveSongUI::padAction ( int  x,
int  y,
int  velocity 
)
virtual

Reimplemented from QwertyUI.

◆ performSave()

bool SaveSongUI::performSave ( bool  mayOverwrite = false)
virtual

Implements SaveUI.

Member Data Documentation

◆ collectingSamples

bool SaveSongUI::collectingSamples

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