diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-28 04:00:38 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-28 04:00:38 +0000 |
commit | c75b17e3bab17b852ab69868bbfdffd7ad1f73bf (patch) | |
tree | 06d25a67352757a16ee1592e1bc23de49e19c564 /gtk2_ardour/ghostregion.h | |
parent | 60f48d24f40e6d73b1ccf5dc2885d45570626212 (diff) |
Update ghost MIDI regions in automation tracks when zoom changes. Fixes #3803.
git-svn-id: svn://localhost/ardour2/branches/3.0@8985 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r-- | gtk2_ardour/ghostregion.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h index f0198e3b17..a4e4b893f1 100644 --- a/gtk2_ardour/ghostregion.h +++ b/gtk2_ardour/ghostregion.h @@ -113,11 +113,17 @@ public: void add_note(ArdourCanvas::CanvasNote*); void add_hit(ArdourCanvas::CanvasHit*); + void update_note (ArdourCanvas::CanvasNote *); void clear_events(); +private: + + MidiGhostRegion::Event* find_event (ArdourCanvas::CanvasNote *); + typedef std::list<MidiGhostRegion::Event*> EventList; EventList events; + EventList::iterator _optimization_iterator; }; #endif /* __ardour_gtk_ghost_region_h__ */ |