24class Rate final :
public UnpatchedParam {
26 Rate(l10n::String newName, l10n::String
title)
27 : UnpatchedParam(newName,
title, deluge::modulation::params::UNPATCHED_STUTTER_RATE) {}
30 void drawValue()
override;
32 void renderInHorizontalMenu(int32_t startX, int32_t width, int32_t startY, int32_t height)
override;
35 void getColumnLabel(
StringBuf& label)
override { label.append(deluge::l10n::get(l10n::String::STRING_FOR_RATE)); }
38 int32_t getClosestQuantizedOptionIndex(int32_t value)
const;
39 const char* getQuantizedOptionLabel();
40 bool isStutterQuantized();
41 static std::vector<const char*> optionLabels;
42 static std::vector<int32_t> optionValues;