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.

26 lines
425B

  1. #pragma once
  2. #include <widget/FramebufferWidget.hpp>
  3. #include <widget/SvgWidget.hpp>
  4. #include <ui/common.hpp>
  5. #include <ui/Button.hpp>
  6. namespace rack {
  7. namespace ui {
  8. struct IconButton : Button {
  9. widget::FramebufferWidget* fw;
  10. widget::SvgWidget* sw;
  11. IconButton();
  12. void setSvg(std::shared_ptr<Svg> svg);
  13. DEPRECATED void setSVG(std::shared_ptr<Svg> svg) {
  14. setSvg(svg);
  15. }
  16. };
  17. } // namespace ui
  18. } // namespace rack