commit 0847836b19ce01155f4981094d8e9b23c9329199
parent 02080599f553e6943a1f75eeac054b804cb110b2
Author: Adam M <aemalone@gmail.com>
Date: Fri, 26 Oct 2018 21:53:05 -0500
panel update
Diffstat:
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/res/ComputerscareLaundrySoupPanel.svg b/res/ComputerscareLaundrySoupPanel.svg
@@ -38,7 +38,7 @@
inkscape:cx="101.90912"
inkscape:cy="365.51563"
inkscape:document-units="mm"
- inkscape:current-layer="text917"
+ inkscape:current-layer="text1651"
showgrid="false"
units="px"
inkscape:snap-bbox="true"
@@ -267,7 +267,7 @@
style="stroke-width:0.07000434" /></text>
<g
aria-label="out"
- transform="matrix(0.99983713,0.25105572,-0.17945131,0.95510327,70.395537,22.117698)"
+ transform="matrix(1.0468606,0.36920082,-0.20179075,0.85789222,74.65304,42.604405)"
style="font-style:normal;font-weight:normal;font-size:3.52777767px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.07000434"
id="text888">
<path
@@ -288,7 +288,7 @@
</g>
<g
aria-label="one"
- transform="matrix(0.99146786,0.3067022,-0.15158709,0.96171334,61.793704,24.819982)"
+ transform="matrix(0.96137546,-0.34508222,-0.14753322,1.1131988,58.668157,-16.406918)"
style="font-style:normal;font-weight:normal;font-size:3.52777767px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.07000434"
id="text892">
<path
diff --git a/src/ComputerscareLaundrySoup.cpp b/src/ComputerscareLaundrySoup.cpp
@@ -293,11 +293,12 @@ struct ComputerscareLaundrySoupWidget : ModuleWidget {
addInput(Port::create<InPort>(mm2px(Vec(12 , 0)), Port::INPUT, module, ComputerscareLaundrySoup::GLOBAL_RESET_INPUT));
for(int i = 0; i < numFields; i++) {
+ //first-step output
+ addOutput(Port::create<OutPort>(mm2px(Vec(42 , verticalStart + verticalSpacing*i - 11)), Port::OUTPUT, module, ComputerscareLaundrySoup::FIRST_STEP_OUTPUT + i));
+
//individual output
addOutput(Port::create<OutPort>(mm2px(Vec(54 , verticalStart + verticalSpacing*i - 11)), Port::OUTPUT, module, ComputerscareLaundrySoup::TRG_OUTPUT + i));
- addOutput(Port::create<OutPort>(mm2px(Vec(42 , verticalStart + verticalSpacing*i - 11)), Port::OUTPUT, module, ComputerscareLaundrySoup::FIRST_STEP_OUTPUT + i));
-
//individual clock input
addInput(Port::create<InPort>(mm2px(Vec(2, verticalStart + verticalSpacing*i-10)), Port::INPUT, module, ComputerscareLaundrySoup::CLOCK_INPUT + i));