redraw entire MidiStreamView after scroomer drag so that everything is redrawn
[ardour.git] / gtk2_ardour / tape_region_view.h
index 048c9bcc5bbc59fd7b54fce08c697bedf9d51e27..c0e04cd8da43a40e578168baabe6b9f8df97ca8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2006 Paul Davis 
+    Copyright (C) 2006 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 class TapeAudioRegionView : public AudioRegionView
 {
   public:
-       TapeAudioRegionView (ArdourCanvas::Group *, 
+       TapeAudioRegionView (ArdourCanvas::Group *,
                             RouteTimeAxisView&,
                             boost::shared_ptr<ARDOUR::AudioRegion>,
-                            double initial_samples_per_unit,
-                            Gdk::Color& base_color);
+                            double initial_samples_per_pixel,
+                            Gdk::Color const & base_color);
        ~TapeAudioRegionView ();
 
   protected:
-       void init (Gdk::Color& base_color, bool wait_for_waves);
+       void init (Gdk::Color const & base_color, bool wait_for_waves);
 
        void set_frame_color ();
        void update (uint32_t n);