computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit 467c155ba933d1cc90062a97a4fcd650ede8c4b3
parent 9a7d41223ea4d592075bb33838b26157dcd8acdf
Author: Adam M <aemalone@gmail.com>
Date:   Sat,  9 Feb 2019 00:49:43 -0600

initial Iso checkin

Diffstat:
Ares/ComputerscareIsoPanel.svg | 318+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ares/computerscare-iso-button-dn.svg | 85+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ares/computerscare-iso-button-down.svg | 85+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ares/computerscare-iso-button-up.svg | 80+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Msrc/Computerscare.cpp | 1+
Msrc/Computerscare.hpp | 8+++++++-
Asrc/ComputerscareIso.cpp | 53+++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 629 insertions(+), 1 deletion(-)

diff --git a/res/ComputerscareIsoPanel.svg b/res/ComputerscareIsoPanel.svg @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="140" + height="380" + viewBox="0 0 37.041668 100.54167" + version="1.1" + id="svg8" + inkscape:version="0.92.2 5c3e80d, 2017-08-06" + sodipodi:docname="ComputerscareIsoPanel.svg" + style="enable-background:new"> + <defs + id="defs2"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 50.270835 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="23.812501 : 50.270835 : 1" + inkscape:persp3d-origin="11.906251 : 33.51389 : 1" + id="perspective1881" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.8284273" + inkscape:cx="59.481328" + inkscape:cy="281.43433" + inkscape:document-units="mm" + inkscape:current-layer="g1669" + showgrid="false" + units="px" + inkscape:snap-bbox="false" + inkscape:snap-page="true" + inkscape:bbox-nodes="true" + inkscape:snap-bbox-edge-midpoints="true" + inkscape:window-width="1440" + inkscape:window-height="856" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="0" + inkscape:snap-object-midpoints="false" + inkscape:snap-others="false" + inkscape:snap-nodes="false" + inkscape:snap-global="false" + showguides="false" + showborder="false" /> + <metadata + id="metadata5"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-196.45832)" + style="display:none"> + <path + style="opacity:1;vector-effect:none;fill:#f0f0f0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.48607069;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" + d="M 0,196.45831 H 23.8125 V 296.99999 H 0 Z" + id="rect817" + inkscape:connector-curvature="0" /> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + x="8.2147436" + y="295.57718" + id="text1490" + transform="rotate(1.4468834)"><tspan + sodipodi:role="line" + id="tspan1488" + x="8.2147436" + y="295.57718" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">computerscare</tspan></text> + <text + transform="rotate(-5.9989835)" + id="text1494" + y="288.0314" + x="-28.710276" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + y="288.0314" + x="-28.710276" + id="tspan1492" + sodipodi:role="line">trg</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + x="20.711658" + y="288.87244" + id="text1498" + transform="rotate(1.9714728)"><tspan + sodipodi:role="line" + id="tspan1496" + x="20.711658" + y="288.87244" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332">in</tspan></text> + <text + transform="rotate(0.49746114)" + id="text1521" + y="289.16214" + x="20.314623" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.17499995px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + y="289.16214" + x="20.314623" + id="tspan1519" + sodipodi:role="line">clr</tspan></text> + <text + transform="matrix(1.0139335,-0.02825079,0.06854811,0.98434808,0,0)" + id="text1645" + y="204.61243" + x="-10.296249" + style="font-style:normal;font-weight:normal;font-size:10.74719143px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26867977" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:5.01535606px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26867977" + y="204.61243" + x="-10.296249" + id="tspan1643" + sodipodi:role="line">debug</tspan></text> + </g> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="bg" /> + <g + style="display:inline" + transform="translate(0,-196.45832)" + id="g1669" + inkscape:groupmode="layer" + inkscape:label="Layer 1 copy"> + <rect + style="fill:#f9f9f9;fill-opacity:1;stroke:#000000;stroke-width:0.26499999;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="rect4032" + width="17.3057" + height="14.873548" + x="7.1093688" + y="234.32529" /> + <path + style="fill:#dedede;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 3.414368,230.30288 3.6014567,4.02241 H 24.508614 l -2.572469,-3.92887 z" + id="path4030" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + id="path1647" + d="m 3.3734373,199.56716 33.7854697,-0.063 c 0.337568,36.38983 0.04575,63.57854 -0.08071,97.43061 l -33.6386089,-9.6e-4 -0.024402,-35.91696 -0.011235,-16.53636 18.5195719,-2.7e-4 -0.0018,-14.023 -18.5273031,3.6e-4 z" + style="opacity:1;vector-effect:none;fill:#f9f9f9;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.235;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" + sodipodi:nodetypes="cccccccccc" /> + <g + aria-label="computerscare" + transform="matrix(1.3123272,0.02710821,-0.03314708,1.073241,7.0489753,-22.594823)" + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + id="text1651"> + <path + d="m 9.7635177,294.7977 -0.022491,0.23707 q -0.1028223,-0.0489 -0.2099211,-0.0673 -0.1055806,-0.0199 -0.2168506,-0.009 -0.2488775,0.0238 -0.4014201,0.19401 -0.1524199,0.16888 -0.1792271,0.45145 -0.026804,0.28254 0.095932,0.42654 0.1228661,0.14262 0.371738,0.11887 0.1112317,-0.0106 0.2224055,-0.0498 0.1127112,-0.0408 0.2267849,-0.11044 l -0.022229,0.23431 q -0.111772,0.0599 -0.2295122,0.0956 -0.1163563,0.0357 -0.2456588,0.048 -0.3517468,0.0335 -0.5381239,-0.16582 -0.1863704,-0.19938 -0.1510635,-0.57153 0.035829,-0.37767 0.2649098,-0.61397 0.2304697,-0.23642 0.5947391,-0.27118 0.1181718,-0.0112 0.2283935,0.003 0.110394,0.0127 0.2114822,0.0509 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26458332" + id="path1701" + inkscape:connector-curvature="0" /> + <path + d="m 10.992212,294.51861 q -0.266408,0.0238 -0.441287,0.22654 -0.174717,0.20115 -0.209523,0.52854 -0.0348,0.3274 0.09811,0.50268 0.134883,0.1735 0.403081,0.14957 0.264588,-0.0236 0.439488,-0.2264 0.174888,-0.20278 0.209524,-0.52855 0.03447,-0.32413 -0.10024,-0.49926 -0.134535,-0.17677 -0.399135,-0.15312 z m 0.02701,-0.25411 q 0.431991,-0.0386 0.651579,0.19351 0.21958,0.23209 0.171782,0.68165 -0.04763,0.44794 -0.321417,0.72568 -0.273614,0.27611 -0.705612,0.31468 -0.433806,0.0388 -0.653382,-0.19335 -0.2176066,-0.23386 -0.1699788,-0.68181 0.047797,-0.44956 0.3196148,-0.72552 0.273616,-0.2761 0.707414,-0.31484 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.32719359" + id="path1703" + inkscape:connector-curvature="0" /> + <path + d="m 13.653765,295.36352 c 0.07288,-0.13168 0.16003,-0.22884 0.261455,-0.2915 0.101422,-0.0627 0.220809,-0.094 0.358161,-0.094 0.184896,-7e-5 0.327536,0.0654 0.427926,0.19601 0.100389,0.12958 0.150598,0.31439 0.150629,0.55441 l 1.71e-4,1.07691 -0.29319,-2.2e-4 c -0.03406,-0.18561 -0.03324,-0.54571 -1.27e-4,-1.06738 5e-6,-0.17098 -0.03015,-0.29789 -0.09038,-0.38076 -0.06024,-0.0828 -0.152167,-0.12428 -0.275777,-0.12429 -0.151086,-1e-5 -0.270469,0.0504 -0.358149,0.15129 -0.08768,0.10089 -0.131509,0.23842 -0.131486,0.41259 l 7.4e-5,1.00843 -0.293192,-2.2e-4 -1.26e-4,-1.06738 c 1.1e-5,-0.17204 -0.03016,-0.29896 -0.09038,-0.38075 -0.06024,-0.0829 -0.153223,-0.12427 -0.278946,-0.12429 -0.148974,-3e-5 -0.267299,0.051 -0.35498,0.15288 -0.08768,0.10089 -0.131509,0.23788 -0.131487,0.411 l 7.3e-5,1.00841 -0.293184,-2.3e-4 -2.73e-4,-1.78423 0.293189,2.2e-4 7.1e-5,0.27718 c 0.06654,-0.10936 0.146309,-0.19007 0.239275,-0.2421 0.09296,-0.052 0.203375,-0.078 0.331217,-0.0779 0.1289,1e-5 0.238256,0.0329 0.32807,0.0988 0.09087,0.0658 0.157976,0.16138 0.20131,0.28676 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.30507702" + id="path1705" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccccccccccccccccccccccccc" /> + <path + d="m 15.24757,295.82836 0.0037,0.96694 -0.254966,-10e-4 -0.0097,-2.51668 0.254967,10e-4 0.0011,0.27673 q 0.07931,-0.16242 0.200283,-0.24001 0.12235,-0.0791 0.291869,-0.0784 0.281152,10e-4 0.457205,0.26579 0.177431,0.26453 0.179097,0.69429 0.0017,0.42976 -0.17372,0.69267 -0.174009,0.26291 -0.455161,0.26162 -0.169519,-7.7e-4 -0.29248,-0.0794 -0.121592,-0.0803 -0.202158,-0.24347 z m 0.860284,-0.63255 q -0.0013,-0.33046 -0.117775,-0.5182 -0.115122,-0.18934 -0.31634,-0.19027 -0.201216,-9.2e-4 -0.316254,0.18738 -0.113664,0.18667 -0.112383,0.51715 0.0013,0.33045 0.116404,0.5198 0.116494,0.18773 0.317711,0.18866 0.201217,9.1e-4 0.314882,-0.18576 0.115036,-0.1883 0.113755,-0.51876 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.28758317" + id="path1707" + inkscape:connector-curvature="0" /> + <path + d="m 16.380983,295.55261 -0.002,-1.0125 0.251818,-0.0693 0.002,1.00205 q 4.63e-4,0.23744 0.08555,0.33366 0.08508,0.0947 0.254785,0.0483 0.203917,-0.0556 0.321337,-0.22994 0.11879,-0.17448 0.118312,-0.4194 l -0.0019,-0.94826 0.251818,-0.0693 0.0033,1.67257 -0.251817,0.0693 -5.02e-4,-0.25686 q -0.0914,0.17741 -0.213054,0.28545 -0.120291,0.10604 -0.280415,0.15002 -0.264134,0.0725 -0.40134,-0.0694 -0.137208,-0.14174 -0.137881,-0.48669 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.27455816" + id="path1709" + inkscape:connector-curvature="0" /> + <path + d="m 18.446541,294.06616 8.5e-4,0.47187 0.522302,0.001 3.82e-4,0.21219 -0.522302,-10e-4 0.0016,0.90217 q 3.66e-4,0.20328 0.05146,0.26126 0.05248,0.0579 0.210955,0.0582 l 0.260462,5e-4 4.11e-4,0.22852 -0.260464,-5.1e-4 q -0.293536,-5.7e-4 -0.405375,-0.11801 -0.11184,-0.11892 -0.112401,-0.43053 l -0.0016,-0.90216 -0.186044,-3.6e-4 -3.82e-4,-0.21219 0.186044,3.6e-4 -8.5e-4,-0.47186 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.27455816" + id="path1711" + inkscape:connector-curvature="0" /> + <path + d="m 20.597441,294.72662 0.0019,0.18106 -0.982076,0.41269 q 0.01797,0.37637 0.13848,0.52782 0.121665,0.14894 0.334099,0.0597 0.123044,-0.0523 0.237421,-0.15233 0.115534,-0.10109 0.228195,-0.25349 l 0.0037,0.35009 q -0.114034,0.13285 -0.234297,0.22785 -0.120262,0.0949 -0.244472,0.1471 -0.311106,0.1308 -0.496663,-0.10645 -0.184397,-0.23779 -0.190033,-0.77295 -0.0058,-0.55324 0.162571,-0.94935 0.169533,-0.39859 0.462067,-0.5215 0.262355,-0.10975 0.417516,0.11967 0.156304,0.22738 0.161599,0.73032 z m -0.214738,-0.0187 q -0.0055,-0.30279 -0.103778,-0.4434 -0.0971,-0.14111 -0.25497,-0.0747 -0.178774,0.0747 -0.284885,0.2955 -0.104955,0.21991 -0.117861,0.5446 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.29406741" + id="path1713" + inkscape:connector-curvature="0" /> + <path + d="m 21.769671,294.28539 q -0.03842,-0.0353 -0.08351,-0.0564 -0.04395,-0.0224 -0.09704,-0.0324 -0.188262,-0.0358 -0.283941,0.10521 -0.09453,0.13967 -0.08393,0.43817 l 0.03292,0.92697 -0.223257,-0.0424 -0.06249,-1.75967 0.223257,0.0424 0.0097,0.27337 q 0.06432,-0.14695 0.173803,-0.2026 0.109438,-0.0574 0.269947,-0.0267 0.02293,0.004 0.05085,0.0142 0.02785,0.009 0.06196,0.0231 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26348451" + id="path1715" + inkscape:connector-curvature="0" /> + <path + d="m 23.048548,294.61603 -0.02631,0.3362 q -0.08475,-0.10097 -0.179505,-0.1652 -0.09475,-0.0643 -0.199518,-0.0917 -0.159476,-0.0418 -0.246147,0.0186 -0.08551,0.0605 -0.09821,0.22279 -0.0097,0.12372 0.04177,0.21006 0.0516,0.0844 0.218886,0.19324 l 0.07122,0.0462 q 0.221803,0.14082 0.305617,0.31446 0.08513,0.17208 0.06441,0.43682 -0.02358,0.3014 -0.181684,0.43953 -0.156936,0.13841 -0.408372,0.0728 -0.104763,-0.0273 -0.216121,-0.0919 -0.110346,-0.0622 -0.230766,-0.16287 l 0.02872,-0.36711 q 0.110725,0.13341 0.221881,0.2157 0.111312,0.0804 0.224225,0.10977 0.151329,0.0396 0.23946,-0.0241 0.08828,-0.0657 0.10053,-0.22216 0.01135,-0.14492 -0.04197,-0.23772 -0.05216,-0.0925 -0.245617,-0.21597 l -0.07222,-0.0484 q -0.193612,-0.12146 -0.270893,-0.28765 -0.07713,-0.16801 -0.05748,-0.41921 0.02388,-0.30528 0.167264,-0.43739 0.143374,-0.13212 0.383169,-0.0695 0.118734,0.031 0.221229,0.0875 0.102493,0.0563 0.18643,0.13738 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.29087409" + id="path1717" + inkscape:connector-curvature="0" /> + <path + d="m 24.728637,294.63587 0.02003,0.25439 q -0.11212,-0.0543 -0.223044,-0.0758 -0.109669,-0.0231 -0.219523,-0.0136 -0.245798,0.0215 -0.368466,0.20193 -0.122783,0.17899 -0.09891,0.48219 0.02388,0.30318 0.173098,0.45992 0.149107,0.15526 0.394904,0.1338 0.109854,-0.009 0.21452,-0.05 0.10592,-0.042 0.208015,-0.11499 l 0.0198,0.25142 q -0.101541,0.0625 -0.21342,0.099 -0.110505,0.0365 -0.23821,0.0476 -0.347414,0.0303 -0.570536,-0.18697 -0.223122,-0.21728 -0.254568,-0.61661 -0.03191,-0.40525 0.155777,-0.65543 0.189064,-0.2503 0.548836,-0.28171 0.11672,-0.0106 0.230044,0.007 0.113206,0.0154 0.221649,0.0582 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.27455816" + id="path1719" + inkscape:connector-curvature="0" /> + <path + d="m 25.917281,295.46624 q -0.313239,-0.009 -0.424667,0.0586 -0.111423,0.0679 -0.08883,0.23985 0.018,0.13708 0.118553,0.22085 0.101761,0.0824 0.257682,0.087 0.214909,0.006 0.324302,-0.14097 0.110608,-0.14864 0.07754,-0.4004 l -0.0075,-0.0574 z m 0.501549,-0.0911 0.117387,0.89383 -0.258456,-0.008 -0.03124,-0.2378 q -0.06976,0.14008 -0.192791,0.20475 -0.123225,0.0632 -0.314255,0.0577 -0.241599,-0.007 -0.402509,-0.14558 -0.159691,-0.13985 -0.18945,-0.36644 -0.03474,-0.26439 0.124631,-0.39346 0.160756,-0.12903 0.513323,-0.11868 l 0.362401,0.0105 -0.0033,-0.0251 q -0.02332,-0.17765 -0.153994,-0.27761 -0.129449,-0.10136 -0.341554,-0.10762 -0.134846,-0.004 -0.258443,0.0245 -0.123597,0.0285 -0.233136,0.0893 l -0.03124,-0.23779 q 0.134715,-0.0503 0.26466,-0.073 0.129765,-0.0241 0.256179,-0.0204 0.34133,0.01 0.533037,0.19122 0.191703,0.18118 0.238731,0.53927 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.26860911" + id="path1721" + inkscape:connector-curvature="0" /> + <path + d="m 27.867464,295.23752 q -0.04501,-0.0348 -0.09791,-0.0551 -0.05154,-0.0217 -0.113856,-0.0311 -0.22092,-0.033 -0.333546,0.10961 -0.111277,0.14106 -0.09949,0.43935 l 0.0366,0.92631 -0.261988,-0.0389 -0.06953,-1.7584 0.261987,0.0389 0.01079,0.27317 q 0.07582,-0.14793 0.204473,-0.20525 0.1286,-0.059 0.316946,-0.0309 0.02691,0.004 0.05965,0.013 0.03268,0.008 0.07268,0.0222 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.28544712" + id="path1723" + inkscape:connector-curvature="0" /> + <path + d="m 28.886282,295.33461 0.0013,0.13351 -0.711858,0.0931 c 0.009,0.18803 -0.0011,0.22628 0.06074,0.32618 0.06247,0.099 0.148316,0.14931 0.257554,0.15113 0.06327,0.001 0.124332,-0.0107 0.18317,-0.0355 0.05944,-0.0248 0.208283,-0.1091 0.266267,-0.15959 l 0.0026,0.25814 c -0.05868,0.0406 -0.20909,0.11803 -0.270953,0.13874 -0.06186,0.0207 -0.124729,0.0306 -0.1886,0.0295 -0.159977,-0.003 -0.287599,-0.082 -0.382862,-0.23774 -0.09467,-0.15584 -0.143318,-0.3653 -0.145954,-0.62838 -0.0027,-0.27197 0.03929,-0.48685 0.126037,-0.64462 0.08734,-0.15874 0.206219,-0.23686 0.356645,-0.23437 0.134907,0.002 0.242183,0.0763 0.321827,0.2219 0.08023,0.14472 0.121586,0.34071 0.124063,0.58797 z m -0.165555,-0.0828 c -0.0028,-0.14936 -0.02927,-0.26895 -0.07969,-0.35878 -0.04984,-0.0898 -0.115352,-0.13542 -0.196534,-0.13676 -0.09193,-0.002 -0.165216,0.0403 -0.219869,0.12539 -0.05406,0.0851 -0.01128,0.19167 -0.01807,0.34779 z" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.82222223px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;stroke-width:0.22126861" + id="path1725" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccscccsscscscccccsccc" /> + </g> + <g + id="g9547" + transform="matrix(0.18978894,-0.01134475,0,0.28042233,2.5252982,290.37859)"> + <g + style="display:inline" + inkscape:label="Layer 1" + id="layer4" /> + <path + id="rect5872" + d="m 11.987289,9.3234482 h 7.991524 v 3.9957608 h -7.991524 z" + style="opacity:1;fill:#0f0f00;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5874" + d="m 14.667374,10.662096 h 3.995763 v 1.331921 h -3.995763 z" + style="opacity:1;fill:#ffffff;fill-opacity:0.98571424;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5878" + d="m -29.323654,9.3234482 h 7.989551 v 3.9957608 h -7.989551 z" + style="opacity:1;fill:#0c0c00;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + transform="scale(-1,1)" + inkscape:connector-curvature="0" /> + <path + id="rect5880" + d="m -26.64423,10.662096 h 3.994777 v 1.331921 h -3.994777 z" + style="opacity:1;fill:#ffffff;fill-opacity:0.98571424;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + transform="scale(-1,1)" + inkscape:connector-curvature="0" /> + <path + id="rect5882" + d="m 19.995058,14.667374 h 1.331921 v 3.995762 h -1.331921 z" + style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5884" + d="m 21.326979,17.331215 h 1.315677 v 1.33192 h -1.315677 z" + style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5886" + d="m 11.954803,20.011301 h 2.696328 v 2.663842 h -2.696328 z" + style="opacity:1;fill:#000200;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5888" + d="m 27.970341,20.011301 h 2.696327 v 2.663842 h -2.696327 z" + style="opacity:1;fill:#000200;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + <path + id="rect5890" + d="m 14.651131,20.011301 h 13.351695 v 1.33192 H 14.651131 Z" + style="opacity:1;fill:#000200;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + inkscape:connector-curvature="0" /> + </g> + <path + sodipodi:nodetypes="ccccc" + style="opacity:1;vector-effect:none;fill:#f9f9f9;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.273;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" + d="m 0.18378203,196.58837 22.22692397,-0.009 c 0.222081,5.39584 0.0301,9.42735 -0.05309,14.44691 l -22.13030777,-1.5e-4 z" + id="path4018" + inkscape:connector-curvature="0" /> + <path + style="fill:#dedede;fill-opacity:1;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 0.13229166,210.94426 3.17499974,3.04271 21.1987646,0.0387 -2.148766,-3.08146 z" + id="path4020" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccc" /> + <path + style="fill:#bababa;fill-opacity:1;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 22.291144,196.52448 2.315104,3.0427 -0.0066,14.55208 -2.24231,-3.175 z" + id="path4022" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccc" /> + </g> +</svg> diff --git a/res/computerscare-iso-button-dn.svg b/res/computerscare-iso-button-dn.svg @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="10mm" + height="10mm" + viewBox="0 0 10 10" + version="1.1" + id="svg837" + inkscape:version="0.92.2 5c3e80d, 2017-08-06" + sodipodi:docname="computerscare-iso-button-dn.svg"> + <defs + id="defs831"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="-15.502741 : -0.68761461 : 1" + inkscape:vp_y="0 : 1935.9757 : 0" + inkscape:vp_z="25.090656 : 9.2983744 : 1" + inkscape:persp3d-origin="19.059341 : -5.6235546 : 1" + id="perspective1382" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="11.2" + inkscape:cx="10.402494" + inkscape:cy="15.99696" + inkscape:document-units="mm" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1440" + inkscape:window-height="855" + inkscape:window-x="0" + inkscape:window-y="1" + inkscape:window-maximized="1" /> + <metadata + id="metadata834"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-287)"> + <path + style="fill:#009b00;fill-opacity:1;stroke:#000000;stroke-width:0.24377058px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 9.6279072,288.53296 c -8.5063289,-0.0612 -8.5528116,-0.0815 -8.5528116,-0.0815 v 7.07285 l 8.645777,0.0204 z" + id="path1551" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 1.0697908,295.53149 Z" + id="path2175" + inkscape:connector-curvature="0" /> + <path + style="fill:#00a600;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 2.2206101,295.46447 -0.07087,-6.11849 v 0 l -1.074644,-0.89452 v 0 7.07285 0 z" + id="path2177" + inkscape:connector-curvature="0" /> + <path + style="fill:#009797;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 1.0750956,288.45146 8.5528116,0.0815 0.010486,0.76578 -7.4886528,0.0472 z" + id="path2181" + inkscape:connector-curvature="0" /> + </g> +</svg> diff --git a/res/computerscare-iso-button-down.svg b/res/computerscare-iso-button-down.svg @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="10mm" + height="10mm" + viewBox="0 0 10 10" + version="1.1" + id="svg837" + inkscape:version="0.92.2 5c3e80d, 2017-08-06" + sodipodi:docname="computerscare-iso-button-down.svg"> + <defs + id="defs831"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="-15.502741 : -0.68761461 : 1" + inkscape:vp_y="0 : 1935.9757 : 0" + inkscape:vp_z="25.090656 : 9.2983744 : 1" + inkscape:persp3d-origin="19.059341 : -5.6235546 : 1" + id="perspective1382" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="11.2" + inkscape:cx="10.402494" + inkscape:cy="15.99696" + inkscape:document-units="mm" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1440" + inkscape:window-height="855" + inkscape:window-x="0" + inkscape:window-y="1" + inkscape:window-maximized="1" /> + <metadata + id="metadata834"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-287)"> + <path + style="fill:#245559;fill-opacity:1;stroke:#000000;stroke-width:0.24377058px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 9.6279072,288.53296 c -8.5063289,-0.0612 -8.5528116,-0.0815 -8.5528116,-0.0815 v 7.07285 l 8.645777,0.0204 z" + id="path1551" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 1.0697908,295.53149 Z" + id="path2175" + inkscape:connector-curvature="0" /> + <path + style="fill:#245559;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 2.2206101,295.46447 -0.07087,-6.11849 v 0 l -1.074644,-0.89452 v 0 7.07285 0 z" + id="path2177" + inkscape:connector-curvature="0" /> + <path + style="fill:#24c9a6;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 1.0750956,288.45146 8.5528116,0.0815 0.010486,0.76578 -7.4886528,0.0472 z" + id="path2181" + inkscape:connector-curvature="0" /> + </g> +</svg> diff --git a/res/computerscare-iso-button-up.svg b/res/computerscare-iso-button-up.svg @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="10mm" + height="10mm" + viewBox="0 0 10 10" + version="1.1" + id="svg837" + inkscape:version="0.92.2 5c3e80d, 2017-08-06" + sodipodi:docname="computerscare-iso-button-up.svg"> + <defs + id="defs831"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="-15.502741 : -0.68761461 : 1" + inkscape:vp_y="0 : 1935.9757 : 0" + inkscape:vp_z="25.090656 : 9.2983744 : 1" + inkscape:persp3d-origin="19.059341 : -5.6235546 : 1" + id="perspective1382" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="11.2" + inkscape:cx="-5.5796489" + inkscape:cy="15.99696" + inkscape:document-units="mm" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1440" + inkscape:window-height="855" + inkscape:window-x="0" + inkscape:window-y="1" + inkscape:window-maximized="1" /> + <metadata + id="metadata834"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-287)"> + <path + style="fill:#24c9a6;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 0.2126116,295.51171 1.0394345,1.15756 8.5517114,0.18899 -0.1417413,-8.64621 -0.7559524,-0.8032 v 0 0" + id="path1553" + inkscape:connector-curvature="0" /> + <path + style="fill:#009b00;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 9.0005579,295.53531 0.8031996,1.32295 v 0 0 0 0" + id="path1555" + inkscape:connector-curvature="0" /> + <path + style="fill:#24c9a6;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" + d="m 8.9060638,287.40885 c -8.64620517,-0.0709 -8.6934522,-0.0945 -8.6934522,-0.0945 v 8.19736 l 8.7879463,0.0236 z" + id="path1551" + inkscape:connector-curvature="0" /> + </g> +</svg> diff --git a/src/Computerscare.cpp b/src/Computerscare.cpp @@ -13,4 +13,5 @@ void init(Plugin *p) { p->addModel(modelComputerscareLaundrySoup); p->addModel(modelComputerscareILoveCookies); p->addModel(modelComputerscareOhPeas); + p->addModel(modelComputerscareIso); } diff --git a/src/Computerscare.hpp b/src/Computerscare.hpp @@ -32,8 +32,14 @@ extern Model *modelComputerscarePatchSequencer; extern Model *modelComputerscareLaundrySoup; extern Model *modelComputerscareILoveCookies; extern Model *modelComputerscareOhPeas; +extern Model *modelComputerscareIso; - +struct IsoButton : SVGSwitch, ToggleSwitch { + IsoButton() { + addFrame(SVG::load(assetPlugin(plugin,"res/computerscare-iso-button-down.svg"))); + addFrame(SVG::load(assetPlugin(plugin,"res/computerscare-iso-button-up.svg"))); + } +}; struct ComputerscareResetButton : SVGSwitch,MomentarySwitch { ComputerscareResetButton() { addFrame(SVG::load(assetPlugin(plugin,"res/computerscare-rst-text.svg"))); diff --git a/src/ComputerscareIso.cpp b/src/ComputerscareIso.cpp @@ -0,0 +1,53 @@ +#include "Computerscare.hpp" +#include "dtpulse.hpp" +#include "dsp/digital.hpp" +#include "window.hpp" +#include "dsp/filter.hpp" + +#include <string> +#include <sstream> +#include <iomanip> + + +struct ComputerscareIso; + + +struct ComputerscareIso : Module { + enum ParamIds { + + NUM_PARAMS + + }; + enum InputIds { + CHANNEL_INPUT, + NUM_INPUTS + }; + enum OutputIds { + + NUM_OUTPUTS + }; + enum LightIds { + NUM_LIGHTS + }; + + + ComputerscareIso() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) { + printf("ujje\n"); + } + +}; + +struct ComputerscareIsoWidget : ModuleWidget { + float randAmt = 1.f; + ComputerscareIsoWidget(ComputerscareIso *module) : ModuleWidget(module) { + setPanel(SVG::load(assetPlugin(plugin, "res/ComputerscareIsoPanel.svg"))); + + } +}; + + +// Specify the Module and ModuleWidget subclass, human-readable +// author name for categorization per plugin, module slug (should never +// change), human-readable module name, and any number of tags +// (found in `include/tags.hpp`) separated by commas. +Model *modelComputerscareIso = Model::create<ComputerscareIso, ComputerscareIsoWidget>("computerscare", "computerscare-iso", "Isopig", UTILITY_TAG);