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.

RadioButton.hpp 401B

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