diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-19 15:23:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-19 15:23:51 +0000 |
commit | efab36a85e4a462716f2d7f4d0f12a12e45b4a75 (patch) | |
tree | 4429f423ed660f9cf85e183d4ccbd141cb09ac25 /gtk2_ardour/public_editor.h | |
parent | c43f1d22c8f308169a9b99a2b53b045c81044195 (diff) |
new mouse mode (Draw (notes)); switch into internal mode when draw is selected; notably improve use of dbl-click to enter and exist internal/note edit mode
git-svn-id: svn://localhost/ardour2/branches/3.0@11269 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index ecaa77880b..7a755b614f 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -176,6 +176,15 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible { virtual void set_internal_edit (bool yn) = 0; + /** Driven by a double-click, switch in or out of 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. + */ + + virtual bool toggle_internal_editing_from_double_click (GdkEvent*) = 0; + /** @return Whether editing is currently in "internal" mode or not */ |