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 label.append(deluge::l10n::get(deluge::l10n::String::STRING_FOR_RATE));
39 int32_t getClosestQuantizedOptionIndex(int32_t value)
const;
40 const char* getQuantizedOptionLabel();
41 bool isStutterQuantized();
42 static std::vector<const char*> optionLabels;
43 static std::vector<int32_t> optionValues;