Browse Source

Switch VCO from PNG to SVG

tags/v0.4.0
Andrew Belt 6 years ago
parent
commit
fabfd0f639
2 changed files with 7687 additions and 2 deletions
  1. +7685
    -0
      res/VCO.svg
  2. +2
    -2
      src/VCO.cpp

+ 7685
- 0
res/VCO.svg
File diff suppressed because it is too large
View File


+ 2
- 2
src/VCO.cpp View File

@@ -190,9 +190,9 @@ VCOWidget::VCOWidget() {
box.size = Vec(15*10, 380);

{
Panel *panel = new LightPanel();
SVGPanel *panel = new SVGPanel();
panel->box.size = box.size;
panel->backgroundImage = Image::load("plugins/Fundamental/res/VCO.png");
panel->addBackground(SVG::load("plugins/Fundamental/res/VCO.svg"));
addChild(panel);
}



Loading…
Cancel
Save