Chris's work on the region list
[ardour.git] / gtk2_ardour / visual_time_axis.h
index 6e3629ea0650473e3058c01c4f85e1e7068fb4b0..a0dfe654de246f2f12d6a57bd46f2d0faf48d36a 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_visual_time_axis_h__
@@ -42,7 +41,7 @@ class ImageFrameView;
 class ImageFrameTimeAxisView;
 class MarkersTimeAxisView;
 class TimeSelection;
-class AudioRegionSelection;
+class RegionSelection;
 class MarkerTimeAxis;
 class TimeAxisViewStrip;
 
@@ -94,9 +93,9 @@ class VisualTimeAxis : public TimeAxisView
                /**
                 * Sets the height of this TrackView to one of the defined TrackHeghts
                 *
-                * @param h the TrackHeight value to set
+                * @param h the number of pixels to set the height to
                 */
-               virtual void set_height (TrackHeight h);        
+               virtual void set_height (uint32_t);     
 
                //---------------------------------------------------------------------------------------//
                // Selection Methods
@@ -105,7 +104,7 @@ class VisualTimeAxis : public TimeAxisView
                /**
                 * Not implemented
                 */
-               virtual void set_selected_regionviews(AudioRegionSelection&) ;
+               virtual void set_selected_regionviews(RegionSelection&) ;
        
 
                //---------------------------------------------------------------------------------//
@@ -243,10 +242,6 @@ class VisualTimeAxis : public TimeAxisView
                /** the name of this TimeAxis object */
                std::string time_axis_name ;
                
-               /** used to get a new name for this TimeAxis */
-               ArdourPrompter* name_prompter ;
-               
-               
                //---------------------------------------------------------------------------------------//
                // Super class methods not handled by VisualTimeAxis
                
@@ -255,7 +250,7 @@ class VisualTimeAxis : public TimeAxisView
                 *
                 * @todo should VisualTimeAxis handle this?
                 */
-               void show_timestretch (jack_nframes_t start, jack_nframes_t end);
+               void show_timestretch (nframes_t start, nframes_t end);
                
                /**
                 * Not handle by purely visual TimeAxis