X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fimageframe_view.h;h=db83264e46764061a3efbc383f3da05cb2780713;hb=bed58e9f372a6c2671e9f072c19a4c77d06c4292;hp=d29ba3deb060478bb85b8283eb96fd0099629343;hpb=3ff9964885eee5f7654e5ae562cadfaa1e998fe9;p=ardour.git diff --git a/gtk2_ardour/imageframe_view.h b/gtk2_ardour/imageframe_view.h index d29ba3deb0..db83264e46 100644 --- a/gtk2_ardour/imageframe_view.h +++ b/gtk2_ardour/imageframe_view.h @@ -15,14 +15,13 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id$ */ #ifndef __gtk_ardour_imageframe_view_h__ #define __gtk_ardour_imageframe_view_h__ #include -#include +#include #include #include #include @@ -60,14 +59,14 @@ 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, double spu, Gdk::Color& base_color, - jack_nframes_t start, - jack_nframes_t duration, + nframes_t start, + nframes_t duration, unsigned char* rgb_data, uint32_t width, uint32_t height, @@ -91,7 +90,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(nframes_t pos, void* src, double* delta = 0) ; /** * Sets the duration of this item @@ -100,7 +99,7 @@ class ImageFrameView : public TimeAxisViewItem * @param src the identity of the object that initiated the change * @return true if the duration change was succesful, false otherwise */ - virtual bool set_duration(jack_nframes_t dur, void* src) ; + virtual bool set_duration(nframes_t dur, void* src) ; //---------------------------------------------------------------------------------------// // Parent Component Methods @@ -150,7 +149,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 +166,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) ; //---------------------------------------------------------------------------------//