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.

25 lines
420B

  1. #pragma once
  2. #include <ui/common.hpp>
  3. #include <widget/OpaqueWidget.hpp>
  4. #include <Quantity.hpp>
  5. #include <app.hpp>
  6. #include <event.hpp>
  7. namespace rack {
  8. namespace ui {
  9. struct RadioButton : widget::OpaqueWidget {
  10. /** Not owned. */
  11. Quantity* quantity = NULL;
  12. RadioButton();
  13. void draw(const DrawArgs& args) override;
  14. void onDragDrop(const event::DragDrop& e) override;
  15. };
  16. } // namespace ui
  17. } // namespace rack