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 368B

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