diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-10-21 22:55:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-10-21 22:58:58 -0400 |
commit | ba4d1cd1c1d5e4b47e288cd83c81011e7399207b (patch) | |
tree | ca91dc6ddffb96acf6a274664f12cd310b701281 /gtk2_ardour/region_view.cc | |
parent | 90df6f3fe625a95275a70c0ef0565cf062f8445d (diff) |
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r-- | gtk2_ardour/region_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index d45164ee42..5acafad0c3 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -239,7 +239,7 @@ RegionView::set_silent_frames (const AudioIntervalResult& silences, double /*thr return; } - uint32_t const color = ARDOUR_UI::config()->get_canvasvar_Silence(); + uint32_t const color = ARDOUR_UI::config()->get_Silence(); for (AudioIntervalResult::const_iterator i = silences.begin(); i != silences.end(); ++i) { @@ -280,7 +280,7 @@ RegionView::set_silent_frames (const AudioIntervalResult& silences, double /*thr _silence_text = new ArdourCanvas::Text (group); _silence_text->set_ignore_events (true); _silence_text->set_font_description (get_font_for_style (N_("SilenceText"))); - _silence_text->set_color (ARDOUR_UI::config()->get_canvasvar_SilenceText()); + _silence_text->set_color (ARDOUR_UI::config()->get_SilenceText()); /* both positions are relative to the region start offset in source */ @@ -792,7 +792,7 @@ RegionView::update_coverage_frames (LayerDisplay d) bool me = false; /* the color that will be used to show parts of regions that will not be heard */ - uint32_t const non_playing_color = ARDOUR_UI::config()->get_canvasvar_CoveredRegion (); + uint32_t const non_playing_color = ARDOUR_UI::config()->get_CoveredRegion (); while (t < end) { |