23class LoadSongUI final :
public LoadUI {
26 ActionResult buttonAction(deluge::hid::Button b,
bool on,
bool inCardRoutine)
override;
27 ActionResult timerCallback()
override;
28 ActionResult verticalEncoderAction(int32_t offset,
bool inCardRoutine)
override;
29 void graphicsRoutine()
override {}
30 void scrollFinished()
override;
31 ActionResult padAction(int32_t x, int32_t y, int32_t velocity)
override;
32 bool opened()
override;
33 void selectEncoderAction(int8_t offset)
override;
34 void queueLoadNextSongIfAvailable(int8_t offset);
36 void displayLoopsRemainingPopup();
39 bool deletedPartsOfOldSong;
42 UIType
getUIType()
override {
return UIType::LOAD_SONG; }
43 bool canDisplayFavourites()
override {
return true; }
46 void displayText(
bool blinkImmediately =
false)
override;
47 void enterKeyPress()
override;
48 void folderContentsReady(int32_t entryDirection)
override;
49 void currentFileChanged(int32_t movementDirection)
override;
50 void exitAction()
override;
53 void drawSongPreview(
bool toStore =
true);
54 void displayArmedPopup();
57 bool scrollingIntoSlot;
58 bool qwertyCurrentlyDrawnOnscreen;
59 void doQueueLoadNextSongIfAvailable(int8_t offset);
62 void exitActionWithError();
63 void performLoadFixedSM();