summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_streamview.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-06 06:09:41 +0000
committerDavid Robillard <d@drobilla.net>2007-08-06 06:09:41 +0000
commit684ef0eb7a1ca371a1e93fdceb271aa9d40a7dae (patch)
tree0339b5326231a7f8d138b8d0200c10d633b04d4a /gtk2_ardour/midi_streamview.h
parentf68caf23ddd0bfe5c189b94f0f57b194c1e2d912 (diff)
Fix note range toggling (ie actually change visible range when menu option selected). Still some issue with initial value...
Don't raise tempo lines to top on editor canvas, they steal events. Same problem on time canvas, but harder to solve... git-svn-id: svn://localhost/ardour2/trunk@2255 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_streamview.h')
-rw-r--r--gtk2_ardour/midi_streamview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_streamview.h b/gtk2_ardour/midi_streamview.h
index 6ba2b7146f..567844e678 100644
--- a/gtk2_ardour/midi_streamview.h
+++ b/gtk2_ardour/midi_streamview.h
@@ -66,7 +66,7 @@ class MidiStreamView : public StreamView
};
VisibleNoteRange note_range() { return _range; }
- void set_note_range(VisibleNoteRange r) { _range = r; }
+ void set_note_range(VisibleNoteRange r);
uint8_t lowest_note() const { return (_range == FullRange) ? 0 : _lowest_note; }
uint8_t highest_note() const { return (_range == FullRange) ? 127 : _highest_note; }