#pragma once #include #include namespace rack { namespace ui { /** Deletes itself from parent when clicked */ struct MenuOverlay : widget::OpaqueWidget { void step() override; void onButton(const event::Button& e) override; void onHoverKey(const event::HoverKey& e) override; }; } // namespace ui } // namespace rack