diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-16 23:46:22 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-16 23:46:22 -0400 |
commit | 96eee9e7a162e3e26dd9c1ea4d8fc1ad02a3dda9 (patch) | |
tree | 3c0031f7cc5a6c729cd2bba347b37577aec95a16 /gtk2_ardour/region_view.cc | |
parent | eed0201c077d6b290cd7587e752a524803bb2b89 (diff) |
change UIConfig to use accessor/setter methods like RCConfig so that ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
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 2edad1cd16..2d3221da26 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -234,7 +234,7 @@ RegionView::set_silent_frames (const AudioIntervalResult& silences, double /*thr return; } - uint32_t const color = ARDOUR_UI::config()->canvasvar_Silence.get(); + uint32_t const color = ARDOUR_UI::config()->get_canvasvar_Silence(); for (AudioIntervalResult::const_iterator i = silences.begin(); i != silences.end(); ++i) { @@ -275,7 +275,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()->canvasvar_SilenceText.get()); + _silence_text->set_color (ARDOUR_UI::config()->get_canvasvar_SilenceText()); /* both positions are relative to the region start offset in source */ @@ -787,7 +787,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()->canvasvar_CoveredRegion.get (); + uint32_t const non_playing_color = ARDOUR_UI::config()->get_canvasvar_CoveredRegion (); while (t < end) { |