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.

IconButton.hpp 308B

1234567891011121314151617181920
  1. #pragma once
  2. #include "widgets/FramebufferWidget.hpp"
  3. #include "widgets/SVGWidget.hpp"
  4. #include "ui/common.hpp"
  5. #include "ui/Button.hpp"
  6. namespace rack {
  7. struct IconButton : Button {
  8. FramebufferWidget *fw;
  9. SVGWidget *sw;
  10. IconButton();
  11. void setSVG(std::shared_ptr<SVG> svg);
  12. };
  13. } // namespace rack