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.

31 lines
544B

  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. CircularShadow* shadow;
  12. widget::SvgWidget* sw;
  13. SvgPort();
  14. void setSvg(std::shared_ptr<window::Svg> svg);
  15. DEPRECATED void setSVG(std::shared_ptr<window::Svg> svg) {
  16. setSvg(svg);
  17. }
  18. };
  19. DEPRECATED typedef SvgPort SVGPort;
  20. } // namespace app
  21. } // namespace rack