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

ImageFrameTimeAxisGroup * ImageFrameTimeAxisView::get_named_imageframe_group ( std::string  group_id  ) 

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

Parameters:
group_id the unique id of the group to search for
Returns:
the named ImageFrameTimeAxisGroup, or 0 if it is not held upon this view

Definition at line 232 of file imageframe_time_axis_view.cc.

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

{
      ImageFrameTimeAxisGroup* iftag =  0 ;
      
      for(ImageFrameGroupList::iterator i = imageframe_groups.begin(); i != imageframe_groups.end(); ++i)
      {
            if (((ImageFrameTimeAxisGroup*)*i)->get_group_name() == group_id)
            {
                  iftag = ((ImageFrameTimeAxisGroup*)*i) ;
                  break ;
            }
      }
      
      return(iftag) ;
}


Generated by  Doxygen 1.6.0   Back to index