summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r--gtk2_ardour/ghostregion.h6
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__ */