MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / CarlaModuleWidget

Method CarlaModuleWidget

plugins/Cardinal/src/Carla.cpp:505–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503 bool visible = false;
504
505 CarlaModuleWidget(CarlaModule* const m)
506 : module(m)
507 {
508 setModule(module);
509 setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Carla.svg")));
510
511 createAndAddScrews();
512
513 for (uint i=0; i<CarlaModule::NUM_INPUTS; ++i)
514 createAndAddInput(i);
515
516 for (uint i=0; i<CarlaModule::NUM_OUTPUTS; ++i)
517 createAndAddOutput(i);
518 }
519
520 ~CarlaModuleWidget() override
521 {

Callers

nothing calls this directly

Calls 2

loadSvgMethod · 0.80
pluginFunction · 0.50

Tested by

no test coverage detected