#pragma once #include #include #include namespace rack { namespace ui { struct OptionButton : widget::OpaqueWidget { std::string text; /** Not owned. Tracks the pressed state of the button.*/ Quantity* quantity = NULL; OptionButton(); void draw(const DrawArgs& args) override; void onDragDrop(const DragDropEvent& e) override; }; } // namespace ui } // namespace rack