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.
|
- #pragma once
- #include <widget/OpaqueWidget.hpp>
- #include <ui/common.hpp>
-
-
- namespace rack {
- namespace ui {
-
-
- /** Deletes itself from parent when clicked */
- struct MenuOverlay : widget::OpaqueWidget {
- NVGcolor bgColor;
-
- MenuOverlay();
- void draw(const DrawArgs& args) override;
- void step() override;
- void onButton(const ButtonEvent& e) override;
- void onHoverKey(const HoverKeyEvent& e) override;
- void onAction(const ActionEvent& e) override;
- };
-
-
- } // namespace ui
- } // namespace rack
|