diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-02 13:38:16 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-02 13:38:16 +0000 |
commit | 988348185ece58b9af4ecc3a919e7f4862fa9a54 (patch) | |
tree | 7e5af4a639509127d075fd50c03b76261dd20d0a /gtk2_ardour/public_editor.h | |
parent | 5711425f187573caa53b040a81d39e3cca9f61f1 (diff) |
Separate verbose cursor out into its own class and clean up the API. Fixes #4010.
git-svn-id: svn://localhost/ardour2/branches/3.0@9455 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index fe27370c45..b5db8377d3 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -87,6 +87,7 @@ class ImageFrameTimeAxis; class MarkerView; class DragManager; class MouseCursors; +class VerboseCursor; using ARDOUR::framepos_t; using ARDOUR::framecnt_t; @@ -361,9 +362,6 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible { virtual TimeAxisView* axis_view_from_route (boost::shared_ptr<ARDOUR::Route>) const = 0; - virtual void show_verbose_canvas_cursor_with (const std::string& txt, int32_t xoffset = 0, int32_t yoffset = 0) = 0; - virtual void hide_verbose_canvas_cursor() = 0; - virtual void set_current_trimmable (boost::shared_ptr<ARDOUR::Trimmable>) = 0; virtual void set_current_movable (boost::shared_ptr<ARDOUR::Movable>) = 0; @@ -380,7 +378,10 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible { virtual void stop_canvas_autoscroll () = 0; virtual MouseCursors const * cursors () const = 0; + virtual VerboseCursor * verbose_cursor () const = 0; + virtual void get_pointer_position (double &, double &) const = 0; + /// Singleton instance, set up by Editor::Editor() static PublicEditor* _instance; |