11#include <JuceHeader.h>
27 bufferLength.setSliderStyle(juce::Slider::SliderStyle::LinearHorizontal);
28 bufferLength.setTextBoxStyle(juce::Slider::NoTextBox,
true, 0, 0);
46 drawGrid.setSize(getWidth() / 5., getHeight() * 3. / 4.);
47 drawGrid.setTopLeftPosition(10, getHeight() / 8.);
49 muteOutput.setSize(getWidth() / 5., getHeight() * 3. / 4.);
50 muteOutput.setTopLeftPosition(10 + getWidth() / 5, getHeight() / 8.);
52 bufferLength.setSize(getWidth() * 2 / 5, getHeight() * 3. / 4.);
53 bufferLength.setTopLeftPosition(getWidth() * 11. / 20., getHeight() / 8.);
void paint(juce::Graphics &) override
juce::ToggleButton drawGrid
~BasicControls() override
juce::ToggleButton muteOutput
juce::Slider bufferLength