diff options
author | David Robillard <d@drobilla.net> | 2007-07-28 09:01:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-28 09:01:19 +0000 |
commit | 633d9131af0a04bed812ce75e9f1da07fe7dfcd4 (patch) | |
tree | 989f907ffa7a8c4829160946e49f503c4e3a903c /libs/ardour/ardour/midi_playlist.h | |
parent | 6e167cb1a835cb0b44990cc4c2b2a47db9dd2b9e (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/midi_playlist.h')
-rw-r--r-- | libs/ardour/ardour/midi_playlist.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<Region>); + + 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<Region>); + + NoteMode _note_mode; }; } /* namespace ARDOUR */ |