X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_cursors.h;h=4b8b4b67dac0a0e98d17b0afa61ca767b37590ea;hb=c46cd91d0eca0e060d3efed5162c8a5205567274;hp=f6d4997690d42d7be8ddb6bc3a8e6ef9155d43a3;hpb=601c317d70a03190257577bd867cefc2c70d3275;p=ardour.git 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 PositionChanged; + PBD::Signal1 PositionChanged; private: Editor& _editor; ArdourCanvas::Arrow* _track_canvas_item; - framepos_t _current_frame; + samplepos_t _current_sample; }; #endif // __gtk_ardour_editor_cursors_h__