From 5f6630034919bde73ffa603e7420c8af2c3c16f7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Dec 2014 20:18:11 -0500 Subject: Support stepping bank by shift+scroll/arrow. --- gtk2_ardour/midi_region_view.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/midi_region_view.h') 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. */ -- cgit v1.2.3