diff --git a/include/componentlibrary.hpp b/include/componentlibrary.hpp index 750551f7..7231d428 100644 --- a/include/componentlibrary.hpp +++ b/include/componentlibrary.hpp @@ -701,17 +701,6 @@ struct VCVSlider : app::SvgSlider { }; using LEDSlider = VCVSlider; -struct VCVSliderHorizontal : app::SvgSlider { - VCVSliderHorizontal() { - horizontal = true; - // TODO Fix SVG - setBackgroundSvg(Svg::load(asset::system("res/ComponentLibrary/VCVSliderHorizontal.svg"))); - // TODO Fix positions - setHandlePos(mm2px(math::Vec(0.738, 0.738).plus(math::Vec(0, 2))), mm2px(math::Vec(22.078, 0.738).plus(math::Vec(0, 2)))); - } -}; -using LEDSliderHorizontal = VCVSliderHorizontal; - /** An SvgSlider with an attached light. Construct with createLightParamCentered() helper function. */ @@ -760,18 +749,6 @@ struct LEDSliderYellow : VCVLightSlider {}; struct LEDSliderBlue : VCVLightSlider {}; struct LEDSliderWhite : VCVLightSlider {}; -template -struct VCVLightSliderHorizontal : LightSlider { - VCVLightSliderHorizontal() { - // TODO Fix positions - this->light->box.size = mm2px(math::Vec(3.276, 1.524)); - // TODO Fix SVG - this->setHandleSvg(Svg::load(asset::system("res/ComponentLibrary/VCVSliderHorizontalHandle.svg"))); - } -}; -template -using LEDLightSliderHorizontal = VCVLightSliderHorizontal; - //////////////////// // Ports