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.

29 lines
523B

  1. #pragma once
  2. #include "app/common.hpp"
  3. #include "app/PortWidget.hpp"
  4. #include "widget/FramebufferWidget.hpp"
  5. #include "widget/SvgWidget.hpp"
  6. #include "app/CircularShadow.hpp"
  7. namespace rack {
  8. namespace app {
  9. struct SvgPort : PortWidget {
  10. widget::FramebufferWidget *fb;
  11. widget::SvgWidget *sw;
  12. CircularShadow *shadow;
  13. SvgPort();
  14. void setSvg(std::shared_ptr<Svg> svg);
  15. DEPRECATED void setSVG(std::shared_ptr<Svg> svg) {setSvg(svg);}
  16. };
  17. DEPRECATED typedef SvgPort SVGPort;
  18. } // namespace app
  19. } // namespace rack