23class SavePatternUI final :
public SaveUI {
26 bool opened()
override;
28 ActionResult buttonAction(deluge::hid::Button b,
bool on,
bool inCardRoutine)
override;
30 void verticalEncoderAction(int32_t offset,
bool encoderButtonPressed,
bool shiftButtonPressed) {};
32 bool performSave(
bool mayOverwrite)
override;
34 bool renderSidebar(uint32_t whichRows,
RGB image[][kDisplayWidth + kSideBarWidth] =
nullptr,
35 uint8_t occupancyMask[][kDisplayWidth + kSideBarWidth] =
nullptr)
override {
40 UIType getUIType()
override {
return UIType::SAVE_PATTERN; }
43 bool selectedDrumOnly;
44 std::string defaultDir;