Oscilloscope 0.5.0
A simple oscilloscope VST
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ControlSection Class Reference

#include <ControlSection.h>

Inheritance diagram for ControlSection:

Public Member Functions

 ControlSection ()
 
 ~ControlSection () override
 
void setAttachment (juce::String attachmentName, juce::AudioProcessorValueTreeState &processorTreeState)
 
void setMultipleAttachments (std::vector< juce::String > attachmentNames, juce::AudioProcessorValueTreeState &processorTreeState)
 
void resetNumHorizontalSections ()
 
void resetButtonText ()
 
void paint (juce::Graphics &) override
 
void resized () override
 

Detailed Description

Class handling the GUI controls.

Definition at line 23 of file ControlSection.h.

Constructor & Destructor Documentation

◆ ControlSection()

ControlSection::ControlSection ( )

Construct a new Control Section object

Definition at line 16 of file ControlSection.cpp.

◆ ~ControlSection()

ControlSection::~ControlSection ( )
override

Destroy the Control Section object

Definition at line 36 of file ControlSection.cpp.

Member Function Documentation

◆ paint()

void ControlSection::paint ( juce::Graphics &  g)
override

Definition at line 145 of file ControlSection.cpp.

◆ resetButtonText()

void ControlSection::resetButtonText ( )

Reset toggleOscilloscope text

Definition at line 132 of file ControlSection.cpp.

◆ resetNumHorizontalSections()

void ControlSection::resetNumHorizontalSections ( )

Resets

Parameters
numHorizontalSectionsin order to reflect the number of horizontal control sections to display (i.e. 1 if not professional view wor 2 if professional view)

Definition at line 119 of file ControlSection.cpp.

◆ resized()

void ControlSection::resized ( )
override

Definition at line 156 of file ControlSection.cpp.

◆ setAttachment()

void ControlSection::setAttachment ( juce::String  attachmentName,
juce::AudioProcessorValueTreeState &  processorTreeState 
)

Set attachment between control and treestate.

Parameters
attachmentNameAttachment name,
See also
attachmentMap
Parameters
processorTreeStateAudio processor's Treestate.

Definition at line 40 of file ControlSection.cpp.

◆ setMultipleAttachments()

void ControlSection::setMultipleAttachments ( std::vector< juce::String >  attachmentNames,
juce::AudioProcessorValueTreeState &  processorTreeState 
)

Set multiple attachments.

Parameters
attachmentNamesVector of attachment names.
processorTreeStateAudio processor's Treestate.

Definition at line 110 of file ControlSection.cpp.


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