summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-08 23:00:00 -0500
committerDavid Robillard <d@drobilla.net>2014-12-18 20:21:01 -0500
commit5fef65538040fbac1b9edd1847a269aa925a49c9 (patch)
tree398d11d0f563c74ba15fbee3463378b4456d1d94 /gtk2_ardour/midi_time_axis.cc
parent1b89055526df4d995530c0f3debebc480c33fc41 (diff)
Remove internal edit mode and add "content" tool.
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc32
1 files changed, 0 insertions, 32 deletions
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
@@ -405,22 +405,6 @@ MidiTimeAxisView::~MidiTimeAxisView ()
}
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 ()
{
ensure_step_editor ();
@@ -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) {