22class ArpUnpatchedParam final :
public UnpatchedParam {
24 using UnpatchedParam::UnpatchedParam;
26 ArpUnpatchedParam(l10n::String newName, l10n::String
title, int32_t newP, NumberStyle style)
27 : UnpatchedParam(newName,
title, newP), style_(style) {}
30 return !soundEditor.editingCVOrMIDIClip() && !soundEditor.editingNonAudioDrumRow();
32 void getColumnLabel(
StringBuf& label)
override {
33 label.append(deluge::l10n::get(deluge::l10n::built_in::seven_segment, this->name));
35 [[nodiscard]] NumberStyle getNumberStyle()
const override {
return style_; }
38 NumberStyle style_ = KNOB;
53class ArpNonKitSoundUnpatchedParam final :
public UnpatchedParam {
55 using UnpatchedParam::UnpatchedParam;
57 ArpNonKitSoundUnpatchedParam(l10n::String newName, l10n::String
title, int32_t newP, NumberStyle style)
58 : UnpatchedParam(newName,
title, newP), style_(style) {}
61 return !soundEditor.editingCVOrMIDIClip() && !soundEditor.editingKit();
63 void getColumnLabel(
StringBuf& label)
override {
64 label.append(deluge::l10n::get(deluge::l10n::built_in::seven_segment, this->name));
66 [[nodiscard]] NumberStyle getNumberStyle()
const override {
return style_; }
69 NumberStyle style_ = KNOB;