summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-26 08:43:53 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-26 08:43:53 -0500
commitc04285addf47b71c4046a97de231cab88edd5241 (patch)
tree7fd4d9fd63ee4abe9ef7ad51f027237ee0902671 /gtk2_ardour/editor.h
parent0c283ba657d161e6380ae055d54aa45453aa7013 (diff)
convert canvas_event_frame() and window_event_frame() to canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 186014e350..224f113ddf 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -1837,12 +1837,12 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
/** computes the timeline frame (sample) of an event whose coordinates
* are in canvas units (pixels, scroll offset included).
*/
- framepos_t canvas_event_frame (GdkEvent const *, double* px = 0, double* py = 0) const;
+ framepos_t canvas_event_sample (GdkEvent const *, double* px = 0, double* py = 0) const;
/** computes the timeline frame (sample) of an event whose coordinates
* are in window units (pixels, no scroll offset).
*/
- framepos_t window_event_frame (GdkEvent const *, double* px = 0, double* py = 0) const;
+ framepos_t window_event_sample (GdkEvent const *, double* px = 0, double* py = 0) const;
/* returns false if mouse pointer is not in track or marker canvas
*/