diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /gtk2_ardour/editor_cursors.h | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
Diffstat (limited to 'gtk2_ardour/editor_cursors.h')
-rw-r--r-- | gtk2_ardour/editor_cursors.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_cursors.h b/gtk2_ardour/editor_cursors.h index f6d4997690..4b8b4b67da 100644 --- a/gtk2_ardour/editor_cursors.h +++ b/gtk2_ardour/editor_cursors.h @@ -36,7 +36,7 @@ public: EditorCursor (Editor&); ~EditorCursor (); - void set_position (framepos_t); + void set_position (samplepos_t); void show (); @@ -44,20 +44,20 @@ public: void set_color (Gtkmm2ext::Color); void set_sensitive (bool); - framepos_t current_frame () const { - return _current_frame; + samplepos_t current_sample () const { + return _current_sample; } ArdourCanvas::Arrow& track_canvas_item () { return *_track_canvas_item; } - PBD::Signal1<void, framepos_t> PositionChanged; + PBD::Signal1<void, samplepos_t> PositionChanged; private: Editor& _editor; ArdourCanvas::Arrow* _track_canvas_item; - framepos_t _current_frame; + samplepos_t _current_sample; }; #endif // __gtk_ardour_editor_cursors_h__ |