18#include "definitions_cxx.hpp"
20#include "gui/ui/sound_editor.h"
21#include "randomizer_integer.h"
23namespace deluge::gui::menu_item::randomizer::midi_cv {
26 using RandomizerNonSoundInteger::RandomizerNonSoundInteger;
28 this->setValue(computeCurrentValueForUnsignedMenuItem(soundEditor.currentArpSettings->spreadGate));
30 void writeCurrentValue()
override {
31 int32_t value = computeFinalValueForUnsignedMenuItem(this->getValue());
32 soundEditor.currentArpSettings->spreadGate = value;
Definition randomizer_integer.h:22
Definition spread_gate.h:24
void readCurrentValue() override
Like readValueAgain, but does not redraw.
Definition spread_gate.h:27