+RegionView::RegionView (const RegionView& other)
+ : TimeAxisViewItem (other)
+{
+ /* derived concrete type will call init () */
+
+ _region = other._region;
+ current_visible_sync_position = other.current_visible_sync_position;
+ valid = false;
+ _pixel_width = other._pixel_width;
+}
+
+RegionView::RegionView (const RegionView& other, boost::shared_ptr<Region> other_region)
+ : TimeAxisViewItem (other)
+{
+ /* this is a pseudo-copy constructor used when dragging regions
+ around on the canvas.
+ */
+
+ /* derived concrete type will call init () */
+
+ _region = other_region;
+ current_visible_sync_position = other.current_visible_sync_position;
+ valid = false;
+ _pixel_width = other._pixel_width;
+}
+