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

The VCAWidget struct. More...

#include <VCA.hpp>

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

Public Types

using DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget::DrawArgs
 

Public Member Functions

 VCAWidget ()
 Construct a new VCAWidget object.
 
virtual ~VCAWidget ()
 Destroys the VCAWidget object.
 
virtual void step () override
 Advances the module by one frame.
 
virtual void draw (const ::StoneyDSP::StoneyVCV::VCA::VCAWidget::DrawArgs &args) override
 Draws the widget to the NanoVG context.
 

Private Member Functions

 VCAWidget (const VCAWidget &)=delete
 
VCAWidgetoperator= (const VCAWidget &)=delete
 
 VCAWidget (VCAWidget &&)=delete
 
VCAWidgetoperator= (VCAWidget &&)=delete
 

Private Attributes

const ::std::array<::rack::math::Vec, 4 > screwsPositions
 
const ::std::array<::rack::componentlibrary::ThemedScrew *, 4 > screws
 

Detailed Description

The VCAWidget struct.

Member Typedef Documentation

◆ DrawArgs

using StoneyDSP::StoneyVCV::VCA::VCAWidget::DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget::DrawArgs

Constructor & Destructor Documentation

◆ VCAWidget() [1/3]

StoneyDSP::StoneyVCV::VCA::VCAWidget::VCAWidget ( )

Construct a new VCAWidget object.

◆ ~VCAWidget()

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

Destroys the VCAWidget object.

◆ VCAWidget() [2/3]

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

◆ VCAWidget() [3/3]

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

Member Function Documentation

◆ step()

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

Advances the module by one frame.

◆ draw()

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

Draws the widget to the NanoVG context.

Calls the superclass's draw(args) to recurse to children.

Parameters
args

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ screwsPositions

const ::std::array<::rack::math::Vec, 4> StoneyDSP::StoneyVCV::VCA::VCAWidget::screwsPositions
private

◆ screws

const ::std::array<::rack::componentlibrary::ThemedScrew *, 4> StoneyDSP::StoneyVCV::VCA::VCAWidget::screws
private

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