r228@gwythaint (orig r768): fugalh | 2006-08-09 08:14:55 -0600
[ardour.git] / gtk2_ardour / imageframe_view.h
index a49f7c920099e84889f96b56973b00fd944833eb..5ae8aaded6665adf62004fba84c62c508b1f7f58 100644 (file)
@@ -60,7 +60,7 @@ class ImageFrameView : public TimeAxisViewItem
                 * @param height the width of the origianl rgb_data image data
                 * @param num_channels the number of color channels within rgb_data
                 */
-               ImageFrameView(std::string item_id,
+               ImageFrameView(const std::string & item_id,
                         ArdourCanvas::Group *parent,
                        ImageFrameTimeAxis *tv,
                        ImageFrameTimeAxisGroup* group,
@@ -91,7 +91,7 @@ class ImageFrameView : public TimeAxisViewItem
                 * @param src the identity of the object that initiated the change
                 * @return true if the position change was a success, false otherwise
                 */
-               virtual bool set_position(jack_nframes_t pos, void* src) ;
+               virtual bool set_position(jack_nframes_t pos, void* src, double* delta = 0) ;
                
                /**
                 * Sets the duration of this item
@@ -150,7 +150,7 @@ class ImageFrameView : public TimeAxisViewItem
                 * @param src the identity of the object that initiated the change
                 * @return the removed marker item
                 */
-               MarkerView* remove_named_marker_view_item(std::string markId, void* src) ;
+               MarkerView* remove_named_marker_view_item(const std::string & markId, void* src) ;
                
                /**
                 * Removes item from the list of marker views assocaited with this item
@@ -167,7 +167,7 @@ class ImageFrameView : public TimeAxisViewItem
                 *
                 * @param markId the id/name of the item to search for
                 */
-               bool has_marker_view_item(std::string markId) ;
+               bool has_marker_view_item(const std::string & markId) ;
 
                
                //---------------------------------------------------------------------------------//