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 CopyMeasureItem : MenuItem {
- PianoRollWidget *widget = NULL;
- PianoRollModule *module = NULL;
- void onAction(EventAction &e) override {
- module->patternData.copyMeasure(module->transport.currentPattern(), widget->rollAreaWidget->state.currentMeasure);
- widget->state = MEASURELOADED;
- }
- };
-
- } // namespace rack_plugin_rcm
|