summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-28 07:09:21 +0000
committerDavid Robillard <d@drobilla.net>2007-07-28 07:09:21 +0000
commit6e167cb1a835cb0b44990cc4c2b2a47db9dd2b9e (patch)
treee31d6aac9c2ca21a46f18a24822b47c2003aee4c /gtk2_ardour/midi_time_axis.cc
parent71452634a711cfeae4cf7eb9fbe7667210a071f1 (diff)
Playback from MIDI model, playback of clicked-in events.
Note the diskstream chunk size affects reading of clicked-in, so you may need to seek away and back again to have new events read (this will be fixed). git-svn-id: svn://localhost/ardour2/trunk@2183 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index fb3d67913d..9c2808e07c 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -206,15 +206,15 @@ MidiTimeAxisView::build_mode_menu()
mode_menu->set_name ("ArdourContextMenu");
RadioMenuItem::Group mode_group;
- items.push_back (RadioMenuElem (mode_group, _("Note"),
- bind (mem_fun (*this, &MidiTimeAxisView::set_note_mode), Note)));
+ items.push_back (RadioMenuElem (mode_group, _("Sustained"),
+ bind (mem_fun (*this, &MidiTimeAxisView::set_note_mode), Sustained)));
_note_mode_item = dynamic_cast<RadioMenuItem*>(&items.back());
- _note_mode_item->set_active(_note_mode == Note);
+ _note_mode_item->set_active(_note_mode == Sustained);
- items.push_back (RadioMenuElem (mode_group, _("Percussion"),
- bind (mem_fun (*this, &MidiTimeAxisView::set_note_mode), Percussion)));
+ items.push_back (RadioMenuElem (mode_group, _("Percussive"),
+ bind (mem_fun (*this, &MidiTimeAxisView::set_note_mode), Percussive)));
_percussion_mode_item = dynamic_cast<RadioMenuItem*>(&items.back());
- _percussion_mode_item->set_active(_note_mode == Percussion);
+ _percussion_mode_item->set_active(_note_mode == Percussive);
return mode_menu;
}