_line = new ArdourCanvas::Line (group);
_line->set_outline_color (ARDOUR_UI::config()->canvasvar_EditPoint.get());
- _line->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_marker_event), mark, this));
+ _line->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_marker_event), group, this));
}
/* work out where to start the line from so that it extends from the top of the canvas */
ArdourCanvas::Item&
Marker::the_item() const
{
- return *mark;
+ return *group;
}
void
_tempo (temp)
{
set_position (_tempo.frame());
- group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_tempo_marker_event), mark, this));
+ group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_tempo_marker_event), group, this));
}
TempoMarker::~TempoMarker ()
_meter (m)
{
set_position (_meter.frame());
- group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_meter_marker_event), mark, this));
+ group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_meter_marker_event), group, this));
}
MeterMarker::~MeterMarker ()
Group::compute_bounding_box ();
if (_bounding_box) {
- cerr << "!!!!! requesting canvas size " << _bounding_box.get() << endl;
_canvas->request_size (Duple (_bounding_box.get().width (), _bounding_box.get().height ()));
}
}