StoneyVCV v2
StoneyDSP Modules for VCV Rack 2.
Loading...
Searching...
No Matches
StoneyDSP::StoneyVCV::VCA::VCAModuleWidget Struct Referencefinal

The VCAModuleWidget struct. More...

#include <VCA.hpp>

Inheritance diagram for StoneyDSP::StoneyVCV::VCA::VCAModuleWidget:
[legend]
Collaboration diagram for StoneyDSP::StoneyVCV::VCA::VCAModuleWidget:
[legend]

Public Types

using DrawArgs = ::rack::app::ModuleWidget::DrawArgs
 

Public Member Functions

 VCAModuleWidget (::StoneyDSP::StoneyVCV::VCA::VCAModule *module)
 Construct a new VCAModuleWidget object.
 
virtual ~VCAModuleWidget ()
 Destroys the VCAModuleWidget object.
 
virtual void step () override
 Advances the module by one frame.
 
virtual void draw (const ::StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::DrawArgs &args) override
 

Private Member Functions

 VCAModuleWidget (const VCAModuleWidget &)=delete
 
VCAModuleWidgetoperator= (const VCAModuleWidget &)=delete
 
 VCAModuleWidget (VCAModuleWidget &&)=delete
 
VCAModuleWidgetoperator= (VCAModuleWidget &&)=delete
 

Private Attributes

const ::rack::math::Vec size
 
::rack::app::ThemedSvgPanel * panel
 
::StoneyDSP::StoneyVCV::VCA::VCAWidgetvcaWidget
 
::rack::FramebufferWidget * vcaModuleWidgetFrameBuffer
 
::rack::componentlibrary::RoundLargeBlackKnob * gainKnob
 
::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget * portCvInput
 
::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget * portVcaInput
 
::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget * portVcaOutput
 
::rack::componentlibrary::MediumLight<::rack::componentlibrary::RedLight > * lightVca
 3mm LED showing a smoothed CV value.
 
bool lastPrefersDarkPanels
 

Detailed Description

The VCAModuleWidget struct.

Member Typedef Documentation

◆ DrawArgs

using StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::DrawArgs = ::rack::app::ModuleWidget::DrawArgs

Constructor & Destructor Documentation

◆ VCAModuleWidget() [1/3]

StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::VCAModuleWidget ( ::StoneyDSP::StoneyVCV::VCA::VCAModule module)

Construct a new VCAModuleWidget object.

Parameters
module

◆ ~VCAModuleWidget()

virtual StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::~VCAModuleWidget ( )
virtual

Destroys the VCAModuleWidget object.

◆ VCAModuleWidget() [2/3]

StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::VCAModuleWidget ( const VCAModuleWidget )
privatedelete

◆ VCAModuleWidget() [3/3]

StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::VCAModuleWidget ( VCAModuleWidget &&  )
privatedelete

Member Function Documentation

◆ step()

virtual void StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::step ( )
overridevirtual

Advances the module by one frame.

◆ draw()

virtual void StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::draw ( const ::StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::DrawArgs args)
overridevirtual

◆ operator=() [1/2]

VCAModuleWidget & StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::operator= ( const VCAModuleWidget )
privatedelete

◆ operator=() [2/2]

VCAModuleWidget & StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::operator= ( VCAModuleWidget &&  )
privatedelete

Member Data Documentation

◆ size

const ::rack::math::Vec StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::size
private

◆ panel

::rack::app::ThemedSvgPanel* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::panel
private

◆ vcaWidget

::StoneyDSP::StoneyVCV::VCA::VCAWidget* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::vcaWidget
private

◆ vcaModuleWidgetFrameBuffer

::rack::FramebufferWidget* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::vcaModuleWidgetFrameBuffer
private

◆ gainKnob

::rack::componentlibrary::RoundLargeBlackKnob* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::gainKnob
private

◆ portCvInput

::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::portCvInput
private

◆ portVcaInput

::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::portVcaInput
private

◆ portVcaOutput

::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::portVcaOutput
private

◆ lightVca

::rack::componentlibrary::MediumLight<::rack::componentlibrary::RedLight>* StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::lightVca
private

3mm LED showing a smoothed CV value.

◆ lastPrefersDarkPanels

bool StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::lastPrefersDarkPanels
private

The documentation for this struct was generated from the following file: