various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
[ardour.git] / gtk2_ardour / imageframe_time_axis_group.h
index c1ec26e912b8a391e919221bc163f52436a6c07e..e59d59657162e77ad444b7829b2dfabab004f100 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <gdkmm/color.h>
 
-#include <libgnomecanvas/libgnomecanvas.h>
 #include <jack/jack.h>
 #include "ardour/types.h"
 #include "imageframe_time_axis_view.h"
@@ -105,13 +104,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable
                 */
                int set_item_heights(gdouble) ;
 
-               /**
-                * Sets the current samples per unit.
-                * this method tells each item upon the time axis of the change
-                *
-                * @param spu the new samples per canvas unit value
-                */
-               int set_item_samples_per_units(gdouble spu) ;
+               int set_item_samples_per_pixel (double);
 
                /**
                 * Sets the color of the items contained uopn this view helper
@@ -263,7 +256,7 @@ class ImageFrameTimeAxisGroup : public sigc::trackable
                 * convenience method to re-get the samples per unit and tell items upon this view
                 *
                 */
-               void reset_samples_per_unit() ;
+               void reset_samples_per_pixel ();
 
                /**
                 * Callback used to remove this group during the gtk idle loop