diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-15 14:03:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-15 14:03:19 +0000 |
commit | b02e95f201a6c665e7f1d529b558dca2f4a6924e (patch) | |
tree | 4bbdea4bc5433724c664227028ff07d26f693d2c /gtk2_ardour/rc_option_editor.cc | |
parent | 020e4a89dc6806a6fc3dd7ffe0dd7cc52ef91c8b (diff) |
make region gain line visibility global, not per-region
git-svn-id: svn://localhost/ardour2/branches/3.0@11492 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 3b08cab69e..3a465c0b28 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1055,6 +1055,14 @@ RCOptionEditor::RCOptionEditor () sigc::mem_fun (*_rc_config, &RCConfiguration::set_show_waveforms) )); + add_option (_("Editor"), + new BoolOption ( + "show-region-gain-envelopes", + _("Show gain envelopes in audio regions"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_show_region_gain), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_show_region_gain) + )); + ComboOption<WaveformScale>* wfs = new ComboOption<WaveformScale> ( "waveform-scale", _("Waveform scale"), |