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

Public Types

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

Public Member Functions

 UIFilterBlock (AudioProcessor &processor, int index, const juce::String &displayedName=juce::String())
 Constructs a UIFilterBlock object. More...
 
void paint (juce::Graphics &) override
 
void resized () override
 Manages the layout of UIFilterBlock 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 freq
 
juce::Slider q
 
juce::Slider gain
 

Protected Types

using SliderAttachment = juce::AudioProcessorValueTreeState::SliderAttachment
 

Protected Attributes

juce::Label freqLabel
 
std::unique_ptr< SliderAttachment > freqAttachment
 
juce::Label qLabel
 
std::unique_ptr< SliderAttachment > qAttachment
 
juce::Label gainLabel
 
std::unique_ptr< SliderAttachment > gainAttachment
 
- Protected Attributes inherited from reverb::UIBlock
juce::TextButton frame
 
int numComponents
 
int numComponentsPerRow
 

Detailed Description

Definition at line 19 of file UIFilterBlock.h.

Constructor & Destructor Documentation

◆ UIFilterBlock()

reverb::UIFilterBlock::UIFilterBlock ( AudioProcessor processor,
int  index,
const juce::String &  displayedName = juce::String() 
)

Constructs a UIFilterBlock object.

Creates a UIFilterBlock and each of its components. Constructs a building block for the UI. This block includes all sliders required for a filter as well as does most of its configuration. It also adds its parameters to the AudioProcessorValueTreeState.

Definition at line 24 of file UIFilterBlock.cpp.

Member Function Documentation

◆ resized()

void reverb::UIFilterBlock::resized ( )
override

Manages the layout of UIFilterBlock when the block is resized.

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

Definition at line 113 of file UIFilterBlock.cpp.


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