diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-22 11:41:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-22 11:41:05 -0400 |
commit | 6a5d805b383cd71bb1d0984964439c5ec08e9270 (patch) | |
tree | d551b417d1dbc026376207a94b4933a0b824797b /gtk2_ardour/ghostregion.h | |
parent | f0933bf00551ce998ca441aa5611d27702f6e590 (diff) |
more canvas refactoring.
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
Diffstat (limited to 'gtk2_ardour/ghostregion.h')
-rw-r--r-- | gtk2_ardour/ghostregion.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h index 851c5502f8..85b6d96ed1 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<void,GhostRegion*> CatchDeletion; @@ -73,7 +73,7 @@ class MidiGhostRegion : public GhostRegion { public: class GhostEvent : public sigc::trackable { public: - GhostEvent(::NoteBase *, ArdourCanvas::Layout *); + GhostEvent(::NoteBase *, ArdourCanvas::Container *); virtual ~GhostEvent (); NoteBase* event; |