Skip to content

Commit

Permalink
Finalizing Audio Interface 16 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rcomian committed Jan 21, 2019
1 parent 3deb369 commit 9750b0c
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 31 deletions.
73 changes: 49 additions & 24 deletions res/AudioInterface16_Plastic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions src/AudioInterface16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ struct AudioInterfaceWidget16 : ModuleWidget {
AudioInterfaceWidget16(AudioInterface16 *module) : ModuleWidget(module) {
setPanel(SVG::load(assetPlugin(plugin, "res/AudioInterface16_Plastic.svg")));

// addChild(Widget::create<ScrewSilver>(Vec(RACK_GRID_WIDTH, 0)));
// addChild(Widget::create<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, 0)));
// addChild(Widget::create<ScrewSilver>(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
// addChild(Widget::create<ScrewSilver>(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));

addInput(Port::create<PJ301MPort>(mm2px(Vec(3.7069211, 55.530807)), Port::INPUT, module, AudioInterface16::AUDIO_INPUT + 0));
addInput(Port::create<PJ301MPort>(mm2px(Vec(15.307249, 55.530807)), Port::INPUT, module, AudioInterface16::AUDIO_INPUT + 1));
addInput(Port::create<PJ301MPort>(mm2px(Vec(26.906193, 55.530807)), Port::INPUT, module, AudioInterface16::AUDIO_INPUT + 2));
Expand Down Expand Up @@ -316,5 +311,4 @@ struct AudioInterfaceWidget16 : ModuleWidget {

};


Model *modelAudioInterface16 = Model::create<AudioInterface16, AudioInterfaceWidget16>("rcm", "AudioInterface16", "Interface 16", EXTERNAL_TAG);
Model *modelAudioInterface16 = Model::create<AudioInterface16, AudioInterfaceWidget16>("rcm", "AudioInterface16", "Audio Interface 16", EXTERNAL_TAG);

0 comments on commit 9750b0c

Please sign in to comment.