Logo Search packages:      
Sourcecode: ardour version File versions

void TimeAxisViewItem::set_max_duration ( nframes_t  dur,
void *  src 
) [virtual]

Sets the maximum duration that this item make have.

Parameters:
dur the new maximum duration
src the identity of the object that initiated the change

Definition at line 366 of file time_axis_view_item.cc.

References max_item_duration, and MaxDurationChanged.

Referenced by ImageFrameSocketHandler::handle_imageframe_view_max_duration_update().

{
      max_item_duration = dur ;
      MaxDurationChanged(max_item_duration, src) ; /* EMIT_SIGNAL */
}


Generated by  Doxygen 1.6.0   Back to index