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

The HP2Widget struct. More...

#include <HP2.hpp>

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

Public Types

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

Public Member Functions

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

Private Member Functions

 HP2Widget (const HP2Widget &)=delete
 
HP2Widgetoperator= (const HP2Widget &)=delete
 
 HP2Widget (HP2Widget &&)=delete
 
HP2Widgetoperator= (HP2Widget &&)=delete
 

Private Attributes

::rack::widget::FramebufferWidget * hp2WidgetFrameBuffer
 
::rack::widget::Widget * panelBorder
 

Detailed Description

The HP2Widget struct.

Member Typedef Documentation

◆ DrawArgs

using StoneyDSP::StoneyVCV::HP2::HP2Widget::DrawArgs = ::rack::widget::Widget::DrawArgs

Constructor & Destructor Documentation

◆ HP2Widget() [1/3]

StoneyDSP::StoneyVCV::HP2::HP2Widget::HP2Widget ( )

Construct a new HP2Widget object.

◆ ~HP2Widget()

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

Destroys the HP2Widget object.

◆ HP2Widget() [2/3]

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

◆ HP2Widget() [3/3]

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

Member Function Documentation

◆ step()

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

Advances the module by one frame.

◆ draw()

virtual void StoneyDSP::StoneyVCV::HP2::HP2Widget::draw ( const ::StoneyDSP::StoneyVCV::HP2::HP2Widget::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]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ hp2WidgetFrameBuffer

::rack::widget::FramebufferWidget* StoneyDSP::StoneyVCV::HP2::HP2Widget::hp2WidgetFrameBuffer
private

◆ panelBorder

::rack::widget::Widget* StoneyDSP::StoneyVCV::HP2::HP2Widget::panelBorder
private

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