Apply patch from mantis 2761 from tinram to add padding and make a string translatable.
[ardour.git] / gtk2_ardour / region_view.h
index df62cf9b6e56f9e9e5239a632f927e8844cede2e..98329ee77bd74e03e72e2d3772d28651d9a71003 100644 (file)
@@ -42,7 +42,7 @@ class RegionView : public TimeAxisViewItem
 {
   public:
        RegionView (ArdourCanvas::Group* parent, 
-                   TimeAxisViewPtr        time_view,
+                   TimeAxisView&        time_view,
                    boost::shared_ptr<ARDOUR::Region> region,
                    double               samples_per_unit,
                    Gdk::Color const &   basic_color);
@@ -77,8 +77,8 @@ class RegionView : public TimeAxisViewItem
        
        virtual void region_changed (ARDOUR::Change);
        
-       virtual GhostRegion* add_ghost (TimeAxisViewPtr) = 0;
-       void remove_ghost_in (TimeAxisViewPtr);
+       virtual GhostRegion* add_ghost (TimeAxisView&) = 0;
+       void remove_ghost_in (TimeAxisView&);
        void remove_ghost (GhostRegion*);
        
        uint32_t get_fill_color ();
@@ -97,7 +97,7 @@ class RegionView : public TimeAxisViewItem
      * to the TimeAxisViewItem parent class
      */
     RegionView (ArdourCanvas::Group *, 
-               TimeAxisViewPtr,
+               TimeAxisView&,
                boost::shared_ptr<ARDOUR::Region>,
                double samples_per_unit,
                Gdk::Color const & basic_color,