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.

24 lines
420B

  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) {setSvg(svg);}
  14. };
  15. } // namespace ui
  16. } // namespace rack