summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.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/route_time_axis.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/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index ae75087d19..22928f6f5e 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -915,8 +915,8 @@ RouteTimeAxisView::show_timestretch (framepos_t start, framepos_t end, int layer
if (timestretch_rect == 0) {
timestretch_rect = new ArdourCanvas::Rectangle (canvas_display ());
- timestretch_rect->set_fill_color (ARDOUR_UI::config()->get_TimeStretchFill());
- timestretch_rect->set_outline_color (ARDOUR_UI::config()->get_TimeStretchOutline());
+ timestretch_rect->set_fill_color (ARDOUR_UI::config()->color ("TimeStretchFill"));
+ timestretch_rect->set_outline_color (ARDOUR_UI::config()->color ("TimeStretchOutline"));
}
timestretch_rect->show ();
@@ -1813,11 +1813,11 @@ RouteTimeAxisView::color_handler ()
{
//case cTimeStretchOutline:
if (timestretch_rect) {
- timestretch_rect->set_outline_color (ARDOUR_UI::config()->get_TimeStretchOutline());
+ timestretch_rect->set_outline_color (ARDOUR_UI::config()->color ("TimeStretchOutline"));
}
//case cTimeStretchFill:
if (timestretch_rect) {
- timestretch_rect->set_fill_color (ARDOUR_UI::config()->get_TimeStretchFill());
+ timestretch_rect->set_fill_color (ARDOUR_UI::config()->color ("TimeStretchFill"));
}
reset_meter();