From 633d9131af0a04bed812ce75e9f1da07fe7dfcd4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Jul 2007 09:01:19 +0000 Subject: Use 'show contents' note range by default (fix uninitialized value). Obey note mode on playback (note offs are not sent in Percussive mode). Vary note colour/opacity with velocity (needs theization/tweaking, but hey, it's something). git-svn-id: svn://localhost/ardour2/trunk@2184 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/midi_playlist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/ardour/midi_playlist.h') diff --git a/libs/ardour/ardour/midi_playlist.h b/libs/ardour/ardour/midi_playlist.h index 3162debbd5..5838f5addd 100644 --- a/libs/ardour/ardour/midi_playlist.h +++ b/libs/ardour/ardour/midi_playlist.h @@ -53,6 +53,8 @@ public: UndoAction get_memento() const; bool destroy_region (boost::shared_ptr); + + void set_note_mode (NoteMode m) { _note_mode = m; } protected: @@ -68,6 +70,8 @@ private: void dump () const; bool region_changed (Change, boost::shared_ptr); + + NoteMode _note_mode; }; } /* namespace ARDOUR */ -- cgit v1.2.3