Logo Search packages:      
Sourcecode: ardour version File versions

ImageFrameTimeAxis::ImageFrameTimeAxis ( const string &  track_id,
PublicEditor &  ed,
ARDOUR::Session &  sess,
ArdourCanvas::Canvas canvas 
)

Constructs a new ImageFrameTimeAxis.

Parameters:
track_id the track name/id
ed the PublicEditor
sess the current session
canvas the parent canvas item

Definition at line 61 of file imageframe_time_axis.cc.

References create_imageframe_menu(), VisualTimeAxis::label_view(), set_height(), and AxisView::unique_random_color().

      : AxisView(sess),
        VisualTimeAxis(track_id, ed, sess, canvas)
{
      _color = unique_random_color() ;
      
      selection_group = new ArdourCanvas::Group (*canvas_display);
      selection_group->hide();

      // intialize our data items
      _marked_for_display = true;
      y_position = -1 ;

      /* create our new image frame view */
      view = new ImageFrameTimeAxisView(*this) ;
      
      /* create the Image Frame Edit Menu */
      create_imageframe_menu() ;
      
      // set the initial time axis text label
      label_view() ;
            
      // set the initial height of this time axis
      set_height(Normal) ;
}


Generated by  Doxygen 1.6.0   Back to index