summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-04 18:45:27 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-04 18:45:27 -0400
commit19bd6419157119b976393a0c5966b4be4c962119 (patch)
treebf27f7ea6402f39a0f3744ed6b298d91ed7f7c0e /gtk2_ardour/ghostregion.h
parentaaea166135ace01709f7e0be64f40be80f4107ec (diff)
commit immediately post linking
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r--gtk2_ardour/ghostregion.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h
index 384127150a..646de24dfc 100644
--- a/gtk2_ardour/ghostregion.h
+++ b/gtk2_ardour/ghostregion.h
@@ -72,12 +72,12 @@ public:
class MidiGhostRegion : public GhostRegion {
public:
class GhostEvent : public sigc::trackable {
- public:
+ public:
GhostEvent(::NoteBase *, ArdourCanvas::Group *);
- virtual ~GhostEvent () {}
-
- NoteBase* event;
- ArdourCanvas::Rectangle* rect;
+ virtual ~GhostEvent ();
+
+ NoteBase* event;
+ ArdourCanvas::Rectangle* rect;
};
MidiGhostRegion(TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos);
@@ -92,15 +92,15 @@ public:
void update_range();
- void add_note(Note*);
- void update_note (Note*);
- void remove_note (Note*);
+ void add_note(NoteBase*);
+ void update_note (NoteBase*);
+ void remove_note (NoteBase*);
void clear_events();
private:
- MidiGhostRegion::Event* find_event (Note*);
+ MidiGhostRegion::GhostEvent* find_event (NoteBase*);
typedef std::list<MidiGhostRegion::GhostEvent*> EventList;
EventList events;