28class UnpatchedParam :
public Param,
public IntegerContinuous,
public MenuItemWithCCLearning {
30 UnpatchedParam(l10n::String newName, l10n::String
title, int32_t newP)
33 UnpatchedParam(l10n::String newName, int32_t newP) : Param(newP),
IntegerContinuous(newName) {}
37 void writeCurrentValue()
override;
39 [[nodiscard]] int32_t getMaxValue()
const override {
return Param::getMaxValue(); }
40 [[nodiscard]] int32_t getMinValue()
const override {
return Param::getMinValue(); }
45 ActionResult
buttonAction(deluge::hid::Button b,
bool on,
bool inCardRoutine)
final {
46 return Param::buttonAction(b, on, inCardRoutine);
51 bool allowsLearnMode() final {
return MenuItemWithCCLearning::allowsLearnMode(); }
52 void learnKnob(
MIDICable* cable, int32_t whichKnob, int32_t modKnobMode, int32_t midiChannel)
final {
53 MenuItemWithCCLearning::learnKnob(cable, whichKnob, modKnobMode, midiChannel);
61 int32_t getParamValue() {
67 virtual int32_t getFinalValue();