summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-14 12:27:07 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-14 12:27:07 -0500
commit48a7a11974fb378483da9c4cce6e2af4d7060c5d (patch)
tree4c14576cdee385465bfbc798a5da4d94fe079219 /gtk2_ardour/region_view.cc
parent0fa5643d20fd57ce7f878e3c5e51b768ec6b98a3 (diff)
initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r--gtk2_ardour/region_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc
index b562076884..d418833471 100644
--- a/gtk2_ardour/region_view.cc
+++ b/gtk2_ardour/region_view.cc
@@ -235,7 +235,7 @@ RegionView::set_silent_frames (const AudioIntervalResult& silences, double /*thr
return;
}
- uint32_t const color = ARDOUR_UI::config()->get_Silence();
+ uint32_t const color = ARDOUR_UI::config()->color ("Silence");
for (AudioIntervalResult::const_iterator i = silences.begin(); i != silences.end(); ++i) {
@@ -276,7 +276,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_SilenceText());
+ _silence_text->set_color (ARDOUR_UI::config()->color ("SilenceText"));
/* both positions are relative to the region start offset in source */
@@ -783,7 +783,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_CoveredRegion ();
+ uint32_t const non_playing_color = ARDOUR_UI::config()->color ("CoveredRegion");
while (t < end) {