From 5fef65538040fbac1b9edd1847a269aa925a49c9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Dec 2014 23:00:00 -0500 Subject: Remove internal edit mode and add "content" tool. --- gtk2_ardour/midi_time_axis.cc | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'gtk2_ardour/midi_time_axis.cc') diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 1d55b7dffa..b23d86194a 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -404,22 +404,6 @@ MidiTimeAxisView::~MidiTimeAxisView () delete _step_editor; } -void -MidiTimeAxisView::enter_internal_edit_mode () -{ - if (midi_view()) { - midi_view()->enter_internal_edit_mode (); - } -} - -void -MidiTimeAxisView::leave_internal_edit_mode () -{ - if (midi_view()) { - midi_view()->leave_internal_edit_mode (); - } -} - void MidiTimeAxisView::check_step_edit () { @@ -1322,10 +1306,6 @@ MidiTimeAxisView::route_active_changed () void MidiTimeAxisView::set_note_selection (uint8_t note) { - if (!_editor.internal_editing()) { - return; - } - uint16_t chn_mask = midi_track()->get_playback_channel_mask(); if (_view->num_selected_regionviews() == 0) { @@ -1342,10 +1322,6 @@ MidiTimeAxisView::set_note_selection (uint8_t note) void MidiTimeAxisView::add_note_selection (uint8_t note) { - if (!_editor.internal_editing()) { - return; - } - const uint16_t chn_mask = midi_track()->get_playback_channel_mask(); if (_view->num_selected_regionviews() == 0) { @@ -1362,10 +1338,6 @@ MidiTimeAxisView::add_note_selection (uint8_t note) void MidiTimeAxisView::extend_note_selection (uint8_t note) { - if (!_editor.internal_editing()) { - return; - } - const uint16_t chn_mask = midi_track()->get_playback_channel_mask(); if (_view->num_selected_regionviews() == 0) { @@ -1382,10 +1354,6 @@ MidiTimeAxisView::extend_note_selection (uint8_t note) void MidiTimeAxisView::toggle_note_selection (uint8_t note) { - if (!_editor.internal_editing()) { - return; - } - const uint16_t chn_mask = midi_track()->get_playback_channel_mask(); if (_view->num_selected_regionviews() == 0) { -- cgit v1.2.3