summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-05-10 03:15:50 +1000
committernick_m <mainsbridge@gmail.com>2015-05-10 03:15:50 +1000
commit13f34f392248e6457d1afed010fcdcbfda890328 (patch)
tree988dd9f155925ecb0f205a4929e33a2c1735dc03 /gtk2_ardour/rc_option_editor.cc
parent79c0373b32879e41443b8f3948633b2f2fbffbc4 (diff)
Layering - the return of "later is higher".
Currently we don't do anything special on layering prefs change (relayer only occurs when each playlist is first edited). The idea here is that "undo" is still available to restore previous layering in case of any surprises.
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 2e42e0bad5..bcefc1260b 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -1678,6 +1678,17 @@ RCOptionEditor::RCOptionEditor ()
add_option (_("Editor"), bco);
+ ComboOption<LayerModel>* lm = new ComboOption<LayerModel> (
+ "layer-model",
+ _("Layering model"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_layer_model),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_layer_model)
+ );
+
+ lm->add (LaterHigher, _("later is higher"));
+ lm->add (Manual, _("manual layering"));
+ add_option (_("Editor"), lm);
+
add_option (_("Editor"),
new BoolOption (
"rubberbanding-snaps-to-grid",