Logo Search packages:      
Sourcecode: ardour version File versions

void VisualTimeAxis::set_time_axis_name ( const string &  name,
void *  src 
) [virtual]

Sets the name of this TimeAxis

Parameters:
name the new name of this TimeAxis
src the identity of the object that initiated the change

Definition at line 124 of file visual_time_axis.cc.

References label_view(), NameChanged, and time_axis_name.

Referenced by ImageFrameSocketHandler::handle_rename_imageframe_time_axis(), and start_time_axis_rename().

{
      std::string old_name = time_axis_name ;
      
      if(name != time_axis_name)
      {
            time_axis_name = name ;
            label_view() ;
            editor.route_name_changed(this) ;
      
             NameChanged(time_axis_name, old_name, src) ; /* EMIT_SIGNAL */
      }
}


Generated by  Doxygen 1.6.0   Back to index