From 818f2cffd7b7c95319eb5728b2e519cd96c62dc4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Dec 2010 23:45:04 +0000 Subject: Add menu option to insert program changes. git-svn-id: svn://localhost/ardour2/branches/3.0@8330 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.h | 5 +++-- 1 file changed, 3 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 781ef35036..4bfaebbf13 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -133,7 +133,7 @@ class MidiRegionView : public RegionView * @param program the MidiRegionView::PCEvent to add * @param the text to display in the flag */ - void add_pgm_change(PCEvent& program, const std::string& displaytext); + void add_canvas_program_change (PCEvent& program, const std::string& displaytext); /** Look up the given time and channel in the 'automation' and set keys accordingly. * @param time the time of the program change event @@ -149,7 +149,8 @@ class MidiRegionView : public RegionView */ void alter_program_change(PCEvent& old_program, const MIDI::Name::PatchPrimaryKey& new_patch); - void move_program_change (PCEvent, double); + void add_program_change (framecnt_t, uint8_t, uint8_t); + void move_program_change (PCEvent, Evoral::MusicalTime); void delete_program_change (ArdourCanvas::CanvasProgramChange *); /** Alter a given program to the new given one. -- cgit v1.2.3