You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
249B

  1. #include "app.hpp"
  2. namespace rack {
  3. SVGPort::SVGPort() {
  4. padding = Vec(1, 1);
  5. background = new SVGWidget();
  6. addChild(background);
  7. }
  8. void SVGPort::draw(NVGcontext *vg) {
  9. Port::draw(vg);
  10. FramebufferWidget::draw(vg);
  11. }
  12. } // namespace rack