![]() |
StoneyVCV v2
StoneyDSP Modules for VCV Rack 2.
|
The VCAPanelWidget struct.
More...
#include <VCA.hpp>
Public Types | |
| using | DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget::DrawArgs |
Public Types inherited from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget | |
| using | DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedWidget::DrawArgs |
Public Types inherited from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedWidget | |
| using | DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::DrawArgs |
Public Types inherited from StoneyDSP::StoneyVCV::ComponentLibrary::Widget | |
| using | DrawArgs = ::rack::widget::Widget::DrawArgs |
Private Member Functions | |
| VCAPanelWidget (const VCAPanelWidget &)=delete | |
| VCAPanelWidget & | operator= (const VCAPanelWidget &)=delete |
| VCAPanelWidget (VCAPanelWidget &&)=delete | |
| VCAPanelWidget & | operator= (VCAPanelWidget &&)=delete |
| VCAPanelWidget ()=delete | |
Additional Inherited Members | |
Protected Member Functions inherited from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget | |
| template<typename TParamPanelWidget > | |
| void | addParamPanelWidget (::rack::math::Vec pos) |
| template<typename TParamPanelWidget > | |
| void | addParamPanelWidgetCentered (::rack::math::Vec pos) |
| template<typename TParamPanelWidget > | |
| void | addParamPanelWidgetSized (::rack::math::Vec pos, ::rack::math::Vec size) |
| template<typename TParamPanelWidget > | |
| void | addParamPanelWidgetCenteredSized (::rack::math::Vec pos, ::rack::math::Vec size) |
| template<typename TPortPanelWidget > | |
| void | addPortPanelWidget (::rack::math::Vec pos) |
| template<typename TPortPanelWidget > | |
| void | addPortPanelWidgetCentered (::rack::math::Vec pos) |
| template<typename TPortPanelWidget > | |
| void | addPortPanelWidgetSized (::rack::math::Vec pos, ::rack::math::Vec size) |
| template<typename TPortPanelWidget > | |
| void | addPortPanelWidgetCenteredSized (::rack::math::Vec pos, ::rack::math::Vec size) |
Protected Attributes inherited from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget | |
| ::std::vector<::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedParamPanelWidget * > | paramPanelWidgets = { NULL } |
| ::std::vector<::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortPanelWidget * > | portPanelWidgets = { NULL } |
| ::std::size_t | numScrews = 0U |
| ::std::size_t | numParams = 0U |
| ::std::size_t | numPorts = 0U |
| ::std::size_t | numLights = 0U |
| ::StoneyDSP::StoneyVCV::ComponentLibrary::FramebufferWidget * | fb = NULL |
| The "head" Framebuffer Widget of the PanelWidget. | |
| ::StoneyDSP::StoneyVCV::ComponentLibrary::PanelBorderWidget * | panelBorder = NULL |
| ::StoneyDSP::StoneyVCV::ComponentLibrary::PanelLinesWidget * | panelLines = NULL |
| ::std::array<::rack::math::Vec, 4 > | screwsPositions = { ::rack::math::Vec() } |
| ::std::array<::rack::componentlibrary::ThemedScrew *, 4 > | screws = { NULL } |
Protected Attributes inherited from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedWidget | |
| bool | lastPrefersDarkPanels = {::rack::settings::preferDarkPanels} |
Protected Attributes inherited from StoneyDSP::StoneyVCV::ComponentLibrary::Widget | |
| ::rack::math::Rect | box = ::rack::math::Rect(::rack::math::Vec(), ::rack::math::Vec(INFINITY, INFINITY)) |
Position relative to parent and size of Widget. | |
| ::rack::Widget * | parent = NULL |
Automatically set when Widget is added as a child to another Widget. | |
| ::std::list<::rack::Widget * > | children |
| bool | visible = true |
| Disables rendering but allow stepping. | |
| bool | requestedDelete = false |
If set to true, parent will delete Widget in the next step(). | |
| float | lastPixelRatio = { rack::contextGet() ->window->pixelRatio} |
| const float * | pixelRatioPtr = NULL |
The VCAPanelWidget struct.
| using StoneyDSP::StoneyVCV::VCA::VCAPanelWidget::DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget::DrawArgs |
| StoneyDSP::StoneyVCV::VCA::VCAPanelWidget::VCAPanelWidget | ( | ::rack::math::Rect | newBox | ) |
Construct a new VCAPanelWidget object.
|
virtualnoexcept |
Destroys the VCAPanelWidget object.
|
privatedelete |
|
privatedelete |
|
privatedelete |
Advances the module by one frame.
Reimplemented from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget.
|
overridevirtual |
Draws the widget to the NanoVG context.
Calls the superclass's draw(args) to recurse to children.
| args |
Reimplemented from StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget.
|
privatedelete |
|
privatedelete |