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

The HP2ModuleWidget struct. More...

#include <HP2.hpp>

Inheritance diagram for StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget:
[legend]
Collaboration diagram for StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget:
[legend]

Public Member Functions

 HP2ModuleWidget (::StoneyDSP::StoneyVCV::HP2::HP2Module *module)
 Construct a new HP2ModuleWidget object.
 
virtual ~HP2ModuleWidget ()
 Destroys the HP2ModuleWidget object.
 
virtual void step () override
 Advances the module by one frame.
 

Private Member Functions

 HP2ModuleWidget (const HP2ModuleWidget &)=delete
 
HP2ModuleWidgetoperator= (const HP2ModuleWidget &)=delete
 
 HP2ModuleWidget (HP2ModuleWidget &&)=delete
 
HP2ModuleWidgetoperator= (HP2ModuleWidget &&)=delete
 

Private Attributes

::rack::math::Vec size
 
::rack::app::ThemedSvgPanel * panel
 
::StoneyDSP::StoneyVCV::HP2::HP2Widgethp2Widget
 
::rack::widget::FramebufferWidget * hp2ModuleWidgetFrameBuffer
 
const ::rack::math::Vec screwsPositions [4]
 
::rack::componentlibrary::ThemedScrew * screws [4]
 
bool lastPrefersDarkPanels
 

Detailed Description

The HP2ModuleWidget struct.

Constructor & Destructor Documentation

◆ HP2ModuleWidget() [1/3]

StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::HP2ModuleWidget ( ::StoneyDSP::StoneyVCV::HP2::HP2Module module)

Construct a new HP2ModuleWidget object.

Parameters
module

◆ ~HP2ModuleWidget()

virtual StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::~HP2ModuleWidget ( )
virtual

Destroys the HP2ModuleWidget object.

◆ HP2ModuleWidget() [2/3]

StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::HP2ModuleWidget ( const HP2ModuleWidget )
privatedelete

◆ HP2ModuleWidget() [3/3]

StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::HP2ModuleWidget ( HP2ModuleWidget &&  )
privatedelete

Member Function Documentation

◆ step()

virtual void StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::step ( )
overridevirtual

Advances the module by one frame.

◆ operator=() [1/2]

HP2ModuleWidget & StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::operator= ( const HP2ModuleWidget )
privatedelete

◆ operator=() [2/2]

HP2ModuleWidget & StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::operator= ( HP2ModuleWidget &&  )
privatedelete

Member Data Documentation

◆ size

::rack::math::Vec StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::size
private

◆ panel

::rack::app::ThemedSvgPanel* StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::panel
private

◆ hp2Widget

::StoneyDSP::StoneyVCV::HP2::HP2Widget* StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::hp2Widget
private

◆ hp2ModuleWidgetFrameBuffer

::rack::widget::FramebufferWidget* StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::hp2ModuleWidgetFrameBuffer
private

◆ screwsPositions

const ::rack::math::Vec StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::screwsPositions[4]
private

◆ screws

::rack::componentlibrary::ThemedScrew* StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::screws[4]
private

◆ lastPrefersDarkPanels

bool StoneyDSP::StoneyVCV::HP2::HP2ModuleWidget::lastPrefersDarkPanels
private

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