summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-22 23:45:04 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-22 23:45:04 +0000
commit818f2cffd7b7c95319eb5728b2e519cd96c62dc4 (patch)
treefcb1fbc9641fa71e3deaf93e69d4bb07afec0411 /gtk2_ardour/midi_region_view.h
parent95bb346926e237b903059c83a70e58ed9253eaca (diff)
Add menu option to insert program changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8330 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h5
1 files changed, 3 insertions, 2 deletions
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.