summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-07-27 15:42:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-07-27 15:42:14 +0000
commit32b2ddd24a81dae469fd4b936dc20c5514b1f78a (patch)
treebb91bc925c839bbaeb6a454376f08250e1b1530f /gtk2_ardour/midi_time_axis.h
parentece5093234e4c185cf536d2b4e5edfeb90622409 (diff)
catch the step edit region if it goes away and prepare to use a new one; step edit insert position starts at the edit point, not the start of the edited region
git-svn-id: svn://localhost/ardour2/branches/3.0@7515 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r--gtk2_ardour/midi_time_axis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h
index b118b9ab63..0ed44b96c0 100644
--- a/gtk2_ardour/midi_time_axis.h
+++ b/gtk2_ardour/midi_time_axis.h
@@ -136,6 +136,9 @@ class MidiTimeAxisView : public RouteTimeAxisView
Evoral::MusicalTime step_edit_beat_pos;
boost::shared_ptr<ARDOUR::Region> step_edit_region;
MidiRegionView* step_edit_region_view;
+ void region_removed (boost::weak_ptr<ARDOUR::Region>);
+ void playlist_changed ();
+ PBD::ScopedConnection step_edit_region_connection;
Gtk::Menu* build_def_channel_menu();
void set_default_channel (int);