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.

MenuOverlay.hpp 382B

6 years ago
12345678910111213141516171819
  1. #pragma once
  2. #include "widget/OverlayWidget.hpp"
  3. #include "ui/common.hpp"
  4. namespace rack {
  5. namespace ui {
  6. /** Deletes itself from parent when clicked */
  7. struct MenuOverlay : widget::OverlayWidget {
  8. void step() override;
  9. void onButton(const widget::ButtonEvent &e) override;
  10. void onHoverKey(const widget::HoverKeyEvent &e) override;
  11. };
  12. } // namespace ui
  13. } // namespace rack