computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit dd33503e1d131d55798fec34cbddfa8e5c001cd9
parent 5c946e772d3d30b76ed18f186f1755692f6d9db3
Author: Adam M <[email protected]>
Date:   Wed, 27 Oct 2021 12:28:51 -0500

remove unused code

Diffstat:
Msrc/ComputerscareBolyPuttons.cpp | 14+-------------
1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/ComputerscareBolyPuttons.cpp b/src/ComputerscareBolyPuttons.cpp @@ -35,13 +35,11 @@ struct ComputerscareBolyPuttons : ComputerscarePolyModule { NUM_LIGHTS }; - ComputerscareBolyPuttons() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); for (int i = 0; i < numToggles; i++) { - //configParam(KNOB + i, 0.0f, 10.0f, 0.0f); configParam(TOGGLE + i, 0.f, 1.f, 0.f, "Channel " + std::to_string(i + 1)); } configParam<AutoParamQuantity>(POLY_CHANNELS, 0.f, 16.f, 16.f, "Poly Channels"); @@ -192,8 +190,7 @@ struct DisableableParamWidget : SmallIsoButton { smallLetterDisplay->fontSize = 17; smallLetterDisplay->value = ""; smallLetterDisplay->textAlign = 1; - smallLetterDisplay->box.pos = box.pos;//Vec(box.pos.x,box.pos.y); - //smallLetterDisplay->box.pos = Vec(x + labelDx, y - 12 + labelDy); + smallLetterDisplay->box.pos = box.pos; addChild(smallLetterDisplay); SmallIsoButton(); @@ -207,8 +204,6 @@ struct DisableableParamWidget : SmallIsoButton { else { disabled = false; } - - SmallIsoButton::step(); } void draw(const DrawArgs &ctx) override { @@ -224,7 +219,6 @@ struct ComputerscareBolyPuttonsWidget : ModuleWidget { ComputerscareBolyPuttonsWidget(ComputerscareBolyPuttons *module) { setModule(module); - //setPanel(APP->window->loadSvg(asset::plugin(pluginInstance, "res/ComputerscareKnolyPobsPanel.svg"))); box.size = Vec(4 * 15, 380); { ComputerscareSVGPanel *panel = new ComputerscareSVGPanel(); @@ -262,12 +256,6 @@ struct ComputerscareBolyPuttonsWidget : ModuleWidget { button->module = module; button->channel = index; addParam(button); - - - //addParam(createParam<DisableableParamWidget>(Vec(x, y), module, ComputerscareBolyPuttons::TOGGLE + index)); - - - } /*void fromJson(json_t *rootJ) override