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.

SvgPanel.hpp 504B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include <app/common.hpp>
  3. #include <widget/TransparentWidget.hpp>
  4. #include <widget/FramebufferWidget.hpp>
  5. #include <widget/SvgWidget.hpp>
  6. #include <app.hpp>
  7. namespace rack {
  8. namespace app {
  9. struct PanelBorder : widget::TransparentWidget {
  10. void draw(const DrawArgs &args) override;
  11. };
  12. struct SvgPanel : widget::FramebufferWidget {
  13. void step() override;
  14. void setBackground(std::shared_ptr<Svg> svg);
  15. };
  16. DEPRECATED typedef SvgPanel SVGPanel;
  17. } // namespace app
  18. } // namespace rack