#pragma once #include #include #include #include namespace rack { namespace ui { struct MenuItem : MenuEntry { std::string text; std::string rightText; bool disabled = false; bool active = false; void draw(const DrawArgs &args) override; void step() override; void onEnter(const event::Enter &e) override; void onDragDrop(const event::DragDrop &e) override; void doAction(); virtual Menu *createChildMenu() {return NULL;} }; } // namespace ui } // namespace rack