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.

SvgScrew.hpp 496B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <common.hpp>
  3. #include <widget/Widget.hpp>
  4. #include <widget/FramebufferWidget.hpp>
  5. #include <widget/SvgWidget.hpp>
  6. namespace rack {
  7. namespace app {
  8. /** If you don't add these to your ModuleWidget, they will fall out of the rack... */
  9. struct SvgScrew : widget::Widget {
  10. widget::FramebufferWidget* fb;
  11. widget::SvgWidget* sw;
  12. SvgScrew();
  13. void setSvg(std::shared_ptr<window::Svg> svg);
  14. };
  15. DEPRECATED typedef SvgScrew SVGScrew;
  16. } // namespace app
  17. } // namespace rack