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

The HP1Widget struct. More...

#include <HP1.hpp>

Inheritance diagram for StoneyDSP::StoneyVCV::HP1::HP1Widget:
[legend]
Collaboration diagram for StoneyDSP::StoneyVCV::HP1::HP1Widget:
[legend]

Public Types

using DrawArgs = ::rack::widget::Widget::DrawArgs
 

Public Member Functions

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

Public Attributes

::rack::widget::FramebufferWidget * hp1WidgetFrameBuffer
 
::rack::widget::Widget * panelBorder
 

Private Member Functions

 HP1Widget (const HP1Widget &)=delete
 
HP1Widgetoperator= (const HP1Widget &)=delete
 
 HP1Widget (HP1Widget &&)=delete
 
HP1Widgetoperator= (HP1Widget &&)=delete
 

Detailed Description

The HP1Widget struct.

Member Typedef Documentation

◆ DrawArgs

using StoneyDSP::StoneyVCV::HP1::HP1Widget::DrawArgs = ::rack::widget::Widget::DrawArgs

Constructor & Destructor Documentation

◆ HP1Widget() [1/3]

StoneyDSP::StoneyVCV::HP1::HP1Widget::HP1Widget ( )

Construct a new HP1Widget object.

◆ ~HP1Widget()

virtual StoneyDSP::StoneyVCV::HP1::HP1Widget::~HP1Widget ( )
virtual

Destroys the HP1Widget object.

◆ HP1Widget() [2/3]

StoneyDSP::StoneyVCV::HP1::HP1Widget::HP1Widget ( const HP1Widget )
privatedelete

◆ HP1Widget() [3/3]

StoneyDSP::StoneyVCV::HP1::HP1Widget::HP1Widget ( HP1Widget &&  )
privatedelete

Member Function Documentation

◆ step()

virtual void StoneyDSP::StoneyVCV::HP1::HP1Widget::step ( )
overridevirtual

Advances the module by one frame.

◆ draw()

virtual void StoneyDSP::StoneyVCV::HP1::HP1Widget::draw ( const ::StoneyDSP::StoneyVCV::HP1::HP1Widget::DrawArgs args)
overridevirtual

Draws the widget to the NanoVG context.

When overriding, call the superclass's draw(args) to recurse to children.

Parameters
args

◆ operator=() [1/2]

HP1Widget & StoneyDSP::StoneyVCV::HP1::HP1Widget::operator= ( const HP1Widget )
privatedelete

◆ operator=() [2/2]

HP1Widget & StoneyDSP::StoneyVCV::HP1::HP1Widget::operator= ( HP1Widget &&  )
privatedelete

Member Data Documentation

◆ hp1WidgetFrameBuffer

::rack::widget::FramebufferWidget* StoneyDSP::StoneyVCV::HP1::HP1Widget::hp1WidgetFrameBuffer

◆ panelBorder

::rack::widget::Widget* StoneyDSP::StoneyVCV::HP1::HP1Widget::panelBorder

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