33#define STONEYVCV_COMPONENTLIBRARY_PANELWIDGET_HPP_INCLUDED 1
35#if defined (STONEYVCV_BUILD_COMPONENTLIBRARY)
45#include <StoneyDSP/Core.hpp>
65namespace ComponentLibrary
84struct Widget :
virtual ::rack::widget::Widget
90 using DrawArgs = ::rack::widget::Widget::DrawArgs;
133 float newPixelRatio =
APP->window->pixelRatio;
145 ::StoneyDSP::ignoreUnused(
e);
295 bool newPrefersDarkPanels = {::rack::settings::preferDarkPanels};
308 if(this->lastPrefersDarkPanels !=
e.newPrefersDarkPanels)
309 this->lastPrefersDarkPanels =
e.newPrefersDarkPanels;
322 bool lastPrefersDarkPanels = {::rack::settings::preferDarkPanels};
334 const bool *prefersDarkPanelsPtr =
NULL;
353 using DrawArgs = ::rack::widget::FramebufferWidget::DrawArgs;
451 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onHover(
e);
460 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onButton(
e);
471 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onHoverKey(
e);
477 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onHoverText(
e);
483 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onHoverScroll(
e);
489 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onDragHover(
e);
498 ::StoneyDSP::StoneyVCV::ComponentLibrary::Widget::onPathDrop(
e);
StoneyDSP Modules for VCV Rack 2.
StoneyDSP Modules for VCV Rack 2.
#define STONEYVCV_DECLARE_WIDGET_FACTORY_FUNCTIONS(ClassName)
Add this definition to a class or struct's declaration body to make it compatible with the StoneyVCV ...
Definition StoneyVCV.hpp:426
The StoneyDSP namespace.
Definition StoneyVCV.hpp:78
Definition StoneyVCV.hpp:125