Logo Search packages:      
Sourcecode: ardour version File versions

void ImageFrameTimeAxisView::remove_selected_imageframe_item ( void *  src  ) 

Removes the currently selected ImageFrameTimeAxisGroup

Parameters:
src the identity of the object that initiated the change
See also:
add_imageframe_group
Removes the currently selected ImageFrame view item

Parameters:
src the identity of the object that initiated the change
See also:
add_imageframe_group

Definition at line 426 of file imageframe_time_axis_view.cc.

References clear_selected_imageframe_item(), ImageFrameTimeAxisGroup::remove_imageframe_item(), TimeAxisViewItem::remove_this_item(), selected_imageframe_group, and selected_imageframe_view.

Referenced by ImageFrameTimeAxis::create_imageframe_menu().

{
      if(selected_imageframe_group && selected_imageframe_view)
      {
            ImageFrameView* temp_item = selected_imageframe_view ;
            selected_imageframe_group->remove_imageframe_item(temp_item, src) ;
            
            // XXX although we have removed the item from the group, we need the group id still set within the
            //     item as the remove method requires this data when telling others about the deletion
            //     to fully specify the item we need the track, group and item id
            selected_imageframe_view->remove_this_item(src) ;
            clear_selected_imageframe_item(false) ;
      }
}


Generated by  Doxygen 1.6.0   Back to index