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.
|
- #include "rack.hpp"
-
- using namespace rack;
-
- namespace rack_plugin_rcm {
-
- struct CopyPatternItem : MenuItem {
- PianoRollWidget *widget = NULL;
- PianoRollModule *module = NULL;
- int type;
- void onAction(EventAction &e) override {
- module->patternData.copyPattern(module->transport.currentPattern());
- widget->state = PATTERNLOADED;
- }
- };
-
- } // namespace rack_plugin_rcm
|