diff options
author | David Robillard <d@drobilla.net> | 2007-07-15 01:56:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-15 01:56:11 +0000 |
commit | 332a3d98138e94903ad9c6d35048b0201ff178c8 (patch) | |
tree | 107ac2a68b8c461a534e82d41e47fedfc5ed9178 /gtk2_ardour/midi_time_axis.h | |
parent | 74eded425a5244831c80968c1781c3f81f90e996 (diff) |
Selection of visible note range (full range vs fit contents, selectable from midi track menu).
Added note pencil tool, mock note adding (notes can be added visually but don't yet play).
Reworked MidiModel to be notes w/ duration instead of realtime style MIDI events.
Moved layering (stacked/overlaid) from auto time axis down to route time axis since it applies
to MIDI tracks as well.
git-svn-id: svn://localhost/ardour2/trunk@2128 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r-- | gtk2_ardour/midi_time_axis.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index 039affd979..a35a332e01 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -38,6 +38,7 @@ #include "enums.h" #include "route_time_axis.h" #include "canvas.h" +#include "midi_streamview.h" namespace ARDOUR { class Session; @@ -67,13 +68,15 @@ class MidiTimeAxisView : public RouteTimeAxisView void create_automation_child (ARDOUR::Parameter param, bool show); ARDOUR::NoteMode note_mode() const { return _note_mode; } - + private: + void append_extra_display_menu_items (); void build_automation_action_menu (); Gtk::Menu* build_mode_menu(); void set_note_mode(ARDOUR::NoteMode mode); + void set_note_range(MidiStreamView::VisibleNoteRange range); void route_active_changed (); |