Logo Search packages:      
Sourcecode: ardour version File versions  Download package

ImageFrameView * ImageFrameTimeAxisGroup::get_named_imageframe_item ( const string &  frame_id  ) 

Returns the named ImageFrameView or 0 if the named view does not exist on this view helper

Parameters:
item_id the unique id of the item to search for
Returns:
the named ImageFrameView, or 0 if it is not held upon this view

Definition at line 235 of file imageframe_time_axis_group.cc.

Referenced by add_imageframe_item(), ImageFrameSocketHandler::get_imageframe_view_from_desc(), ImageFrameSocketHandler::handle_imageframe_view_duration_update(), ImageFrameSocketHandler::handle_imageframe_view_position_update(), and ImageFrameSocketHandler::handle_item_selected().

{
      ImageFrameView* ifv =  0 ;
      
      for (ImageFrameViewList::const_iterator i = imageframe_views.begin(); i != imageframe_views.end(); ++i)
      {
            if (((ImageFrameView*)*i)->get_item_name() == frame_id)
            {
                  ifv = ((ImageFrameView*)*i) ;
                  break ;
            }
      }
      return(ifv) ;
}


Generated by  Doxygen 1.6.0   Back to index