![]() |
StoneyVCV v2
StoneyDSP Modules for VCV Rack 2.
|
The VCAPanelWidget
struct.
More...
#include <VCA.hpp>
Public Types | |
using | DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget::DrawArgs |
![]() | |
using | DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedWidget::DrawArgs |
![]() | |
using | DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::DrawArgs |
![]() | |
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 | |
![]() | |
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) |
![]() | |
::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 } |
![]() | |
bool | lastPrefersDarkPanels = {::rack::settings::preferDarkPanels} |
![]() | |
::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 |