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.

24 lines
393B

  1. #include "rack.hpp"
  2. using namespace rack;
  3. namespace rack_plugin_rcm {
  4. namespace SongRoll {
  5. class PatternHeaderWidget : public VirtualWidget {
  6. public:
  7. int repeats;
  8. int repeats_completed;
  9. int pattern;
  10. bool active;
  11. PatternHeaderWidget(int repeats, int repeats_completed, int pattern);
  12. void draw(NVGcontext* ctx) override;
  13. };
  14. }
  15. } // namespace rack_plugin_rcm