summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-08 19:13:36 +0000
committerDavid Robillard <d@drobilla.net>2007-08-08 19:13:36 +0000
commit430bc18ba29ca4cb0d60fc9da53c88661b690920 (patch)
treed1a005debbf0e05bd0d89c73f9d92c2efffd9601 /gtk2_ardour/public_editor.h
parent7caaa6a0e993489e7b968abc6aa7eb86745173a8 (diff)
First appearance of MIDI edit tool bar. Toggles when delete held, but otherwise still useless, pending some UI figuring out...
git-svn-id: svn://localhost/ardour2/trunk@2275 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index 97618dcbc2..5031387290 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -145,6 +145,18 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulThingWithGoingAway
* (defined in editing_syms.h)
*/
virtual Editing::MouseMode current_mouse_mode () const = 0;
+
+ /** Set the midi edit mode (select, pencil, 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 Editing::MidiEditMode current_midi_edit_mode () const = 0;
/** Possibly start the audition of a region. If \ref r is 0, or not an AudioRegion
* any current audition is cancelled. If we are currently auditioning \ref r,