summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-27 20:21:00 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-27 20:21:00 +0000
commitf440f91849a807e9026d79c06075bbd15852cbf6 (patch)
tree5742bfbca514337cd2de0fe236a3c277b6a4e219 /gtk2_ardour/editor.h
parent86cb9348e829e61b7c1e324930882af147f504c9 (diff)
Try to make new layering stuff play nicely with undo.
git-svn-id: svn://localhost/ardour2/branches/3.0@11097 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 7f84176d61..2b03e210a9 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -1099,6 +1099,15 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void toggle_solo_isolate ();
void toggle_mute ();
void toggle_region_lock_style ();
+
+ enum LayerOperation {
+ Raise,
+ RaiseToTop,
+ Lower,
+ LowerToBottom
+ };
+
+ void do_layer_operation (LayerOperation);
void raise_region ();
void raise_region_to_top ();
void change_region_layering_order (bool from_context_menu);