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.h | |
parent | 4258a349121392516543486bd9de6f13fe3f3331 (diff) |
leftmost_position => leftmost_sample, current_page_frames => current_page_samples
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 8cea1e10f8..8063e79b76 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -147,9 +147,9 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void first_idle (); virtual bool have_idled () const { return _have_idled; } - framepos_t leftmost_position() const { return leftmost_frame; } + framepos_t leftmost_sample() const { return leftmost_frame; } - framecnt_t current_page_frames() const { + framecnt_t current_page_samples() const { return (framecnt_t) floor (_visible_canvas_width * frames_per_pixel); } |