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
This commit is contained in:
Carl Hetherington 2011-02-28 04:00:38 +00:00
parent 60f48d24f4
commit c75b17e3ba
4 changed files with 73 additions and 3 deletions

View file

@ -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__ */