summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_streamview.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-28 09:01:19 +0000
committerDavid Robillard <d@drobilla.net>2007-07-28 09:01:19 +0000
commit633d9131af0a04bed812ce75e9f1da07fe7dfcd4 (patch)
tree989f907ffa7a8c4829160946e49f503c4e3a903c /gtk2_ardour/midi_streamview.cc
parent6e167cb1a835cb0b44990cc4c2b2a47db9dd2b9e (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 'gtk2_ardour/midi_streamview.cc')
-rw-r--r--gtk2_ardour/midi_streamview.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_streamview.cc b/gtk2_ardour/midi_streamview.cc
index e602c3a880..7d3c05a876 100644
--- a/gtk2_ardour/midi_streamview.cc
+++ b/gtk2_ardour/midi_streamview.cc
@@ -54,6 +54,7 @@ using namespace Editing;
MidiStreamView::MidiStreamView (MidiTimeAxisView& tv)
: StreamView (tv)
+ , _range(ContentsRange)
, _lowest_note(60)
, _highest_note(60)
{