summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-17 20:18:11 -0500
committerDavid Robillard <d@drobilla.net>2014-12-17 20:18:11 -0500
commit5f6630034919bde73ffa603e7420c8af2c3c16f7 (patch)
treecd5b4d36e528d426087b20db465f24d5588ab5bd /gtk2_ardour/midi_region_view.h
parentd2cafbe95a5784b7c306c24b0008379a41a909f7 (diff)
Support stepping bank by shift+scroll/arrow.
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index a07a46825f..7280ba6e4e 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -153,8 +153,11 @@ public:
void delete_sysex (SysEx*);
- /** Change a patch to the next or previous bank/program. */
- void step_patch (PatchChange& patch, int dbank, int dprog);
+ /** Change a patch to the next or previous bank/program.
+ * @param bank If true, step bank, otherwise, step program.
+ * @param delta Amount to adjust number.
+ */
+ void step_patch (PatchChange& patch, bool bank, int delta);
/** Displays all patch change events in the region as flags on the canvas.
*/