A different fix for record crash, use pixfufs instead of canvas text in markers, use leftmost_frame instead of querying canvas coords when scrolling (speeds up canvas scrolling somewhat), remove old include, remove first_action_message and some other unused methods.

git-svn-id: svn://localhost/ardour2/branches/3.0@5108 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Nick Mainsbridge 2009-05-21 17:30:45 +00:00
parent d1ee2a06ca
commit 882e3a690a
9 changed files with 113 additions and 99 deletions

View file

@ -300,7 +300,6 @@ Editor::Editor ()
_show_measures = true;
_show_waveforms = true;
_show_waveforms_recording = true;
first_action_message = 0;
show_gain_after_trim = false;
route_redisplay_does_not_sync_order_keys = false;
route_redisplay_does_not_reset_order_keys = false;
@ -1255,10 +1254,6 @@ Editor::connect_to_session (Session *t)
session->request_locate (playhead_cursor->current_frame);
if (first_action_message) {
first_action_message->hide();
}
update_title ();
session->GoingAway.connect (mem_fun(*this, &Editor::session_going_away));
@ -4721,6 +4716,7 @@ Editor::post_zoom ()
}
}
leftmost_frame = (nframes64_t) floor (horizontal_adjustment.get_value() * frames_per_unit);
ZoomChanged (); /* EMIT_SIGNAL */