23class ConfigureSongMacros final :
public ContextMenu {
25 ConfigureSongMacros() =
default;
27 char const* getTitle()
override;
28 std::span<char const*> getOptions()
override;
29 bool setupAndCheckAvailability();
30 bool acceptCurrentOption()
override;
31 bool canSeeViewUnderneath()
override {
return true; }
32 ActionResult buttonAction(deluge::hid::Button b,
bool on,
bool inCardRoutine)
override;
33 ActionResult padAction(int32_t x, int32_t y, int32_t velocity)
override;
35 ActionResult horizontalEncoderAction(int32_t offset)
override;
36 ActionResult verticalEncoderAction(int32_t offset,
bool inCardRoutine)
override;
37 bool getGreyoutColsAndRows(uint32_t* cols, uint32_t* rows)
override;