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/region_view.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/region_view.h')
-rw-r--r-- | gtk2_ardour/region_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h index 1c34d29360..0837c075f0 100644 --- a/gtk2_ardour/region_view.h +++ b/gtk2_ardour/region_view.h @@ -49,7 +49,7 @@ namespace ArdourCanvas { class RegionView : public TimeAxisViewItem { public: - RegionView (ArdourCanvas::Layout* parent, + RegionView (ArdourCanvas::Container* parent, TimeAxisView& time_view, boost::shared_ptr<ARDOUR::Region> region, double samples_per_pixel, @@ -128,7 +128,7 @@ class RegionView : public TimeAxisViewItem /** Allows derived types to specify their visibility requirements * to the TimeAxisViewItem parent class */ - RegionView (ArdourCanvas::Layout *, + RegionView (ArdourCanvas::Container *, TimeAxisView&, boost::shared_ptr<ARDOUR::Region>, double samples_per_pixel, |