|
@@ -420,7 +420,7 @@ struct {identifier} : Module {{""" |
|
|
struct {identifier}Widget : ModuleWidget {{ |
|
|
struct {identifier}Widget : ModuleWidget {{ |
|
|
{identifier}Widget({identifier}* module) {{ |
|
|
{identifier}Widget({identifier}* module) {{ |
|
|
setModule(module); |
|
|
setModule(module); |
|
|
setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/{slug}.svg"))); |
|
|
|
|
|
|
|
|
setPanel(createPanel(asset::plugin(pluginInstance, "res/{slug}.svg"))); |
|
|
|
|
|
|
|
|
addChild(createWidget<ScrewSilver>(Vec(RACK_GRID_WIDTH, 0))); |
|
|
addChild(createWidget<ScrewSilver>(Vec(RACK_GRID_WIDTH, 0))); |
|
|
addChild(createWidget<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); |
|
|
addChild(createWidget<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0))); |
|
|