diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2014-04-30 21:17:49 +0000 |
---|---|---|
committer | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2014-05-01 20:02:19 +0200 |
commit | 3fa8127d5879d59e1f9aac51af10a3474d8fd611 (patch) | |
tree | c13d352e818443dddf3fb8c32e418e8f223df9be /gtk2_ardour | |
parent | 17702278345e6ab728623038fa6c0b6811cdbc78 (diff) |
Add ComboOption configuration for default-fade-shape
Let the user choose the preferred default fade shape in the editor
section of the preference menu.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 940a601ce9..378057b1b3 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1569,6 +1569,25 @@ RCOptionEditor::RCOptionEditor () sigc::mem_fun (*_rc_config, &RCConfiguration::set_show_editor_meter) )); + ComboOption<FadeShape>* fadeshape = new ComboOption<FadeShape> ( + "default-fade-shape", + _("Default fade shape"), + sigc::mem_fun (*_rc_config, + &RCConfiguration::get_default_fade_shape), + sigc::mem_fun (*_rc_config, + &RCConfiguration::set_default_fade_shape) + ); + + fadeshape->add (FadeLinear, + _("Linear (for highly correlated material)")); + fadeshape->add (FadeConstantPower, _("Constant power")); + fadeshape->add (FadeSymmetric, _("Symmetric")); + fadeshape->add (FadeSlow, _("Slow")); + fadeshape->add (FadeFast, _("Fast")); + + add_option (_("Editor"), fadeshape); + + bco = new BoolComboOption ( "use-overlap-equivalency", _("Regions in active edit groups are edited together"), |