From 0a5db4f8434ff228acdff0b8a435c613a333aa77 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 1 Feb 2022 23:56:38 +0000 Subject: [PATCH] Make host cv panel 1hp thinner Signed-off-by: falkTX --- plugins/Cardinal/orig/HostCV.svg | 182 ++++++++++++++------------- plugins/Cardinal/res/HostCV.svg | 206 ++++++++++++++++--------------- plugins/Cardinal/src/HostCV.cpp | 2 +- 3 files changed, 203 insertions(+), 187 deletions(-) diff --git a/plugins/Cardinal/orig/HostCV.svg b/plugins/Cardinal/orig/HostCV.svg index 4ec0f2b..d174cd6 100644 --- a/plugins/Cardinal/orig/HostCV.svg +++ b/plugins/Cardinal/orig/HostCV.svg @@ -2,20 +2,20 @@ + inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)" + sodipodi:docname="HostCV.svg"> image/svg+xml - + @@ -67,87 +67,91 @@ id="layer1" transform="translate(0,-168.5)"> + id="g843" + transform="translate(-2.1252676)"> - - - + transform="matrix(6.342689,0,0,6.342689,5.4472535,175.6457)" + id="g5299" + style="fill-rule:evenodd"> + + + + + + + + + + + + + + + - - - - - - - - - - Host CV + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93888998px;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans, 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;fill:#808a8a;fill-opacity:1;stroke-width:0.26458299">Host CV diff --git a/plugins/Cardinal/res/HostCV.svg b/plugins/Cardinal/res/HostCV.svg index 0ca8180..4f0c381 100644 --- a/plugins/Cardinal/res/HostCV.svg +++ b/plugins/Cardinal/res/HostCV.svg @@ -2,20 +2,20 @@ + inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)" + sodipodi:docname="HostCV.svg"> image/svg+xml + @@ -66,105 +67,116 @@ id="layer1" transform="translate(0,-168.5)"> + id="g851" + transform="translate(-2.1252676)"> - - - + transform="matrix(6.342689,0,0,6.342689,5.4472535,175.6457)" + id="g5299" + style="fill-rule:evenodd"> + + + + + + + + + + + + + + + - - - - - - - - - - + style="font-size:10.58329964px;line-height:1.25;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans, Normal';letter-spacing:0px;word-spacing:0px;fill:#808a8a;stroke-width:0.26458299" + transform="translate(-2.5400008)"> + style="font-size:4.93888998px" + id="path2358" + inkscape:connector-curvature="0" /> + style="font-size:4.93888998px" + id="path2360" + inkscape:connector-curvature="0" /> + style="font-size:4.93888998px" + id="path2362" + inkscape:connector-curvature="0" /> + style="font-size:4.93888998px" + id="path2364" + inkscape:connector-curvature="0" /> + style="font-size:4.93888998px" + id="path2366" + inkscape:connector-curvature="0" /> + style="font-size:4.93888998px" + id="path2368" + inkscape:connector-curvature="0" /> diff --git a/plugins/Cardinal/src/HostCV.cpp b/plugins/Cardinal/src/HostCV.cpp index 254fb96..b8cbb70 100644 --- a/plugins/Cardinal/src/HostCV.cpp +++ b/plugins/Cardinal/src/HostCV.cpp @@ -100,7 +100,7 @@ struct HostCV : Module { struct HostCVWidget : ModuleWidget { static constexpr const float startX_In = 14.0f; - static constexpr const float startX_Out = 96.0f; + static constexpr const float startX_Out = 81.0f; static constexpr const float startY = 74.0f; static constexpr const float padding = 29.0f; static constexpr const float middleX = startX_In + (startX_Out - startX_In) * 0.5f + padding * 0.35f;