diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-08 20:01:55 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-08 20:01:55 +0000 |
commit | b7ec5b4b4014afc44d24876899d3741dfa45345e (patch) | |
tree | ebb45133333ebb44087171397a7a350b151aed30 /gtk2_ardour/rc_option_editor.cc | |
parent | ce9035388b804a854c02ac60cc9c5e33e35ab28c (diff) |
Option to colour region background using the track colour (#3759).
git-svn-id: svn://localhost/ardour2/branches/3.0@8778 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 a19e8e96d2..767e235536 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1049,6 +1049,14 @@ RCOptionEditor::RCOptionEditor () sigc::mem_fun (*_rc_config, &RCConfiguration::set_show_zoom_tools) )); + add_option (_("Editor"), + new BoolOption ( + "color-regions-using-track-color", + _("Color regions using their track's color"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_color_regions_using_track_color), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_color_regions_using_track_color) + )); + /* AUDIO */ add_option (_("Audio"), new OptionEditorHeading (_("Buffering"))); |