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.

16 lines
334B

  1. #include "rack.hpp"
  2. using namespace rack;
  3. namespace rack_plugin_rcm {
  4. struct PastePatternItem : MenuItem {
  5. PianoRollWidget *widget = NULL;
  6. PianoRollModule *module = NULL;
  7. void onAction(EventAction &e) override {
  8. module->patternData.pastePattern(module->transport.currentPattern());
  9. }
  10. };
  11. } // namespace rack_plugin_rcm