summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.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/tempo_lines.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/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc
index 4c46389b10..5cc6641fbe 100644
--- a/gtk2_ardour/tempo_lines.cc
+++ b/gtk2_ardour/tempo_lines.cc
@@ -83,12 +83,12 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin,
for (i = begin; i != end; ++i) {
if ((*i).is_bar()) {
- color = ARDOUR_UI::config()->get_MeasureLineBar();
+ color = ARDOUR_UI::config()->color ("MeasureLineBar");
} else {
if (beat_density > 0.3) {
continue; /* only draw beat lines if the gaps between beats are large. */
}
- color = ARDOUR_UI::config()->get_MeasureLineBeat();
+ color = ARDOUR_UI::config()->color ("MeasureLineBeat");
}
ArdourCanvas::Coord xpos = PublicEditor::instance().sample_to_pixel_unrounded ((*i).frame);