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.

26 lines
412B

  1. #include "rack.hpp"
  2. using namespace rack;
  3. namespace rack_plugin_rcm {
  4. namespace SongRoll {
  5. struct SongRollData;
  6. class RepeatControlWidget : public VirtualWidget {
  7. public:
  8. int repeats=1;
  9. int repeats_complete=0;
  10. int repeat_mode=1;
  11. RepeatControlWidget();
  12. void draw(NVGcontext* ctx) override;
  13. void onMouseDown(EventMouseDown& e) override;
  14. };
  15. }
  16. } // namespace rack_plugin_rcm