quantumVERB  1.0.0
A FOSS convolution reverb plugin
reverb::UIReverbBlock Class Reference
Inheritance diagram for reverb::UIReverbBlock:
Collaboration diagram for reverb::UIReverbBlock:

Public Types

using Ptr = std::unique_ptr< UIReverbBlock >
 
- Public Types inherited from reverb::UIBlock
using Ptr = std::unique_ptr< UIBlock >
 

Public Member Functions

 UIReverbBlock (AudioProcessor &processor)
 Constructs an UIReverbBlock object. More...
 
void paint (juce::Graphics &) override
 
void resized () override
 Manages the layout of UIReverbBlock when the block is resized. More...
 
- Public Member Functions inherited from reverb::UIBlock
 UIBlock (int numComponents, int numComponentsPerRow, const juce::String &componentName=juce::String(), const juce::String &labelText=juce::String())
 
std::vector< juce::Rectangle< int > > getComponentCells (juce::Rectangle< int > bounds)
 

Public Attributes

juce::Slider irLength
 
juce::Slider preDelay
 
juce::Slider irGain
 
juce::Slider outGain
 
juce::Slider wetRatio
 

Protected Types

using SliderAttachment = juce::AudioProcessorValueTreeState::SliderAttachment
 

Protected Attributes

juce::Label irLengthLabel
 
std::unique_ptr< SliderAttachment > irLengthAttachment
 
juce::Label preDelayLabel
 
std::unique_ptr< SliderAttachment > preDelayAttachment
 
juce::Label irGainLabel
 
std::unique_ptr< SliderAttachment > irGainAttachment
 
juce::Label outGainLabel
 
std::unique_ptr< SliderAttachment > outGainAttachment
 
juce::Label wetRatioLabel
 
std::unique_ptr< SliderAttachment > wetRatioAttachment
 
- Protected Attributes inherited from reverb::UIBlock
juce::TextButton frame
 
int numComponents
 
int numComponentsPerRow
 

Detailed Description

Definition at line 22 of file UIReverbBlock.h.

Constructor & Destructor Documentation

◆ UIReverbBlock()

reverb::UIReverbBlock::UIReverbBlock ( AudioProcessor processor)

Constructs an UIReverbBlock object.

Creates a UIReverbBlock and each of its components. Constructs a building block for the UI. This block includes all sliders required for the impulse response parameters and output parammeters. It also does most of the configuration for these sliders. It also adds its parameters to the AudioProcessorValueTreeState.

Definition at line 25 of file UIReverbBlock.cpp.

Member Function Documentation

◆ resized()

void reverb::UIReverbBlock::resized ( )
override

Manages the layout of UIReverbBlock when the block is resized.

This function defines all the relative positioning of the various UIReverbBlock elements.

Definition at line 139 of file UIReverbBlock.cpp.


The documentation for this class was generated from the following files: