diff options
author | Robin Gareus <robin@gareus.org> | 2017-01-12 18:22:56 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-12 18:22:56 +0100 |
commit | c6464e9c34864b9b2347fb7b6ac50261991da8aa (patch) | |
tree | a5cf4dfdebd408ea48b2b4b0f35e2857a853a05f /gtk2_ardour/public_editor.h | |
parent | c9715af5d9b505eb0e66fa514bcede4cc5bfd323 (diff) |
Move some actions into the global group:
This allows common keyboard shortcuts from any Tab (Editor, Mixer).
Discuss: should those actions/methods also be moved to ArdourUI instead of
PublicEditor?
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 54abee9213..4220ddbb72 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -192,6 +192,10 @@ class PublicEditor : public Gtkmm2ext::Tabbable { */ virtual void consider_auditioning (boost::shared_ptr<ARDOUR::Region> r) = 0; + /* import dialogs -> ardour-ui ?! */ + virtual void external_audio_dialog () = 0; + virtual void session_import_dialog () = 0; + virtual void new_region_from_selection () = 0; virtual void separate_region_from_selection () = 0; @@ -218,6 +222,9 @@ class PublicEditor : public Gtkmm2ext::Tabbable { virtual void set_loop_range (framepos_t start, framepos_t end, std::string cmd) = 0; virtual void set_punch_range (framepos_t start, framepos_t end, std::string cmd) = 0; + virtual void jump_forward_to_mark () = 0; + virtual void jump_backward_to_mark () = 0; + virtual Editing::MouseMode effective_mouse_mode () const = 0; /** Import existing media */ @@ -256,9 +263,9 @@ class PublicEditor : public Gtkmm2ext::Tabbable { virtual void set_selected_mixer_strip (TimeAxisView&) = 0; virtual void hide_track_in_display (TimeAxisView* tv, bool apply_to_selection = false) = 0; - virtual void set_stationary_playhead (bool yn) = 0; - virtual void toggle_stationary_playhead () = 0; - virtual bool stationary_playhead() const = 0; + virtual void set_stationary_playhead (bool yn) = 0; + virtual void toggle_stationary_playhead () = 0; + virtual bool stationary_playhead() const = 0; /** Set whether the editor should follow the playhead. * @param yn true to follow playhead, otherwise false. |