Browse Source

Add and implement BefacoTinyKnob and Knurlie component redesigns from Pyer.

tags/v2.1.0
Andrew Belt 3 years ago
parent
commit
1076329fd1
11 changed files with 287 additions and 477 deletions
  1. +0
    -85
      res/BefacoTinyKnobBlack.svg
  2. +52
    -0
      res/BefacoTinyKnobBlack_bg.svg
  3. +0
    -85
      res/BefacoTinyKnobDarkGrey.svg
  4. +52
    -0
      res/BefacoTinyKnobDarkGrey_bg.svg
  5. +0
    -85
      res/BefacoTinyKnobLightGrey.svg
  6. +59
    -0
      res/BefacoTinyKnobLightGrey_bg.svg
  7. +0
    -85
      res/BefacoTinyKnobRed.svg
  8. +60
    -0
      res/BefacoTinyKnobRed_bg.svg
  9. +10
    -0
      res/BefacoTinyPointWhite.svg
  10. +25
    -98
      res/Knurlie.svg
  11. +29
    -39
      src/plugin.hpp

+ 0
- 85
res/BefacoTinyKnobBlack.svg View File

@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="9.0000019mm"
height="9.0000801mm"
viewBox="0 0 9.0000016 9.00008"
version="1.1"
id="svg113936"
inkscape:version="1.0.2-2 (e86c870879, 2021-01-15)"
sodipodi:docname="BefacoTinyKnobBlack.svg">
<defs
id="defs113930" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.919596"
inkscape:cx="-34.401622"
inkscape:cy="38.846852"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2560"
inkscape:window-height="1393"
inkscape:window-x="2473"
inkscape:window-y="40"
inkscape:window-maximized="0"
inkscape:document-rotation="0" />
<metadata
id="metadata113933">
<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(-111.86932,-85.795053)">
<path
inkscape:connector-curvature="0"
style="fill:#d4d4d4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.10511,92.798549 c 1.38512,-2.062815 0.83525,-4.854005 -1.22757,-6.23803 -2.0617,-1.384026 -4.86062,-0.840773 -6.24463,1.222041 -1.38514,2.062814 -0.83306,4.866126 1.22866,6.251255 2.06282,1.384023 4.8595,0.827547 6.24354,-1.235266"
id="path109730" />
<path
inkscape:connector-curvature="0"
style="fill:#1b1b1b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.02026,91.143448 c -0.46281,2.022043 -2.47716,3.285957 -4.49919,2.823148 -2.02205,-0.462813 -3.28598,-2.47714 -2.82314,-4.499182 0.46281,-2.020944 2.47713,-3.285958 4.49918,-2.82315 2.02093,0.462812 3.28594,2.477141 2.82315,4.499184"
id="path109732" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#7f7878;stroke-width:0.11481237;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="m 120.02026,91.143463 c -0.46281,2.022042 -2.47715,3.285956 -4.49919,2.823145 -2.02204,-0.462811 -3.28595,-2.47714 -2.82314,-4.499183 0.46281,-2.020941 2.47714,-3.285957 4.49918,-2.823145 2.02094,0.46281 3.28596,2.47714 2.82315,4.499183 z m 0,0"
id="path109734" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 116.20648,88.009558 c -0.11239,-0.07603 -0.14328,-0.229201 -0.0672,-0.342701 0.0761,-0.113495 0.23029,-0.143251 0.34379,-0.06722 0.11356,0.07603 0.14325,0.229201 0.0672,0.342701 -0.076,0.113495 -0.23031,0.14325 -0.34379,0.06722"
id="path109736" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;stroke:#ffffff;stroke-width:0.46912277;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;fill-opacity:1"
d="m 116.20647,88.009571 c -0.11239,-0.07603 -0.14326,-0.229202 -0.0672,-0.3427 0.076,-0.113495 0.23032,-0.14325 0.34381,-0.06722 0.11356,0.07602 0.14325,0.229201 0.0672,0.3427 -0.076,0.113495 -0.2303,0.143251 -0.3438,0.06722 z m 0,0"
id="path109738" />
</g>
</svg>

+ 52
- 0
res/BefacoTinyKnobBlack_bg.svg View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg113936" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="25.51182px"
height="25.51204px" viewBox="0 0 25.51182 25.51204" enable-background="new 0 0 25.51182 25.51204" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="-34.401622" inkscape:cy="38.846852" inkscape:document-rotation="0" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="1393" inkscape:window-maximized="0" inkscape:window-width="2560" inkscape:window-x="2473" inkscape:window-y="40" inkscape:zoom="7.919596" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-602.38562" y1="1786.60327" x2="-576.87433" y2="1786.60327" gradientTransform="matrix(0 1 1 0 -1773.84119 602.39905)">
<stop offset="0" style="stop-color:#828181"/>
<stop offset="1" style="stop-color:#575757"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M12.76238,25.52469c-7.03367,0-12.75617-5.72195-12.75617-12.75508
c0-7.03422,5.7225-12.75617,12.75617-12.75617s12.75563,5.72195,12.75563,12.75618
C25.51802,19.80274,19.79607,25.52469,12.76238,25.52469z"/>
</g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="1061.6449" y1="-4090.60205" x2="1086.38281" y2="-4090.60205" gradientTransform="matrix(0 1 -1 0 -4077.83984 -1061.23169)">
<stop offset="0.00559" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#7A7A7A"/>
</linearGradient>
<circle fill="url(#SVGID_2_)" cx="12.76211" cy="12.78211" r="12.36893"/>
<circle fill="#E0E0E0" cx="12.76211" cy="12.78211" r="11.63479"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="59.77456" y1="-53.64016" x2="59.77456" y2="-50.55113" gradientTransform="matrix(1 0 0 -1 -47.00625 -39.32658)">
<stop offset="0" style="stop-color:#FFFBFD"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M1.25524,11.22455l-0.47869,0.46441c-0.49011,0.64501-0.48661,1.53861,0.00855,2.17976
l0.44371,0.41163l23.06135,0.03324l0.44834-0.42812c0.51235-0.63821,0.51607-1.54568,0.00897-2.18806l-0.45732-0.44676
L1.25524,11.22455z"/>
<path opacity="0.3" d="M12.76228,4.26738c5.88124,0,10.64893,4.45357,10.64893,9.94733s-4.76769,10.93634-10.64893,10.93634
S2.11335,19.70846,2.11335,14.2147S6.88104,4.26738,12.76228,4.26738z"/>
<linearGradient id="path109732_1_" gradientUnits="userSpaceOnUse" x1="1347.18567" y1="-3657.9375" x2="1368.48328" y2="-3657.9375" gradientTransform="matrix(0 1 -1 0 -3645.17529 -1345.05237)">
<stop offset="0" style="stop-color:#FFFBFD"/>
<stop offset="1" style="stop-color:#2E2E2E"/>
</linearGradient>
<path id="path109732_6_" inkscape:connector-curvature="0" fill="url(#path109732_1_)" d="M10.38671,23.16032
c-5.73177-1.31189-9.31452-7.02186-8.00263-12.75361C3.69599,4.67492,9.4059,1.09212,15.13767,2.4041
c5.72866,1.31189,9.31452,7.02178,8.00263,12.75359C21.82839,20.8863,16.11848,24.47217,10.38671,23.16032"/>
<path id="path109732_5_" inkscape:connector-curvature="0" opacity="0.4" d="M10.38671,23.16032
c-5.73177-1.31189-9.31452-7.02186-8.00263-12.75361C3.69599,4.67492,9.4059,1.09212,15.13767,2.4041
c5.72866,1.31189,9.31452,7.02178,8.00263,12.75359C21.82839,20.8863,16.11848,24.47217,10.38671,23.16032"/>
<path id="path109732_4_" inkscape:connector-curvature="0" opacity="0.72" fill="#0D0D0D" d="M10.51771,22.58799
c-5.41568-1.23955-8.80085-6.63463-7.56131-12.05028c1.23957-5.4157,6.63458-8.80091,12.05026-7.56129
c5.41274,1.23955,8.80085,6.63454,7.56131,12.05026C21.32841,20.43938,15.93339,23.82749,10.51771,22.58799"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="107.21342" y1="216.74957" x2="107.21342" y2="233.91093" gradientTransform="matrix(-1 0 0 0.50871 119.93398 -106.68469)">
<stop offset="0" style="stop-color:#FDFDFF"/>
<stop offset="1" style="stop-color:#FCFEFF;stop-opacity:0"/>
</linearGradient>
<ellipse opacity="0.07" fill="url(#SVGID_4_)" cx="12.72056" cy="7.94382" rx="7.1674" ry="4.36511"/>
</svg>

+ 0
- 85
res/BefacoTinyKnobDarkGrey.svg View File

@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="9.0000019mm"
height="9.0000801mm"
viewBox="0 0 9.0000016 9.00008"
version="1.1"
id="svg113936"
inkscape:version="1.0.2-2 (e86c870879, 2021-01-15)"
sodipodi:docname="BefacoTinyKnobGrey.svg">
<defs
id="defs113930" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.919596"
inkscape:cx="-34.401622"
inkscape:cy="28.745327"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2560"
inkscape:window-height="1393"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:document-rotation="0" />
<metadata
id="metadata113933">
<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(-111.86932,-85.795053)">
<path
inkscape:connector-curvature="0"
style="fill:#d4d4d4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.10511,92.798549 c 1.38512,-2.062815 0.83525,-4.854005 -1.22757,-6.23803 -2.0617,-1.384026 -4.86062,-0.840773 -6.24463,1.222041 -1.38514,2.062814 -0.83306,4.866126 1.22866,6.251255 2.06282,1.384023 4.8595,0.827547 6.24354,-1.235266"
id="path109730" />
<path
inkscape:connector-curvature="0"
style="fill:#606060;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.02026,91.143448 c -0.46281,2.022043 -2.47716,3.285957 -4.49919,2.823148 -2.02205,-0.462813 -3.28598,-2.47714 -2.82314,-4.499182 0.46281,-2.020944 2.47713,-3.285958 4.49918,-2.82315 2.02093,0.462812 3.28594,2.477141 2.82315,4.499184"
id="path109732" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#7f7878;stroke-width:0.11481237;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="m 120.02026,91.143463 c -0.46281,2.022042 -2.47715,3.285956 -4.49919,2.823145 -2.02204,-0.462811 -3.28595,-2.47714 -2.82314,-4.499183 0.46281,-2.020941 2.47714,-3.285957 4.49918,-2.823145 2.02094,0.46281 3.28596,2.47714 2.82315,4.499183 z m 0,0"
id="path109734" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 116.20648,88.009558 c -0.11239,-0.07603 -0.14328,-0.229201 -0.0672,-0.342701 0.0761,-0.113495 0.23029,-0.143251 0.34379,-0.06722 0.11356,0.07603 0.14325,0.229201 0.0672,0.342701 -0.076,0.113495 -0.23031,0.14325 -0.34379,0.06722"
id="path109736" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;stroke:#ffffff;stroke-width:0.46912277;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;fill-opacity:1"
d="m 116.20647,88.009571 c -0.11239,-0.07603 -0.14326,-0.229202 -0.0672,-0.3427 0.076,-0.113495 0.23032,-0.14325 0.34381,-0.06722 0.11356,0.07602 0.14325,0.229201 0.0672,0.3427 -0.076,0.113495 -0.2303,0.143251 -0.3438,0.06722 z m 0,0"
id="path109738" />
</g>
</svg>

+ 52
- 0
res/BefacoTinyKnobDarkGrey_bg.svg View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg113936" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="25.51182px"
height="25.51204px" viewBox="0 0 25.51182 25.51204" enable-background="new 0 0 25.51182 25.51204" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="-34.401622" inkscape:cy="28.745327" inkscape:document-rotation="0" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="1393" inkscape:window-maximized="0" inkscape:window-width="2560" inkscape:window-x="0" inkscape:window-y="0" inkscape:zoom="7.919596" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-602.39868" y1="1786.59705" x2="-576.88739" y2="1786.59705" gradientTransform="matrix(0 1 1 0 -1773.84119 602.39905)">
<stop offset="0" style="stop-color:#828181"/>
<stop offset="1" style="stop-color:#575757"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M12.75618,25.51165c-7.03367,0-12.75617-5.72195-12.75617-12.75508
c0-7.03422,5.7225-12.75617,12.75617-12.75617s12.75563,5.72195,12.75563,12.75618
C25.51181,19.7897,19.78986,25.51165,12.75618,25.51165z"/>
</g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="1061.63184" y1="-4090.59595" x2="1086.36975" y2="-4090.59595" gradientTransform="matrix(0 1 -1 0 -4077.83984 -1061.23169)">
<stop offset="0.00559" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#7A7A7A"/>
</linearGradient>
<circle fill="url(#SVGID_2_)" cx="12.75591" cy="12.76906" r="12.36893"/>
<circle fill="#E0E0E0" cx="12.75591" cy="12.76906" r="11.63479"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="59.76836" y1="-53.62712" x2="59.76836" y2="-50.53809" gradientTransform="matrix(1 0 0 -1 -47.00625 -39.32658)">
<stop offset="0" style="stop-color:#FFFBFD"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M1.24904,11.2115l-0.47869,0.46441c-0.49011,0.64501-0.48661,1.53861,0.00855,2.17976
l0.44371,0.41162l23.06135,0.03324l0.44834-0.42812c0.51235-0.63821,0.51607-1.54568,0.00897-2.18806l-0.45732-0.44676
L1.24904,11.2115z"/>
<path opacity="0.3" d="M12.75608,4.25433c5.88124,0,10.64893,4.45357,10.64893,9.94733S18.63732,25.138,12.75608,25.138
S2.10715,19.69542,2.10715,14.20166S6.87484,4.25433,12.75608,4.25433z"/>
<linearGradient id="path109732_1_" gradientUnits="userSpaceOnUse" x1="1347.17261" y1="-3657.9314" x2="1368.47021" y2="-3657.9314" gradientTransform="matrix(0 1 -1 0 -3645.17529 -1345.05237)">
<stop offset="0" style="stop-color:#FFFBFD"/>
<stop offset="1" style="stop-color:#2E2E2E"/>
</linearGradient>
<path id="path109732_9_" inkscape:connector-curvature="0" fill="url(#path109732_1_)" d="M10.38051,23.14728
c-5.73177-1.31189-9.31452-7.02186-8.00263-12.75361C3.68979,4.66187,9.3997,1.07907,15.13147,2.39105
c5.72866,1.31189,9.31452,7.02178,8.00263,12.75359C21.82218,20.87326,16.11228,24.45913,10.38051,23.14728"/>
<path id="path109732_8_" inkscape:connector-curvature="0" opacity="0.4" d="M10.38051,23.14728
c-5.73177-1.31189-9.31452-7.02186-8.00263-12.75361C3.68979,4.66187,9.3997,1.07907,15.13147,2.39105
c5.72866,1.31189,9.31452,7.02178,8.00263,12.75359C21.82218,20.87326,16.11228,24.45913,10.38051,23.14728"/>
<path id="path109732_7_" inkscape:connector-curvature="0" opacity="0.5" fill="#3D3D3D" d="M10.5115,22.57494
C5.09583,21.3354,1.71065,15.94032,2.9502,10.52466c1.23957-5.4157,6.63458-8.80091,12.05026-7.56129
c5.41274,1.23955,8.80085,6.63454,7.56131,12.05026C21.3222,20.42633,15.92718,23.81445,10.5115,22.57494"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="107.21962" y1="216.72394" x2="107.21962" y2="233.88528" gradientTransform="matrix(-1 0 0 0.50871 119.93398 -106.68469)">
<stop offset="0" style="stop-color:#FDFDFF"/>
<stop offset="1" style="stop-color:#FCFEFF;stop-opacity:0"/>
</linearGradient>
<ellipse opacity="0.07" fill="url(#SVGID_4_)" cx="12.71435" cy="7.93078" rx="7.1674" ry="4.36511"/>
</svg>

+ 0
- 85
res/BefacoTinyKnobLightGrey.svg View File

@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="9.0000019mm"
height="9.0000801mm"
viewBox="0 0 9.0000016 9.00008"
version="1.1"
id="svg113936"
inkscape:version="1.0.2-2 (e86c870879, 2021-01-15)"
sodipodi:docname="BefacoTinyKnobLightGrey.svg">
<defs
id="defs113930" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.919596"
inkscape:cx="-34.401622"
inkscape:cy="38.846852"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2560"
inkscape:window-height="1393"
inkscape:window-x="2473"
inkscape:window-y="40"
inkscape:window-maximized="0"
inkscape:document-rotation="0" />
<metadata
id="metadata113933">
<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(-111.86932,-85.795053)">
<path
inkscape:connector-curvature="0"
style="fill:#d4d4d4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.10511,92.798549 c 1.38512,-2.062815 0.83525,-4.854005 -1.22757,-6.23803 -2.0617,-1.384026 -4.86062,-0.840773 -6.24463,1.222041 -1.38514,2.062814 -0.83306,4.866126 1.22866,6.251255 2.06282,1.384023 4.8595,0.827547 6.24354,-1.235266"
id="path109730" />
<path
inkscape:connector-curvature="0"
style="fill:#a8a8a8;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.02026,91.143448 c -0.46281,2.022043 -2.47716,3.285957 -4.49919,2.823148 -2.02205,-0.462813 -3.28598,-2.47714 -2.82314,-4.499182 0.46281,-2.020944 2.47713,-3.285958 4.49918,-2.82315 2.02093,0.462812 3.28594,2.477141 2.82315,4.499184"
id="path109732" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#7f7878;stroke-width:0.11481237;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="m 120.02026,91.143463 c -0.46281,2.022042 -2.47715,3.285956 -4.49919,2.823145 -2.02204,-0.462811 -3.28595,-2.47714 -2.82314,-4.499183 0.46281,-2.020941 2.47714,-3.285957 4.49918,-2.823145 2.02094,0.46281 3.28596,2.47714 2.82315,4.499183 z m 0,0"
id="path109734" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 116.20648,88.009558 c -0.11239,-0.07603 -0.14328,-0.229201 -0.0672,-0.342701 0.0761,-0.113495 0.23029,-0.143251 0.34379,-0.06722 0.11356,0.07603 0.14325,0.229201 0.0672,0.342701 -0.076,0.113495 -0.23031,0.14325 -0.34379,0.06722"
id="path109736" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;stroke:#ffffff;stroke-width:0.46912277;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;fill-opacity:1"
d="m 116.20647,88.009571 c -0.11239,-0.07603 -0.14326,-0.229202 -0.0672,-0.3427 0.076,-0.113495 0.23032,-0.14325 0.34381,-0.06722 0.11356,0.07602 0.14325,0.229201 0.0672,0.3427 -0.076,0.113495 -0.2303,0.143251 -0.3438,0.06722 z m 0,0"
id="path109738" />
</g>
</svg>

+ 59
- 0
res/BefacoTinyKnobLightGrey_bg.svg View File

@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg113936" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="25.51182px"
height="25.51204px" viewBox="0 0 25.51182 25.51204" enable-background="new 0 0 25.51182 25.51204" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="-34.401622" inkscape:cy="38.846852" inkscape:document-rotation="0" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="1393" inkscape:window-maximized="0" inkscape:window-width="2560" inkscape:window-x="2473" inkscape:window-y="40" inkscape:zoom="7.919596" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-602.41016" y1="1786.646" x2="-576.89893" y2="1786.646" gradientTransform="matrix(0 1 1 0 -1773.84119 602.39905)">
<stop offset="0" style="stop-color:#828181"/>
<stop offset="1" style="stop-color:#575757"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M12.80518,25.50014c-7.03367,0-12.75617-5.72195-12.75617-12.75508
c0-7.03422,5.7225-12.75617,12.75617-12.75617s12.75563,5.72195,12.75563,12.75618
C25.56082,19.77819,19.83887,25.50014,12.80518,25.50014z"/>
</g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="1061.62036" y1="-4090.64478" x2="1086.35828" y2="-4090.64478" gradientTransform="matrix(0 1 -1 0 -4077.83984 -1061.23169)">
<stop offset="0.00559" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#7A7A7A"/>
</linearGradient>
<circle fill="url(#SVGID_2_)" cx="12.80491" cy="12.75756" r="12.36893"/>
<circle fill="#E0E0E0" cx="12.80491" cy="12.75756" r="11.63479"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="59.81736" y1="-53.61562" x2="59.81736" y2="-50.52658" gradientTransform="matrix(1 0 0 -1 -47.00625 -39.32658)">
<stop offset="0" style="stop-color:#FFFBFD"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M1.29804,11.2l-0.47869,0.46441c-0.49011,0.64501-0.48661,1.53861,0.00855,2.17976l0.44371,0.41162
l23.06135,0.03324l0.44834-0.42812c0.51235-0.63821,0.51607-1.54568,0.00897-2.18806l-0.45732-0.44676L1.29804,11.2z"/>
<path opacity="0.3" d="M12.80508,4.24283c5.88124,0,10.64893,4.53325,10.64893,10.1253s-4.76769,11.13201-10.64893,11.13201
S2.15615,19.96018,2.15615,14.36813S6.92384,4.24283,12.80508,4.24283z"/>
<linearGradient id="path109732_1_" gradientUnits="userSpaceOnUse" x1="1347.52856" y1="-3657.98022" x2="1368.09131" y2="-3657.98022" gradientTransform="matrix(0 1 -1 0 -3645.17529 -1345.05237)">
<stop offset="0" style="stop-color:#828181"/>
<stop offset="1" style="stop-color:#575757"/>
</linearGradient>
<path id="path109732_6_" inkscape:connector-curvature="0" fill="url(#path109732_1_)" d="M10.51147,22.7777
c-5.53401-1.26663-8.99316-6.7796-7.72653-12.31359C4.05159,4.93008,9.5645,1.4709,15.09851,2.73761
c5.53101,1.26663,8.99316,6.77951,7.72653,12.31357C21.55838,20.58214,16.04548,24.04429,10.51147,22.7777"/>
<linearGradient id="path109732_2_" gradientUnits="userSpaceOnUse" x1="1347.75073" y1="-3657.98022" x2="1367.86902" y2="-3657.98022" gradientTransform="matrix(0 1 -1 0 -3645.17529 -1345.05237)">
<stop offset="0" style="stop-color:#BFBDBD"/>
<stop offset="1" style="stop-color:#7D7D7D"/>
</linearGradient>
<path id="path109732_5_" inkscape:connector-curvature="0" opacity="0.79" fill="url(#path109732_2_)" d="M10.56104,22.56113
c-5.4144-1.23925-8.79878-6.63306-7.55952-12.04744c1.23927-5.41442,6.63302-8.79884,12.04742-7.5595
c5.41146,1.23925,8.79878,6.63298,7.55952,12.04742C21.36918,20.41302,15.97544,23.80034,10.56104,22.56113"/>
<linearGradient id="path109732_3_" gradientUnits="userSpaceOnUse" x1="12.80491" y1="3.25316" x2="12.80491" y2="22.26197">
<stop offset="0" style="stop-color:#B8B6B6"/>
<stop offset="1" style="stop-color:#878787"/>
</linearGradient>
<path id="path109732_4_" inkscape:connector-curvature="0" fill="url(#path109732_3_)" d="M10.68478,22.02049
c-5.11581-1.17091-8.31355-6.26726-7.14264-11.38306c1.17093-5.11583,6.26723-8.3136,11.38304-7.14262
c5.11303,1.17091,8.31355,6.26719,7.14264,11.38304C20.89689,19.99084,15.80059,23.19136,10.68478,22.02049"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="107.12906" y1="216.70132" x2="107.12906" y2="234.32826" gradientTransform="matrix(-1 0 0 0.50871 119.93398 -106.68469)">
<stop offset="0" style="stop-color:#FDFDFF"/>
<stop offset="1" style="stop-color:#FCFEFF;stop-opacity:0"/>
</linearGradient>
<ellipse opacity="0.2" fill="url(#SVGID_4_)" cx="12.80491" cy="8.0377" rx="6.70728" ry="4.48353"/>
</svg>

+ 0
- 85
res/BefacoTinyKnobRed.svg View File

@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="9.0000019mm"
height="9.0000801mm"
viewBox="0 0 9.0000016 9.00008"
version="1.1"
id="svg113936"
inkscape:version="1.0.2-2 (e86c870879, 2021-01-15)"
sodipodi:docname="BefacoTinyKnobRed.svg">
<defs
id="defs113930" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="15.839192"
inkscape:cx="-26.636784"
inkscape:cy="31.87065"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2560"
inkscape:window-height="1393"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:document-rotation="0" />
<metadata
id="metadata113933">
<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(-111.86932,-85.795053)">
<path
inkscape:connector-curvature="0"
style="fill:#d4d4d4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.10511,92.798549 c 1.38512,-2.062815 0.83525,-4.854005 -1.22757,-6.23803 -2.0617,-1.384026 -4.86062,-0.840773 -6.24463,1.222041 -1.38514,2.062814 -0.83306,4.866126 1.22866,6.251255 2.06282,1.384023 4.8595,0.827547 6.24354,-1.235266"
id="path109730" />
<path
inkscape:connector-curvature="0"
style="fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 120.02026,91.143448 c -0.46281,2.022043 -2.47716,3.285957 -4.49919,2.823148 -2.02205,-0.462813 -3.28598,-2.47714 -2.82314,-4.499182 0.46281,-2.020944 2.47713,-3.285958 4.49918,-2.82315 2.02093,0.462812 3.28594,2.477141 2.82315,4.499184"
id="path109732" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#7f7878;stroke-width:0.11481237;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
d="m 120.02026,91.143463 c -0.46281,2.022042 -2.47715,3.285956 -4.49919,2.823145 -2.02204,-0.462811 -3.28595,-2.47714 -2.82314,-4.499183 0.46281,-2.020941 2.47714,-3.285957 4.49918,-2.823145 2.02094,0.46281 3.28596,2.47714 2.82315,4.499183 z m 0,0"
id="path109734" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.28209424"
d="m 116.20648,88.009558 c -0.11239,-0.07603 -0.14328,-0.229201 -0.0672,-0.342701 0.0761,-0.113495 0.23029,-0.143251 0.34379,-0.06722 0.11356,0.07603 0.14325,0.229201 0.0672,0.342701 -0.076,0.113495 -0.23031,0.14325 -0.34379,0.06722"
id="path109736" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;stroke:#ffffff;stroke-width:0.46912277;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;fill-opacity:1"
d="m 116.20647,88.009571 c -0.11239,-0.07603 -0.14326,-0.229202 -0.0672,-0.3427 0.076,-0.113495 0.23032,-0.14325 0.34381,-0.06722 0.11356,0.07602 0.14325,0.229201 0.0672,0.3427 -0.076,0.113495 -0.2303,0.143251 -0.3438,0.06722 z m 0,0"
id="path109738" />
</g>
</svg>

+ 60
- 0
res/BefacoTinyKnobRed_bg.svg View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg113936" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="25.51182px"
height="25.51204px" viewBox="0 0 25.51182 25.51204" enable-background="new 0 0 25.51182 25.51204" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="-26.636784" inkscape:cy="31.87065" inkscape:document-rotation="0" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="1393" inkscape:window-maximized="0" inkscape:window-width="2560" inkscape:window-x="0" inkscape:window-y="0" inkscape:zoom="15.839192" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-602.39868" y1="1786.59705" x2="-576.88739" y2="1786.59705" gradientTransform="matrix(0 1 1 0 -1773.84119 602.39905)">
<stop offset="0" style="stop-color:#828181"/>
<stop offset="1" style="stop-color:#575757"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M12.75618,25.51165c-7.03367,0-12.75617-5.72195-12.75617-12.75508
c0-7.03422,5.7225-12.75617,12.75617-12.75617s12.75563,5.72195,12.75563,12.75618
C25.51181,19.7897,19.78986,25.51165,12.75618,25.51165z"/>
</g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="1061.63184" y1="-4090.59595" x2="1086.36975" y2="-4090.59595" gradientTransform="matrix(0 1 -1 0 -4077.83984 -1061.23169)">
<stop offset="0.00559" style="stop-color:#FFFFFF"/>
<stop offset="1" style="stop-color:#7A7A7A"/>
</linearGradient>
<circle fill="url(#SVGID_2_)" cx="12.75591" cy="12.76906" r="12.36893"/>
<circle fill="#E0E0E0" cx="12.75591" cy="12.76906" r="11.63479"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="59.76836" y1="-53.62712" x2="59.76836" y2="-50.53809" gradientTransform="matrix(1 0 0 -1 -47.00625 -39.32658)">
<stop offset="0" style="stop-color:#FFFBFD"/>
<stop offset="1" style="stop-color:#808080"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M1.24904,11.2115l-0.47869,0.46441c-0.49011,0.64501-0.48661,1.53861,0.00855,2.17976
l0.44371,0.41162l23.06135,0.03324l0.44834-0.42812c0.51235-0.63821,0.51607-1.54568,0.00897-2.18806l-0.45732-0.44676
L1.24904,11.2115z"/>
<path opacity="0.3" d="M12.75608,4.25433c5.88124,0,10.64893,4.53325,10.64893,10.1253s-4.76769,11.13201-10.64893,11.13201
S2.10715,19.97169,2.10715,14.37964S6.87484,4.25433,12.75608,4.25433z"/>
<linearGradient id="path109732_1_" gradientUnits="userSpaceOnUse" x1="1347.54004" y1="-3657.9314" x2="1368.10278" y2="-3657.9314" gradientTransform="matrix(0 1 -1 0 -3645.17529 -1345.05237)">
<stop offset="0" style="stop-color:#828181"/>
<stop offset="1" style="stop-color:#575757"/>
</linearGradient>
<path id="path109732_00000041254840420806300190000013366540523787950231_" inkscape:connector-curvature="0" fill="url(#path109732_1_)" d="
M10.46246,22.78921c-5.53401-1.26663-8.99316-6.77959-7.72653-12.31359c1.26665-5.53403,6.77955-8.99322,12.31357-7.7265
c5.53101,1.26663,8.99316,6.77951,7.72653,12.31357C21.50938,20.59365,15.99648,24.0558,10.46246,22.78921"/>
<linearGradient id="path109732_2_" gradientUnits="userSpaceOnUse" x1="1347.76233" y1="-3657.9314" x2="1367.88062" y2="-3657.9314" gradientTransform="matrix(0 1 -1 0 -3645.17529 -1345.05237)">
<stop offset="0" style="stop-color:#C40D0D"/>
<stop offset="1" style="stop-color:#730000"/>
</linearGradient>
<path id="path109732_00000144318314163033999540000009166706239906729906_" inkscape:connector-curvature="0" fill="url(#path109732_2_)" d="
M10.51203,22.57263c-5.4144-1.23925-8.79878-6.63306-7.55952-12.04744c1.23927-5.41442,6.63302-8.79884,12.04742-7.5595
c5.41146,1.23925,8.79878,6.63298,7.55952,12.04742C21.32018,20.42453,15.92643,23.81184,10.51203,22.57263"/>
<linearGradient id="path109732_3_" gradientUnits="userSpaceOnUse" x1="12.75591" y1="3.26466" x2="12.75591" y2="22.27347">
<stop offset="0" style="stop-color:#ED0000"/>
<stop offset="1" style="stop-color:#A10000"/>
</linearGradient>
<path id="path109732_00000109012350291827255540000012660130884015689636_" inkscape:connector-curvature="0" fill="url(#path109732_3_)" d="
M10.63578,22.03199c-5.11581-1.17091-8.31355-6.26726-7.14263-11.38306c1.17093-5.11583,6.26723-8.3136,11.38304-7.14262
c5.11303,1.17091,8.31355,6.26719,7.14263,11.38304C20.84788,20.00235,15.75159,23.20286,10.63578,22.03199"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="107.17806" y1="216.72394" x2="107.17806" y2="234.35088" gradientTransform="matrix(-1 0 0 0.50871 119.93398 -106.68469)">
<stop offset="0" style="stop-color:#FDFDFF"/>
<stop offset="1" style="stop-color:#FCFEFF;stop-opacity:0"/>
</linearGradient>
<ellipse opacity="0.25" fill="url(#SVGID_4_)" cx="12.75591" cy="8.0492" rx="6.70728" ry="4.48353"/>
</svg>

+ 10
- 0
res/BefacoTinyPointWhite.svg View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg113936" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="25.51182px"
height="25.51204px" viewBox="0 0 25.51182 25.51204" enable-background="new 0 0 25.51182 25.51204" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="-34.401622" inkscape:cy="38.846852" inkscape:document-rotation="0" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="1393" inkscape:window-maximized="0" inkscape:window-width="2560" inkscape:window-x="2473" inkscape:window-y="40" inkscape:zoom="7.919596" pagecolor="#ffffff" showgrid="false">
</sodipodi:namedview>
<circle opacity="0.95" fill="#F2F2F2" cx="12.71435" cy="5.68004" r="1.36886"/>
</svg>

+ 25
- 98
res/Knurlie.svg View File

@@ -1,98 +1,25 @@
<?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="15"
height="14.998887"
viewBox="0 0 3.9687499 3.9684557"
version="1.1"
id="svg18800"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
sodipodi:docname="Knurlie.svg">
<defs
id="defs18794" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.4"
inkscape:cx="-17.002013"
inkscape:cy="6.0114243"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="2560"
inkscape:window-height="1422"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:window-maximized="0"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-object-midpoints="true"
inkscape:snap-page="true"
units="px" />
<metadata
id="metadata18797">
<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(-27.124952,-67.361781)">
<ellipse
ry="1.4496888"
rx="1.4497962"
cy="69.346008"
cx="29.109327"
id="ellipse53482"
style="opacity:1;vector-effect:none;fill:#646464;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.10000001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<path
d="m 29.412049,70.787161 h -0.605445 v -2.882012 h 0.605445 z"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277778"
id="path6839"
inkscape:connector-curvature="0" />
<path
d="M 30.541801,69.648876 H 27.67685 v -0.605445 h 2.864951 z"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.35277775"
id="path6841"
inkscape:connector-curvature="0" />
<path
sodipodi:type="star"
style="opacity:1;vector-effect:none;fill:#050505;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.09999999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="path53478"
sodipodi:sides="6"
sodipodi:cx="29.109327"
sodipodi:cy="69.346008"
sodipodi:r1="0.85442221"
sodipodi:r2="0.73995137"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.0471976"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 29.849279,69.773219 -0.739952,0.427212 -0.739951,-0.427212 0,-0.854422 0.739951,-0.427211 0.739952,0.427211 z" />
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0"
id="svg18800" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="15px" height="14.99889px"
viewBox="0 0 15 14.99889" enable-background="new 0 0 15 14.99889" xml:space="preserve">
<sodipodi:namedview bordercolor="#666666" borderopacity="1.0" fit-margin-bottom="0" fit-margin-left="0" fit-margin-right="0" fit-margin-top="0" id="base" inkscape:current-layer="layer1" inkscape:cx="-17.002013" inkscape:cy="6.0114243" inkscape:document-units="mm" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:snap-bbox="true" inkscape:snap-bbox-midpoints="true" inkscape:snap-object-midpoints="true" inkscape:snap-page="true" inkscape:window-height="1422" inkscape:window-maximized="0" inkscape:window-width="2560" inkscape:window-x="0" inkscape:window-y="18" inkscape:zoom="22.4" pagecolor="#ffffff" showgrid="false" units="px">
</sodipodi:namedview>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="395.72443" y1="6128.3999" x2="408.72443" y2="6128.3999" gradientTransform="matrix(0 1 1 0 -6120.8999 -394.72443)">
<stop offset="0.00559" style="stop-color:#303030"/>
<stop offset="1" style="stop-color:#222222"/>
</linearGradient>
<circle fill="url(#SVGID_1_)" cx="7.49999" cy="7.50001" r="6.5"/>
<linearGradient id="SVGID_00000029764950440674115040000004743350729457199288_" gradientUnits="userSpaceOnUse" x1="396.41196" y1="6128.3999" x2="408.03586" y2="6128.3999" gradientTransform="matrix(0 1 1 0 -6120.8999 -394.72443)">
<stop offset="0.01118" style="stop-color:#636363"/>
<stop offset="1" style="stop-color:#2B2B2B"/>
</linearGradient>
<circle fill="url(#SVGID_00000029764950440674115040000004743350729457199288_)" cx="7.49999" cy="7.49948" r="5.81194"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#171717" d="M6.27742,4.76177L4.51167,5.7813v0.50317H1.8174
c-0.04761,0.22388-0.08148,0.4524-0.10254,0.68482v1.06055c0.02155,0.23779,0.05707,0.47119,0.10638,0.69971h2.69043v0.5022
l1.76575,1.01953v2.92896c0.39447,0.08447,0.80292,0.13135,1.2226,0.13135s0.82813-0.04688,1.22253-0.13135v-2.92896
l1.76581-1.01953v-0.5022h2.69043c0.04926-0.22827,0.08478-0.46118,0.10632-0.69873V6.96807
c-0.02106-0.23218-0.05493-0.46021-0.10248-0.68359h-2.69427V5.7813L8.72255,4.76177V1.8189
C8.32814,1.73443,7.91969,1.68755,7.50002,1.68755S6.67189,1.73443,6.27742,1.8189V4.76177z"/>
</svg>

+ 29
- 39
src/plugin.hpp View File

@@ -25,102 +25,92 @@ extern Model* modelSTMix;
extern Model* modelMuxlicer;
extern Model* modelMex;


struct Knurlie : SvgScrew {
Knurlie() {
sw->svg = APP->window->loadSvg(asset::plugin(pluginInstance, "res/Knurlie.svg"));
sw->wrap();
box.size = sw->box.size;
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Knurlie.svg")));
}
};

struct BefacoTinyKnobRed : app::SvgKnob {
BefacoTinyKnobRed() {
minAngle = -0.8 * M_PI;
maxAngle = 0.8 * M_PI;
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoTinyKnobRed.svg")));
}
struct BefacoTinyKnobWhite : BefacoTinyKnob {
BefacoTinyKnobWhite() {}
};

struct BefacoTinyKnobWhite : app::SvgKnob {
BefacoTinyKnobWhite() {
minAngle = -0.8 * M_PI;
maxAngle = 0.8 * M_PI;
setSvg(APP->window->loadSvg(asset::system("res/ComponentLibrary/BefacoTinyKnob.svg")));
struct BefacoTinyKnobRed : BefacoTinyKnob {
BefacoTinyKnobRed() {
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyPointWhite.svg")));
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobRed_bg.svg")));
}
};

struct BefacoTinyKnobDarkGrey : app::SvgKnob {
struct BefacoTinyKnobDarkGrey : BefacoTinyKnob {
BefacoTinyKnobDarkGrey() {
minAngle = -0.8 * M_PI;
maxAngle = 0.8 * M_PI;
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoTinyKnobDarkGrey.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyPointWhite.svg")));
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobDarkGrey_bg.svg")));
}
};

struct BefacoTinyKnobLightGrey : app::SvgKnob {
struct BefacoTinyKnobLightGrey : BefacoTinyKnob {
BefacoTinyKnobLightGrey() {
minAngle = -0.8 * M_PI;
maxAngle = 0.8 * M_PI;
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoTinyKnobLightGrey.svg")));
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobLightGrey_bg.svg")));
}
};

struct BefacoTinyKnobBlack : app::SvgKnob {
struct BefacoTinyKnobBlack : BefacoTinyKnob {
BefacoTinyKnobBlack() {
minAngle = -0.8 * M_PI;
maxAngle = 0.8 * M_PI;
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoTinyKnobBlack.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyPointWhite.svg")));
bg->setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoTinyKnobBlack_bg.svg")));
}
};

struct Davies1900hLargeGreyKnob : Davies1900hKnob {
Davies1900hLargeGreyKnob() {
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Davies1900hLargeGrey.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLargeGrey.svg")));
}
};

struct Davies1900hLightGreyKnob : Davies1900hWhiteKnob {
Davies1900hLightGreyKnob() {
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Davies1900hLightGrey.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hLightGrey.svg")));
}
};

struct Davies1900hDarkGreyKnob : Davies1900hWhiteKnob {
Davies1900hDarkGreyKnob() {
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Davies1900hDarkGrey.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hDarkGrey.svg")));
}
};

// library black Davies1900h doesn't work well on black backgrounds
struct Davies1900hDarkBlackAlt : Davies1900hWhiteKnob {
Davies1900hDarkBlackAlt() {
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/Davies1900hBlack.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/Davies1900hBlack.svg")));
}
};

struct BefacoOutputPort : app::SvgPort {
BefacoOutputPort() {
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoOutputPort.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoOutputPort.svg")));
}
};

struct BefacoInputPort : app::SvgPort {
BefacoInputPort() {
setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoInputPort.svg")));
setSvg(Svg::load(asset::plugin(pluginInstance, "res/BefacoInputPort.svg")));
}
};

struct CKSSNarrow : app::SvgSwitch {
CKSSNarrow() {
addFrame(APP->window->loadSvg(asset::plugin(pluginInstance, "res/SwitchNarrow_0.svg")));
addFrame(APP->window->loadSvg(asset::plugin(pluginInstance, "res/SwitchNarrow_1.svg")));
addFrame(Svg::load(asset::plugin(pluginInstance, "res/SwitchNarrow_0.svg")));
addFrame(Svg::load(asset::plugin(pluginInstance, "res/SwitchNarrow_1.svg")));
}
};

struct Crossfader : app::SvgSlider {
Crossfader() {
setBackgroundSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/CrossfaderBackground.svg")));
setHandleSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/CrossfaderHandle.svg")));
setBackgroundSvg(Svg::load(asset::plugin(pluginInstance, "res/CrossfaderBackground.svg")));
setHandleSvg(Svg::load(asset::plugin(pluginInstance, "res/CrossfaderHandle.svg")));
minHandlePos = mm2px(Vec(4.5f, -0.8f));
maxHandlePos = mm2px(Vec(34.5, -0.8f));
horizontal = true;
@@ -132,9 +122,9 @@ struct Crossfader : app::SvgSlider {

struct BefacoSwitchHorizontal : app::SvgSwitch {
BefacoSwitchHorizontal() {
addFrame(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_0.svg")));
addFrame(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_1.svg")));
addFrame(APP->window->loadSvg(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_2.svg")));
addFrame(Svg::load(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_0.svg")));
addFrame(Svg::load(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_1.svg")));
addFrame(Svg::load(asset::plugin(pluginInstance, "res/BefacoSwitchHoriz_2.svg")));
}
};



Loading…
Cancel
Save