29class PatchedParam :
public Param,
public MenuItemWithCCLearning {
31 PatchedParam() =
default;
32 PatchedParam(int32_t newP) : Param(newP) {}
37 ActionResult buttonAction(deluge::hid::Button b,
bool on,
bool inCardRoutine) {
38 return Param::buttonAction(b, on, inCardRoutine);
40 void horizontalEncoderAction(int32_t offset) {
return Param::horizontalEncoderAction(offset); }
43 virtual void drawValue() = 0;
47 virtual uint32_t getParamIndex();
48 virtual uint8_t shouldDrawDotOnName();
50 uint8_t shouldBlinkPatchingSourceShortcut(PatchSource s, uint8_t* colour);
51 MenuItem* patchingSourceShortcutPress(PatchSource s,
bool previousPressStillActive =
false);