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>
- #include <ui/MenuEntry.hpp>
-
-
- namespace rack {
- namespace ui {
-
-
- struct Menu : widget::OpaqueWidget {
- Menu *parentMenu = NULL;
- Menu *childMenu = NULL;
- /** The entry which created the child menu */
- MenuEntry *activeEntry = NULL;
-
- Menu();
- ~Menu();
- void setChildMenu(Menu *menu);
- void step() override;
- void draw(const DrawArgs &args) override;
- void onHoverScroll(const event::HoverScroll &e) override;
- };
-
-
- } // namespace ui
- } // namespace rack
|