X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fghostregion.h;h=64211669d12511bb7a7a49f45d990c1af41e1d99;hb=364022a35a798d4819fea149e2393f73297af3f6;hp=851c5502f81881c5a240f6742aff62a9e882a6f5;hpb=ff46a3c3a216afc97fee0c796ac2eaa92d58becb;p=ardour.git diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h index 851c5502f8..64211669d1 100644 --- a/gtk2_ardour/ghostregion.h +++ b/gtk2_ardour/ghostregion.h @@ -36,7 +36,7 @@ class TimeAxisView; class GhostRegion : public sigc::trackable { public: - GhostRegion(ArdourCanvas::Layout* parent, TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos); + GhostRegion(ArdourCanvas::Container* parent, TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos); virtual ~GhostRegion(); virtual void set_samples_per_pixel (double) = 0; @@ -52,7 +52,7 @@ public: TimeAxisView& trackview; /** TimeAxisView that we are a ghost for */ TimeAxisView& source_trackview; - ArdourCanvas::Layout* group; + ArdourCanvas::Container* group; ArdourCanvas::Rectangle* base_rect; static PBD::Signal1 CatchDeletion; @@ -73,11 +73,11 @@ class MidiGhostRegion : public GhostRegion { public: class GhostEvent : public sigc::trackable { public: - GhostEvent(::NoteBase *, ArdourCanvas::Layout *); + GhostEvent(::NoteBase *, ArdourCanvas::Container *); virtual ~GhostEvent (); NoteBase* event; - ArdourCanvas::Rectangle* rect; + ArdourCanvas::Item* item; }; MidiGhostRegion(TimeAxisView& tv, TimeAxisView& source_tv, double initial_unit_pos);