diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-28 20:51:28 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-28 20:51:28 +0000 |
commit | 3ae28868ff02abf44102fff9954e7e8d6359867f (patch) | |
tree | 6202724eba77a9844d9079614c5ea91f91c110e5 /gtk2_ardour/public_editor.h | |
parent | 5eaf61242f16c7638c0e71a9c82af5a781c24e87 (diff) |
remove all MIDI-specific editing modes by making standard work either at object level or within (e.g. notes, etc) ; make tool buttons proxies for GtkActions ; internal sends have their own BufferSet now, instead of using Session ones; don't make internal sends to the monitor bus active when added to the Route
git-svn-id: svn://localhost/ardour2/branches/3.0@5434 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 7171edf98d..4d40e1c11e 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -150,19 +150,19 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulThingWithGoingAway * (defined in editing_syms.h) */ virtual Editing::MouseMode current_mouse_mode () const = 0; + + /** Switch into a mode in which editing is primarily focused on "within" regions, + rather than regions as black-box objects. For Ardour3, this is aimed at + editing MIDI regions but may expand in the future to other types of regions. + */ - /** Set the midi edit mode (pencil, select, eraser, etc.) - * @param m Midi edit mode (defined in editing_syms.h) - * @param force Perform the effects of the change even if no change is required - * (ie even if the current midi edit mode is equal to \ref m) - */ - virtual void set_midi_edit_mode (Editing::MidiEditMode m, bool force = false) = 0; - - /** @return The current mouse mode (gain, object, range, timefx etc.) - * (defined in editing_syms.h) + virtual void set_internal_edit (bool yn) = 0; + + /** @return Whether editing is currently in "internal" mode or not */ - virtual Editing::MidiEditMode current_midi_edit_mode () const = 0; - + + virtual bool internal_editing() const = 0; + /** @return Sound edited notes in MIDI regions while editing */ virtual bool sound_notes () const = 0; |