ImageFrameTimeAxisGroup* item_group,
double spu,
Gdk::Color& basic_color,
- nframes_t start,
- nframes_t duration,
+ framepos_t start,
+ framecnt_t duration,
unsigned char* rgb_data,
uint32_t width,
uint32_t height,
set_position(start, this);
set_duration(duration, this);
- MarkerView::CatchDeletion.connect (*this, ui_bind (&ImageFrameView::remove_marker_view_item, this, _1), gui_context());
+ MarkerView::CatchDeletion.connect (*this, boost::bind (&ImageFrameView::remove_marker_view_item, this, _1), gui_context());
}
/**
* @return true if the position change was a success, false otherwise
*/
bool
-ImageFrameView::set_position(nframes64_t pos, void* src, double* delta)
+ImageFrameView::set_position(framepos_t pos, void* src, double* delta)
{
- nframes64_t old_pos = frame_position;
+ framepos_t old_pos = frame_position;
// do the standard stuff
bool ret = TimeAxisViewItem::set_position(pos, src, delta);
{
// calculate the offset of the marker
MarkerView* mv = (MarkerView*)*i;
- nframes64_t marker_old_pos = mv->get_position();
+ framepos_t marker_old_pos = mv->get_position();
mv->set_position(pos + (marker_old_pos - old_pos), src);
}
* @return true if the duration change was succesful, false otherwise
*/
bool
-ImageFrameView::set_duration(nframes64_t dur, void* src)
+ImageFrameView::set_duration(framepos_t dur, void* src)
{
/* do the standard stuff */
bool ret = TimeAxisViewItem::set_duration(dur, src);