From 166395c96b8a85d90b9785e629c739494494130f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Feb 2009 19:44:27 +0000 Subject: Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load). git-svn-id: svn://localhost/ardour2/branches/3.0@4583 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk2_ardour/midi_region_view.h') diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 5c00175cbf..d6a7695997 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -177,6 +177,9 @@ class MidiRegionView : public RegionView void move_selection(double dx, double dy); void note_dropped(ArdourCanvas::CanvasNoteEvent* ev, double d_frames, uint8_t d_note); + /** Return true iff the note is within the currently visible range */ + bool note_in_visible_range(const boost::shared_ptr note) const; + /** Get the region position in pixels relative to session. */ double get_position_pixels(); -- cgit v1.2.3