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.

20 lines
291B

  1. #pragma once
  2. #include "app/common.hpp"
  3. #include "app/Port.hpp"
  4. namespace rack {
  5. struct SVGPort : Port, FramebufferWidget {
  6. SVGWidget *background;
  7. CircularShadow *shadow;
  8. SVGPort();
  9. void setSVG(std::shared_ptr<SVG> svg);
  10. void draw(NVGcontext *vg) override;
  11. };
  12. } // namespace rack