28 using Integer::Integer;
29 virtual void drawValue() {
31 intToString(std::abs(this->getValue()), buffer, 1);
32 if (this->getValue() < 0) {
35 else if (this->getValue() > 0) {
38 display->setText(buffer,
true);
41 void writeCurrentValue()
override { AudioEngine::reverbPan = computeFinalValueForPan(this->getValue()); }
43 void readCurrentValue()
override { this->setValue(computeCurrentValueForPan(AudioEngine::reverbPan)); }
45 [[nodiscard]] int32_t getMaxValue()
const override {
return kMaxMenuRelativeValue; }
46 [[nodiscard]] int32_t getMinValue()
const override {
return kMinMenuRelativeValue; }