diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:21:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-12 11:21:12 -0400 |
commit | 8877199ae052a33c68541dd610dba385645c6e1e (patch) | |
tree | e47efdbc0dad4e900df339562e77bcf56e8c55c3 /gtk2_ardour/editor_tempodisplay.cc | |
parent | 4258a349121392516543486bd9de6f13fe3f3331 (diff) |
leftmost_position => leftmost_sample, current_page_frames => current_page_samples
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 0a84bcbf26..30aab87d05 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -117,7 +117,7 @@ Editor::tempo_map_changed (const PropertyChange& /*ignored*/) ARDOUR::TempoMap::BBTPointList::const_iterator begin; ARDOUR::TempoMap::BBTPointList::const_iterator end; - compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_frames(), begin, end); + compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_samples(), begin, end); _session->tempo_map().apply_with_metrics (*this, &Editor::draw_metric_marks); // redraw metric markers redraw_measures (); update_tempo_based_rulers (begin, end); @@ -133,7 +133,7 @@ Editor::redisplay_tempo (bool immediate_redraw) ARDOUR::TempoMap::BBTPointList::const_iterator current_bbt_points_begin; ARDOUR::TempoMap::BBTPointList::const_iterator current_bbt_points_end; - compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_frames(), + compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_samples(), current_bbt_points_begin, current_bbt_points_end); if (immediate_redraw) { @@ -176,7 +176,7 @@ Editor::redraw_measures () ARDOUR::TempoMap::BBTPointList::const_iterator begin; ARDOUR::TempoMap::BBTPointList::const_iterator end; - compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_frames(), begin, end); + compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_samples(), begin, end); draw_measures (begin, end); return false; |